
var ppimg = new Image();
ppimg.src = 'http://www.ttline.com/wp-content/plugins/page-peel/small.jpg';

var ppo = new Object();
ppo.ad_url = escape('http://www.ttline.com/sv/TT-Line-50-years/');
ppo.small_path = 'http://www.enbattrevag.se/logg-tool/wp-content/plugins/page-peel/pp_sm.swf';
ppo.small_image = escape('http://www.ttline.com/wp-content/plugins/page-peel/small.jpg');
ppo.big_path = 'http://www.enbattrevag.se/logg-tool/wp-content/plugins/page-peel/pp_big.swf';
ppo.big_image = escape('http://www.ttline.com/wp-content/plugins/page-peel/big-se.jpg');

ppo.small_width = '100';
ppo.small_height = '100';
ppo.small_params = 'ico=' + ppo.small_image;
ppo.big_width = '500';
ppo.big_height = '500';
ppo.big_params = 'big=' + ppo.big_image + '&ad_url=' + ppo.ad_url;
function sizeup987() {
document.getElementById('ppocornerBig').style.top = '0px';
document.getElementById('ppocornerSmall').style.top = '-1000px';
}
function sizedown987() {
document.getElementById("ppocornerSmall").style.top = "0px";
document.getElementById("ppocornerBig").style.top = "-1000px";
}
ppo.putObjects = function () {
document.write('<div id="ppocornerSmall" style="position:absolute;width:' + ppo.small_width + 'px;height:' + ppo.small_height + 'px;z-index:9999999;right:0px;top:0px;">');
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="ppocornerSmallObject" width="' + ppo.small_width + '" height="' + ppo.small_height + '">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="' + ppo.small_path + '?' + ppo.small_params + '"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="' + ppo.small_params + '"/>');
document.write('<embed src="' + ppo.small_path + '?' + ppo.small_params + '" name="ppocornerSmallObject" wmode="transparent" quality="high" width="' + ppo.small_width + '" height="' + ppo.small_height + '" flashvars="' + ppo.small_params + '" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
document.write('<div id="ppocornerBig" style="position:absolute;width:' + ppo.big_width + 'px;height:' + ppo.big_height + 'px;z-index:9999999;right:0px;top:0px;">');
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="ppocornerBigObject" width="' + ppo.big_width + '" height="' + ppo.big_height + '">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="' + ppo.big_path + '?' + ppo.big_params + '"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="' + ppo.big_params + '"/>');
document.write('<embed src="' + ppo.big_path + '?' + ppo.big_params + '" id="ppocornerBigEmbed" name="ppocornerBigObject" wmode="transparent" quality="high" width="' + ppo.big_width + '" height="' + ppo.big_height + '" flashvars="' + ppo.big_params + '" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
setTimeout('document.getElementById("ppocornerBig").style.top = "-1000px";', 1000);
}
ppo.putObjects();
