var peel = new Object();

peel.ad_url = escape('http://asylum-et.com/ads/info/');

peel.small_path = 'http://asylum-et.com/ads/peel/swf/small.swf'; // Path where you placed the small.swf
peel.small_image = escape('http://asylum-et.com/ads/peel/images/small-public2.png');
peel.small_width = '100';
peel.small_height = '100';
peel.small_params = 'ico=' + peel.small_image;

peel.big_path = 'http://asylum-et.com/ads/peel/swf/big.swf'; // Path where you placed the big.swf
peel.big_image = escape('http://asylum-et.com/ads/peel/images/big-public2.png');
peel.big_width = '650';
peel.big_height = '650';
peel.big_params = 'big=' + peel.big_image + '&ad_url=' + peel.ad_url + '&winloc=_self';

function sizeup987(){//called frm flash
	document.getElementById('PagePeelBig').style.top = '0px';
	document.getElementById('PagePeelSmall').style.top = '-1000px';
}

function sizedown987(){
	document.getElementById("PagePeelSmall").style.top = "0px";
	document.getElementById("PagePeelBig").style.top = "-1000px";
}

peel.putObjects = function () {
// <PagePeelSmall>
document.write('<div id="PagePeelSmall" style="position:absolute;width:'+ peel.small_width +'px;height:'+ peel.small_height +'px;z-index:9999;right:0px;top:0px;">');
// object
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="PagePeelSmallObject" width="'+peel.small_width+'" height="'+peel.small_height+'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ peel.small_path +'?'+ peel.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+peel.small_params+'"/>');
// embed
document.write('<embed src="'+ peel.small_path + '?' + peel.small_params +'" name="PagePeelSmallObject" wmode="transparent" quality="high" width="'+ peel.small_width +'" height="'+ peel.small_height +'" flashvars="'+ peel.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
document.write('</script>');
// </PagePeelSmall>
// <PagePeelBig>
document.write('<div id="PagePeelBig" style="position:absolute;width:'+ peel.big_width +'px;height:'+ peel.big_height +'px;z-index:9999;right:0px;top:0px;">');
// object
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="PagePeelBigObject" width="'+ peel.big_width +'" height="'+ peel.big_height +'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ peel.big_path +'?'+ peel.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ peel.big_params +'"/>');
// embed
document.write('<embed src="'+ peel.big_path + '?' + peel.big_params +'" id="PagePeelBigEmbed" name="PagePeelBigObject" wmode="transparent" quality="high" width="'+ peel.big_width +'" height="'+ peel.big_height +'" flashvars="'+ peel.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
// </PagePeelBig>
setTimeout('document.getElementById("PagePeelBig").style.top = "-1000px";',1000);
}
peel.putObjects();
