var Peel=
{	smallWidth:100,
	smallHeight:100,
	largeWidth:650,
	largeHeight:650,
	disabledTo:0,
	timer:null,
	write:function(urlBase,urlTarget,urlImgSmall,urlImgLarge)
	{	urlTarget=this.encodeURI(urlTarget);
		urlImgSmall=this.encodeURI(urlImgSmall);
		urlImgLarge=this.encodeURI(urlImgLarge);
		document.writeln('<style type="text/css">');
		document.writeln('#peelDivSmall{position:absolute;right:0px;top:0px;width:'+this.smallWidth+'px;height:'+this.smallHeight+'px;z-index:1}');
		document.writeln('#peelDivLarge{position:absolute;right:0px;top:-'+this.largeHeight+'px;width:'+this.largeWidth+'px;height:'+this.largeHeight+'px;z-index:2}');
		document.writeln('</style>');
	
		document.writeln('<div id="peelDivSmall">');
		document.writeln('<object id="peelSwfSmall" width="'+this.smallWidth+'" height="'+this.smallHeight+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">');
		document.writeln('<param name="movie" value="'+urlBase+'small.swf?ico='+urlImgSmall+'" />');
		document.writeln('<param name="flashars" value="ico='+urlImgSmall+'" />');
		document.writeln('<param name="quality" value="high" />');
		document.writeln('<param name="wmode" value="transparent" />');
		document.writeln('<embed src="'+urlBase+'small.swf?ico='+urlImgSmall+'" width="'+this.smallWidth+'" height="'+this.smallHeight+'" quality="high" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
		document.writeln('</object>');
		document.writeln('</div>');
		
		document.writeln('<div id="peelDivLarge">');
		document.writeln('<object id="peelSwfLarge" width="'+this.largeWidth+'" height="'+this.largeHeight+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">');
		document.writeln('<param name="movie" value="'+urlBase+'large.swf?big='+urlImgLarge+'&amp;ad_url='+urlTarget+'" />');
		document.writeln('<param name="flashvars" value="big='+urlImgLarge+'&amp;ad_url='+urlTarget+'" />');
		document.writeln('<param name="quality" value="high" />');
		document.writeln('<param name="wmode" value="transparent" />');
		document.writeln('<embed src="'+urlBase+'large.swf?big='+urlImgLarge+'&amp;ad_url='+urlTarget+'" width="'+this.largeWidth+'" height="'+this.largeHeight+'" quality="high" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
		document.writeln('</object>');
		document.writeln('</div>');
		
		document.writeln('<scr'+'ipt type="text/javascript">');
		document.writeln('/*<![CDATA[*/');
		document.writeln('document.getElementById("peelSwfSmall").onmouseover=function(){Peel.show("large")};');
		document.writeln('document.getElementById("peelSwfLarge").onmouseout=function(){Peel.show("small")};');
		document.writeln('/*]]>*/');
		document.writeln('</scr'+'ipt>');
	},
	show:function(layer)
	{	if(this.timer)
		{	window.clearTimeout(this.timer);
			this.timer=null;
		}
		if(layer=='large')this.changeTo(layer);
		else this.timer=window.setTimeout('Peel.changeTo("small")',1000);
	},
	changeTo:function(layer)
	{	layer=(layer=="small")?Array("peelDivLarge","peelDivSmall"):Array("peelDivSmall","peelDivLarge");
		document.getElementById(layer[0]).style.top="-"+this.largeHeight+"px";
		document.getElementById(layer[1]).style.top="0px";
  	},
  	encodeURI:function(uri)
  	{	return encodeURI(uri).replace("+","%2B");}
};