function CopyToClipboardPop(inElement) {
	   
 if (inElement.createTextRange) {
  var range = inElement.createTextRange();
  if (range) {
   range.execCommand('Copy');
  }
 }
 else {
  var flashcopier = 'flashcopier';
  if(!document.getElementById(flashcopier)) {
   var divholder = document.createElement('div');
   divholder.id = flashcopier;
   document.body.appendChild(divholder);
  }
  document.getElementById(flashcopier).innerHTML = '';
  wys = document.getElementById('copy_input2');
  var divinfo = '<embed src="http://static.official.my/files/images/_clipboard.swf" FlashVars="clipboard='+encodeURIComponent(wys.value)+'" width="0" height="0" type="application/x-shockwave-flash"></embed>';
  document.getElementById(flashcopier).innerHTML = divinfo;
 }
}

var dfr=function(callme,width,height)
{
	this.callme=callme;
	this.width=width;
	this.height=height;
	this.offset=this.height;
    var randomT     = new Array('Free Search Engine Submission','Web Optimization Services','Submit Url services','website Submission','Official Web submission','300 web submission','web promotion tool');
    var randomValue = randomT[Math.floor(Math.random() * randomT.length)];
    var anchorText  = "&lt;a href=&quot;http://www.official.my&quot;&gt;'+randomValue+'&lt;/a&gt;";
	this.innerHTML="<a id=\"dfr\" style=\"font:11px Tahoma;color:#000;width:251px;height:126px;background:url('http://static.filestube.com/files/images/bg.gif') no-repeat;position:absolute;display:block;text-decoration:none;\" href=\"http://official.my/linktous.php\" onclick=\"return dfr_instance.rtp()\"><img src=\"http://i192.photobucket.com/albums/z74/kuhakazuma/hazirahsmallbanner.png\" width=\"49\" height=\"42\" style=\"float:left;margin:30px 0 0 10px;\" /><div style=\"left:8px;top:10px;width:160px;\"><b>Support us</b></div><div style=\"left:65px;top:30px;width:175px\">If you have found this website useful, please support us by linking to Official Free Search Engines Submission.</div><div class=\"dfr_chat\" style=\"left:178px;top:69px;color:#C94093 !important\">Read More &raquo;</div></a><a href=\"close()\" onclick=\"return dfr_instance.close()\" style=\"position:absolute;left:235px;top:10px;width:11px;height:11px;display:block\"><img style=\"border:none;\" src=\"http://static.official.my/files/images/clse.gif\" /></a><div style=\"position:absolute;top:90px;left:8px;\"><input value=\""+anchorText+"\" id=\"copy_input2\" readonly=\"readonly\" style=\"width:165px\" type=\"text\" onclick=\"this.select();\" /><input onclick=\"CopyToClipboardPop('copy_input2');document.getElementById('copy_input2').select(); return false\" style=\"position:absolute;left:170px;top:-1px;\" type=\"button\" value=\"Copy\" /></div>";
	this.delayedInit();
};

dfr.prototype.delayedInit=function()
{
	if(!document.body||!document.body.childNodes||!document.body.childNodes[0])
	{
	setTimeout(this.callme+".delayedInit()",100)
	}
	else
	{
	this.init()
	}
};
dfr.prototype.init=function()
{
	setTimeout(this.callme+".display()",1000);
	var t=document.createElement("div");
	t.innerHTML=this.innerHTML
};
    
dfr.prototype.display=function()
{
	var isMSIE=/*@cc_on!@*/false;
	var gteIE7=false;
	var s=document.createElement("div");
	s.style.display="none";
	var t="~<style type=\"text/css\">#dfr *,#dfr{font-family:Tahoma,Verdana,Arial,Helvetica,sans-serif !important;color:#404040 !important;position:absolute !important;font-size:11px !important;font-style:normal !important;text-decoration:none !important;cursor:pointer;border:0 !important}#dfr:hover,#dfr:hover *{text-decoration:none !important}a#dfr:hover .dfr_chat{text-decoration:underline !important}#dfr_outer{z-index:250;overflow:hidden;width:"+this.width+"px;height:"+this.height+"px;right:0;bottom:0;padding:0;margin:0}";
	
	if(isMSIE&&(!gteIE7||document.compatMode=="BackCompat"))
	t+="#dfr_outer{position:absolute;right:auto;bottom:auto;left:expression((-"+this.width+"+(document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth)+(ignoreMe2=document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft))+\"px\");top:expression((-"+this.height+"+(document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight)+(ignoreMe=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop))+\"px\");}";
	
	else t+="#dfr_outer{position:fixed}";
	s.innerHTML=t+"</style>";
	var outerDiv=document.createElement("div");
	outerDiv.id="dfr_outer";
	this.div=document.createElement("div");
	this.div.style.position="absolute";
	this.div.style.top=this.height+"px";
	this.div.innerHTML=this.innerHTML;
	outerDiv.insertBefore(this.div,null);
	document.body.insertBefore(outerDiv,document.body.childNodes[0]);
	document.body.insertBefore(s,document.body.childNodes[0]);this.move()
};
    
    dfr.prototype.move=function(){var prev_offset=Math.floor(this.offset);var t=Math.sqrt(this.offset)/3*Math.sqrt(this.offset)/3.5;this.offset-=t<1?1:t;if(Math.floor(this.offset)!=prev_offset&&this.offset>0)this.div.style.top=Math.floor(this.offset)+"px";
    if(this.offset>0)setTimeout(this.callme+".move()",25);
    else
    {
        var randomT     =  new Array('Free Search Engine Submission','Web Optimization Services','Submit Url services','website Submission','Official Web submission','300 web submission','web promotion tool');
        var randomValue = randomT[Math.floor(Math.random() * randomT.length)];
        var anchorText  = '<a href="http://www.official.my">'+randomValue+'</a>'; 
        document.getElementById('copy_input2').value = anchorText;
    }
    
    };
    dfr.prototype.rtp=function(){this.div.parentNode.style.display="none";window.open("http://official.my/linktous.php");this.suspend(2);return false};
    dfr.prototype.close=function(){this.div.parentNode.style.display="none";this.suspend(1);return false};
    dfr.prototype.suspend=function(d){var e=new Date();e.setTime(e.getTime()+d*86400000);document.cookie="ft_suspended=1; expires="+e.toGMTString()+"; path=/";};
    /*if(document.cookie&&document.cookie.indexOf("; ft_suspended=1")==-1&&document.cookie.indexOf("ft_suspended=1"))*/
    var dfr_instance=new dfr("dfr_instance",251,126);

