var links = new Array();
links[1] = escape('http://prescriptionpad.in/order.aspx');

var big_images = new Array();
big_images[1] = 'image/snow fl.swf';

var small_images = new Array();
small_images[1] = 'image/snow fl.swf';

var numLinks = 1;
var randomKey = Math.floor(Math.random()*(numLinks + 1));

var adpeelers = new Object();

adpeelers.ad_url = links[randomKey];

adpeelers.small_path = 'image/small.swf'; // Path where you placed the small.swf
adpeelers.small_image = small_images[randomKey];
adpeelers.small_width = '100';
adpeelers.small_height = '100';
adpeelers.small_params = 'ico=' + adpeelers.small_image;

adpeelers.big_path = 'image/big.swf'; // Path where you placed the big.swf
adpeelers.big_image = big_images[randomKey];
adpeelers.big_width = '650';
adpeelers.big_height = '650';
adpeelers.big_params = 'big=' + adpeelers.big_image + '&ad_url=' + adpeelers.ad_url;

function sizeup987(){
	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";
}

adpeelers.putObjects = function () {
// <PagePeelSmall>
document.write('<div id="PagePeelSmall" style="position:absolute;width:'+ adpeelers.small_width +'px;height:'+ adpeelers.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="'+adpeelers.small_width+'" height="'+adpeelers.small_height+'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ adpeelers.small_path +'?'+ adpeelers.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+adpeelers.small_params+'"/>');
// embed
document.write('<embed src="'+ adpeelers.small_path + '?' + adpeelers.small_params +'" name="PagePeelSmallObject" wmode="transparent" quality="high" width="'+ adpeelers.small_width +'" height="'+ adpeelers.small_height +'" flashvars="'+ adpeelers.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:'+ adpeelers.big_width +'px;height:'+ adpeelers.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="'+ adpeelers.big_width +'" height="'+ adpeelers.big_height +'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ adpeelers.big_path +'?'+ adpeelers.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ adpeelers.big_params +'"/>');
// embed
document.write('<embed src="'+ adpeelers.big_path + '?' + adpeelers.big_params +'" id="PagePeelBigEmbed" name="PagePeelBigObject" wmode="transparent" quality="high" width="'+ adpeelers.big_width +'" height="'+ adpeelers.big_height +'" flashvars="'+ adpeelers.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);
}
adpeelers.putObjects();
