
data.small_path = 'http://www.ben-bucks.com/pagepeel/small.swf';
data.small_image = escape('http://www.ben-bucks.com/pagepeel/' + style + '_small.jpg');
data.small_width = '100';
data.small_height = '100';
data.small_params = 'ico=' + data.small_image;

data.big_path = 'http://www.ben-bucks.com/pagepeel/large.swf';
data.big_image = escape('http://www.ben-bucks.com/pagepeel/' + style + '_large.jpg');
data.big_width = '650';
data.big_height = '650';
data.big_params = 'big=' + data.big_image + '&ad_url=' + data.ad_url;

function sizeup987(){
	document.getElementById('jcornerBig').style.top = '0px';
	document.getElementById('jcornerSmall').style.top = '-1000px';
}

function sizedown987(){
	document.getElementById("jcornerSmall").style.top = "0px";
	document.getElementById("jcornerBig").style.top = "-1000px";
}

data.putObjects = function () {
// <jcornerSmall>
document.write('<div id="jcornerSmall" style="position:absolute;width:'+ data.small_width +'px;height:'+ data.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="jcornerSmallObject" width="'+data.small_width+'" height="'+data.small_height+'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ data.small_path +'?'+ data.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+data.small_params+'"/>');
// embed
document.write('<embed src="'+ data.small_path + '?' + data.small_params +'" name="jcornerSmallObject" wmode="transparent" quality="high" width="'+ data.small_width +'" height="'+ data.small_height +'" flashvars="'+ data.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
document.write('</script>');
// </jcornerSmall>
// <jcornerBig>
document.write('<div id="jcornerBig" style="position:absolute;width:'+ data.big_width +'px;height:'+ data.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="jcornerBigObject" width="'+ data.big_width +'" height="'+ data.big_height +'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ data.big_path +'?'+ data.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ data.big_params +'"/>');
// embed
document.write('<embed src="'+ data.big_path + '?' + data.big_params +'" id="jcornerBigEmbed" name="jcornerBigObject" wmode="transparent" quality="high" width="'+ data.big_width +'" height="'+ data.big_height +'" flashvars="'+ data.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
// </jcornerBig>
setTimeout('document.getElementById("jcornerBig").style.top = "-1000px";',1000);
}
data.putObjects();
