var phpadsbanner = '';

phpadsbanner += '<'+'div id="phpads_60b6e3bf" style="position:absolute; width:300px; height:250px; z-index:99; left: 0px; top: 120px; visibility: hidden; overflow: hidden"><'+'object classid=\'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\' codebase=\'http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0\' width=\'300\' height=\'250\'><'+'param name=\'movie\' value=\'http://www.autorally.ro/openads/adimage.php?filename=shell_helix_300x250_v5_car.swf&amp;contenttype=swf&amp;alink1=http://www.autorally.ro/openads/adclick.php%3Fbannerid=144%26zoneid=46%26source=%26dest=http%3A%2F%2Fwww.elgeka-ferfelis.ro%2Fshell%2F&amp;atar1=_blank\'><'+'param name=\'quality\' value=\'high\'><'+'param name=\'allowScriptAccess\' value=\'always\'><'+'embed src=\'http://www.autorally.ro/openads/adimage.php?filename=shell_helix_300x250_v5_car.swf&amp;contenttype=swf&amp;alink1=http://www.autorally.ro/openads/adclick.php%3Fbannerid=144%26zoneid=46%26source=%26dest=http%3A%2F%2Fwww.elgeka-ferfelis.ro%2Fshell%2F&amp;atar1=_blank\' quality=high width=\'300\' height=\'250\' type=\'application/x-shockwave-flash\' pluginspace=\'http://www.adobe.com/go/getflashplayer\' allowScriptAccess=\'always\'><'+'/embed><'+'/object><'+'div id="beacon_144" style="position: absolute; left: 0px; top: 0px; visibility: hidden;"><'+'img src=\'http://www.autorally.ro/openads/adlog.php?bannerid=144&amp;clientid=172&amp;zoneid=46&amp;source=&amp;block=7200&amp;capping=0&amp;cb=4957d5f205e38bf6cb6791dc03b0d73f\' 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_60b6e3bf(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_60b6e3bf(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_60b6e3bf()
{
	var o = phpAds_findObj('phpads_60b6e3bf');

	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 = 300;
	var h = 250;
	
	var mr = ww;
	var ml = 0;
	if (mr > ml)
	{
		var shift = 4;
		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_60b6e3bf(o, 0, w, h, w);
			phpAds_floater_setpos_60b6e3bf(c, is, w);
			c.visibility = 'visible';
		}
		else
		{
			if (ll < mr - shift)
			{
				ll += shift;
				if (ml > ll) cl = ml - ll;
				if (ll > mr - w) cr = mr - ll;
				
				phpAds_floater_setpos_60b6e3bf(c, ll, cr);
				phpAds_floater_setclip_60b6e3bf(o, 0, cr, h, cl);
			}
			else
			{
				c.visibility = 'hidden';
				window.clearInterval(phpAds_adlayers_timerid_60b6e3bf);
	
				if (phpAds_adlayers_counter_60b6e3bf < 1)
					window.setTimeout('phpAds_floater_60b6e3bf()', 0);
			}
		}
	}
}


function phpAds_floater_60b6e3bf()
{
	phpAds_adlayers_timerid_60b6e3bf = window.setInterval('phpAds_floater_grow_60b6e3bf()', 50);
	phpAds_adlayers_counter_60b6e3bf++;
}

var phpAds_adlayers_counter_60b6e3bf = 0;
var phpAds_adlayers_timerid_60b6e3bf = null;

phpAds_floater_60b6e3bf();

