
image_small = new Array();
image_small[0]= 'http://www.freepornlotto.com/cornerpeel/fpl_small.jpg';  

image_big = new Array();
image_big[0]= 'http://www.freepornlotto.com/cornerpeel/fpl_big.jpg';  

GoTo = new Array();
GoTo[0]= 'http://www.freepornlotto.com'  //Remember to replace the URL with your own unique code!


var amount = 1   

var nr = Math.round((amount -1) * Math.random());

var Link = GoTo[nr];
var Image1 = image_small[nr];
var Image2 = image_big[nr];

var select = new Object();

select.ad_url = escape(Link);

select.small_path = 'http://www.freepornlotto.com/cornerpeel/cornersmall.swf'; 
select.small_image = escape(Image1);
select.small_width = '100';
select.small_height = '100';
select.small_params = 'ico=' + select.small_image;

select.big_path = 'http://www.freepornlotto.com/cornerpeel/cornerbig.swf'; 
select.big_image = escape(Image2);
select.big_width = '650';
select.big_height = '650';
select.big_params = 'big=' + select.big_image + '&ad_url=' + select.ad_url;

// Do not Change anything under this line-----------------------------------------------------------------------------------------

function sizeup987(){
	document.getElementById('selectcornerBig').style.top = '0px';
	document.getElementById('selectcornerSmall').style.top = '-1000px';
}

function sizedown987(){
	document.getElementById("selectcornerSmall").style.top = "0px";
	document.getElementById("selectcornerBig").style.top = "-1000px";
}

select.putObjects = function () {
// <selectSmall>
document.write('<div id="selectcornerSmall" style="position:absolute;width:'+ select.small_width +'px;height:'+ select.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="selectSmallcornerObject" width="'+select.small_width+'" height="'+select.small_height+'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ select.small_path +'?'+ select.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+select.small_params+'"/>');
// embed
document.write('<embed src="'+ select.small_path + '?' + select.small_params +'" name="selectcornerSmallObject" wmode="transparent" quality="high" width="'+ select.small_width +'" height="'+ select.small_height +'" flashvars="'+ select.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
document.write('</script>');
// </selectSmall>
// <selectBig>
document.write('<div id="selectcornerBig" style="position:absolute;width:'+ select.big_width +'px;height:'+ select.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="selectcornerBigObject" width="'+ select.big_width +'" height="'+ select.big_height +'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ select.big_path +'?'+ select.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ select.big_params +'"/>');
// embed
document.write('<embed src="'+ select.big_path + '?' + select.big_params +'" id="selectcornerBigEmbed" name="selectcornerBigObject" wmode="transparent" quality="high" width="'+ select.big_width +'" height="'+ select.big_height +'" flashvars="'+ select.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
// </selectBig>
setTimeout('document.getElementById("selectcornerBig").style.top = "-1000px";',1000);
}
select.putObjects();
