var phpadsbanner = '';

phpadsbanner += '\n<'+'div id="phpads_cce613ca4" style="position:absolute; width:91px; height:107px; z-index:98; left: 0px; top: 0px; visibility: hidden"> \n\t<'+'table width="100%" border="1" cellspacing="0" cellpadding="0" style="border-style: ridge; border-color: #ffffff">\n\t\t<'+'tr>\n\t\t\t<'+'td bordercolor="#DDDDDD" bgcolor="#000099" align="right" style="padding: 3px 3px 2px"><'+'img src="http://ads.tulips.com.hk/libraries/layerstyles/geocities/images/expand.gif" width="12" height="12" hspace="3" onClick="phpAds_geopop(\'expand\', \'ce613ca4\')"><'+'img src="http://ads.tulips.com.hk/libraries/layerstyles/geocities/images/close.gif" width="12" height="12" onClick="phpAds_geopop(\'close\', \'ce613ca4\')"><'+'/td>\n\t\t<'+'/tr>\n\t\t<'+'tr>\n\t\t\t<'+'td bgcolor="#FFFFCC" align="center" style="font-family: Arial, helvetica, sans-serif; font-size: 11px; padding: 2px"><'+'a href="http://www.tulips.com.hk" target="_blank"style="color: #0000ff">Ad here<'+'/a><'+'/td>\n\t\t<'+'/tr>\n\t<'+'/table>\n<'+'/div>\n<'+'div id="phpads_oce613ca4" style="position:absolute; width:91px; height:107px; z-index:99; left: 0px; top: 0px; visibility: hidden"> \n\t<'+'table width="100%" border="1" cellspacing="0" cellpadding="0" style="border-style: outset; border-color: #ffffff">\n\t\t<'+'tr> \n\t\t\t<'+'td bordercolor="#DDDDDD" bgcolor="#000099" align="right" style="padding: 3px 3px 2px"><'+'img src="http://ads.tulips.com.hk/libraries/layerstyles/geocities/images/expand-d.gif" width="12" height="12" hspace="3"><'+'img src="http://ads.tulips.com.hk/libraries/layerstyles/geocities/images/collapse.gif" width="12" height="12" onClick="phpAds_geopop(\'collapse\', \'ce613ca4\')"><'+'/td>\n\t\t<'+'/tr>\n\t\t<'+'tr> \n\t\t\t<'+'td>\n\t\t\t\t<'+'table width="100%" border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<'+'tr> \n\t\t\t\t\t\t<'+'td align="center">\n\t\t\t\t\t\t\t<'+'table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">\n\t\t\t\t\t\t\t\t<'+'tr>\n\t\t\t\t\t\t\t\t\t<'+'td width="83" height="73" align="center" valign="middle" style="padding: 2px"><'+'a href=\'http://ads.tulips.com.hk/adclick.php?bannerid=12&amp;zoneid=0&amp;source=&amp;dest=http%3A%2F%2Fwww.tulips.com.hk\' target=\'_blank\' onMouseOver="self.status=\'Ad here\'; return true;" onMouseOut="self.status=\'\';return true;"><'+'img src=\'http://ads.tulips.com.hk/adimage.php?filename=cd2.gif&amp;contenttype=gif\' width=\'83\' height=\'73\' alt=\'Ad here\' title=\'Ad here\' border=\'0\'><'+'/a><'+'div id="beacon_12" style="position: absolute; left: 0px; top: 0px; visibility: hidden;"><'+'img src=\'http://ads.tulips.com.hk/adlog.php?bannerid=12&amp;clientid=2&amp;zoneid=0&amp;source=&amp;block=0&amp;capping=0&amp;cb=2a3603e392496d67e8b0866c4a3ca0f4\' width=\'0\' height=\'0\' alt=\'\' style=\'width: 0px; height: 0px;\'><'+'/div><'+'/td>\n\t\t\t\t\t\t\t\t<'+'/tr>\n\t\t\t\t\t\t\t<'+'/table>\n\t\t\t\t\t\t<'+'/td>\n\t\t\t\t\t<'+'/tr>\n\t\t\t\t\t<'+'tr> \n\t\t\t\t\t\t<'+'td align="center" bgcolor="#FFFFFF" style="font-family: Arial, helvetica, sans-serif; font-size: 9px; padding: 1px"><'+'a href="javascript:;" onClick="phpAds_geopop(\'collapse\', \'ce613ca4\')" style="color:#0000ff">[Close]<'+'/a><'+'/td>\n\t\t\t\t\t<'+'/tr>\n\t\t\t\t<'+'/table>\n\t\t\t<'+'/td>\n\t\t<'+'/tr>\n\t<'+'/table>\n<'+'/div>\n';

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_adlayers_place_ce613ca4()
{
	var c = phpAds_findObj('phpads_cce613ca4');
	var o = phpAds_findObj('phpads_oce613ca4');

	if (!c || !o)
		return false;

	c = c.style;
	o = o.style;

	if (document.all && !window.innerWidth) { 
		c.pixelLeft = document.body.clientWidth - 91;
		o.pixelLeft = document.body.clientWidth - 91;
		c.pixelTop = 0 + document.body.scrollTop;
		o.pixelTop = 0 + document.body.scrollTop;
	} else {
		c.left = window.innerWidth + window.pageXOffset - 91 - 16;
		o.left = window.innerWidth + window.pageXOffset - 91 - 16;
		c.top = 0 + window.pageYOffset;
		o.top = 0 + window.pageYOffset;
	}
}

function phpAds_geopop(what, ad)
{
	var c = phpAds_findObj('phpads_c' + ad);
	var o = phpAds_findObj('phpads_o' + ad);

	if (!c || !o)
		return false;

	c = c.style;
	o = o.style;

	switch(what)
	{
		case 'collapse':
			c.visibility = 'visible'; 
			o.visibility = 'hidden';

			if (phpAds_timerid[ad])
			{
				window.clearTimeout(phpAds_timerid[ad]);
				phpAds_timerid[ad] = false;
			}

			break;

		case 'expand':
			o.visibility = 'visible';
			c.visibility = 'hidden'; 

		break;

		case 'close':
			c.visibility = 'hidden'; 
			o.visibility = 'hidden';

		break;

		case 'open':
		
			phpAds_adlayers_place_ce613ca4();

			c.visibility = 'hidden';
			o.visibility = 'visible';

			break;
	}

	return false;
}


if (typeof phpAds_timerid == 'undefined')
	phpAds_timerid = new Array();

phpAds_timerid['ce613ca4'] = phpAds_geopop('open', 'ce613ca4');

