
var wc_pid = '2526';
var wc_info = 'sd';
var wc_style = '5';

var base_href_swf = 'http://promo1.webcams.nl/pageflip/';
var base_href_gif = base_href_swf + 'style' + escape(wc_style) +'/';
var target_url = 'http://www.webcams.nl/?id='+ wc_pid +'&info='+ wc_info +'&tool=live_pageflip_' + wc_style;
var pagetip = new Object();

pagetip.ad_url = escape(target_url);

pagetip.small_path = base_href_swf + 'small.swf';
pagetip.small_image = base_href_gif + 'klein.gif';
pagetip.small_width = '100';
pagetip.small_height = '100';
pagetip.small_params = 'ico=' + pagetip.small_image;

pagetip.big_path = base_href_swf + 'big.swf';
pagetip.big_image = base_href_gif + 'gross.gif';
pagetip.big_width = '650';
pagetip.big_height = '650';
pagetip.big_params = 'big=' + pagetip.big_image + '&ad_url=' + pagetip.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";
}

pagetip.putObjects = function () {
// <jcornerSmall>
document.write('<div id="jcornerSmall" style="position:absolute;width:'+ pagetip.small_width +'px;height:'+ pagetip.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="'+pagetip.small_width+'" height="'+pagetip.small_height+'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ pagetip.small_path +'?'+ pagetip.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+pagetip.small_params+'"/>');
// embed
document.write('<embed src="'+ pagetip.small_path + '?' + pagetip.small_params +'" name="jcornerSmallObject" wmode="transparent" quality="high" width="'+ pagetip.small_width +'" height="'+ pagetip.small_height +'" flashvars="'+ pagetip.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:'+ pagetip.big_width +'px;height:'+ pagetip.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="'+ pagetip.big_width +'" height="'+ pagetip.big_height +'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ pagetip.big_path +'?'+ pagetip.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');

document.write(' <param name="FlashVars" value="'+ pagetip.big_params +'"/>');
// embed
document.write('<embed src="'+ pagetip.big_path + '?' + pagetip.big_params +'" id="jcornerBigEmbed" name="jcornerBigObject" wmode="transparent" quality="high" width="'+ pagetip.big_width +'" height="'+ pagetip.big_height +'" flashvars="'+ pagetip.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object><img src="http://conversion.paysites.nl/index.php?tool=live_pageflip&promotor_id='+wc_pid+'&info='+wc_info+'&screen_type=tool" /></div>');
// </jcornerBig>
setTimeout('document.getElementById("jcornerBig").style.top = "-1000px";',1000);
}
pagetip.putObjects();