var phpadsbanner = '';

phpadsbanner += '<'+'div id="phpads_b18dd2a4" style="position:absolute; width:280px; height:175px; z-index:99; left: 0px; top: 650px; visibility: hidden; overflow: hidden"><'+'a href=\'http://www.yourpattaya.com/ads/adclick.php?bannerid=382&amp;zoneid=230&amp;source=VigRx280x175-floater-power&amp;dest=http%3A%2F%2Fwww.pattaya-bar-girls.com%2Farep%2F\' target=\'_blank\' onMouseOver="self.status=\'sexholiday\'; return true;" onMouseOut="self.status=\'\';return true;"><'+'img src=\'http://www.yourpattaya.com/ads/adimage.php?filename=banner-pbgr-nnp-280x175.jpg&amp;contenttype=jpeg\' width=\'280\' height=\'175\' alt=\'Amazing sex holiday for peanuts\' title=\'Amazing sex holiday for peanuts\' border=\'0\'><'+'/a><'+'div id="beacon_382" style="position: absolute; left: 0px; top: 0px; visibility: hidden;"><'+'img src=\'http://www.yourpattaya.com/ads/adlog.php?bannerid=382&amp;clientid=122&amp;zoneid=230&amp;source=VigRx280x175-floater-power&amp;block=0&amp;capping=0&amp;cb=6ec98d436367a3ae1e64b3a5e54a8a03\' width=\'0\' height=\'0\' alt=\'\' style=\'width: 0px; height: 0px;\'><'+'/div><'+'/td><'+'/tr><'+'/table><'+'/div>';

document.write(phpadsbanner);

function phpAds_findObj(n, d) { 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
  d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i>d.layers.length;i++) x=phpAds_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}



function phpAds_floater_setclip_b18dd2a4(o, top, right, bottom, left) 
{
	if (o.style)
	{
		o.style.clip = "rect(" + top + " " + right + " " + bottom + " " + left + ")";
	}
	else 
	{
		o.clip.top = top; o.clip.right = right; o.clip.bottom = bottom; o.clip.left = left;
	}
}

function phpAds_floater_setpos_b18dd2a4(c, left, width)
{
	if (document.all && !window.innerWidth)	
	{
		c.pixelLeft = left; c.pixelWidth = width;
	}
	else
	{
		c.left = left; c.width = width;
	}
}

function phpAds_floater_grow_b18dd2a4()
{
	var o = phpAds_findObj('phpads_b18dd2a4');

	if (!o)
		return false;
	
	if (o.style)
		c = o.style;
	else
		c = o;

	if (window.innerWidth)
		ww = window.innerWidth - 16;
	else
		ww = document.body.clientWidth;

	var w = 280;
	var h = 175;
	
	var mr = ww;
	var ml = 0;
	if (mr > ml)
	{
		var shift = 1;
		var iw = mr - ml + w; var is = ml - w;
		var cr = w; var cl = 0;
		
		if (document.all && !window.innerWidth)
			ll = c.pixelLeft;
		else
			ll = parseInt(c.left);
		
		if (c.visibility == 'hidden' || c.visibility == 'hide')
		{
			phpAds_floater_setclip_b18dd2a4(o, 0, 1, h, 0);
			phpAds_floater_setpos_b18dd2a4(c, mr - 1, 1);
			c.visibility = 'visible';
		}
		else
		{
			if (ll > is + shift)
			{
				ll -= shift;
				if (ml > ll) cl = ml - ll;
				if (ll > mr - w) cr = mr - ll;
				
				phpAds_floater_setclip_b18dd2a4(o, 0, cr, h, cl);
				phpAds_floater_setpos_b18dd2a4(c, ll, cr);
			}
			else
			{
				c.visibility = 'hidden';
				phpAds_floater_setclip_b18dd2a4(o, 0, w, h, 0);
				window.clearInterval(phpAds_adlayers_timerid_b18dd2a4);
	
				if (true)
					window.setTimeout('phpAds_floater_b18dd2a4()', 1000);
			}
		}
	}
}


function phpAds_floater_b18dd2a4()
{
	phpAds_adlayers_timerid_b18dd2a4 = window.setInterval('phpAds_floater_grow_b18dd2a4()', 50);
	phpAds_adlayers_counter_b18dd2a4++;
}

var phpAds_adlayers_counter_b18dd2a4 = 0;
var phpAds_adlayers_timerid_b18dd2a4 = null;

phpAds_floater_b18dd2a4();

