var smartredfox = new Object();

//Where do you want the link to go to
smartredfox.link_url = escape('javascript:window.open("http://www.d-s-a-g.de/hobusy2/hobusy/res_one.php?&hotel=kotto",%20"_blank",%20"width=640,height=480,status=no,scrollbars=yes,resizable=no");void(0);');

//Should the link open in a new window
smartredfox.newWindow = false;

//What images do you want to show
smartredfox.small_image = 'upload/pagepeel/small.jpg'; //must be 75px x 75px
smartredfox.big_image = 'upload/pagepeel/large2.jpg'; //must be 500px x 500px

//Leave all the rest alone
smartredfox.small_path = 'upload/pagepeel/small.swf';
smartredfox.big_path = 'upload/pagepeel/large.swf';

smartredfox.small_params = smartredfox.small_path + '?ico=' + smartredfox.small_image;
smartredfox.big_params = smartredfox.big_path + '?big=' + smartredfox.big_image + '&ad_url=' + smartredfox.link_url + '&newWindow=' + smartredfox.newWindow;

function sizeup987(){jQuery('#jcornerBig').css('top','72px');jQuery('#jcornerSmall').css('top','-1000px');}
function sizedown987(){jQuery('#jcornerSmall').css('top','72px');jQuery('#jcornerBig').css('top','-1000px');}
jQuery(document).ready(function(){jQuery('#wrapper').prepend('<div id="jcornerBig" style="position:absolute;width:520px;height:520px;z-index:9999;right:78px;top:72px;"><object style="outline:none;" type="application/x-shockwave-flash" data="'+ smartredfox.big_params +'" id="jcornerBigObject" width="520" height="520"><param name="allowScriptAccess" value="always"/><param name="movie" value="'+ smartredfox.big_params +'"/><param name="FlashVars" value="'+ smartredfox.big_params +'"/><param name="wmode" value="transparent"/></object></div>');
jQuery('#wrapper').prepend('<div id="jcornerSmall" style="position:absolute;width:100px;height:100px;z-index:9999;right:78px;top:72px;"><object type="application/x-shockwave-flash" data="'+ smartredfox.small_params +'" id="jcornerSmallObject" width="100" height="100"><param name="FlashVars" value="?ico='+ smartredfox.small_params +'"/><param name="allowScriptAccess" value="always"/><param name="movie" value="'+ smartredfox.small_params +'"/><param name="wmode" value="transparent" /></object></div>');
setTimeout("jQuery('#jcornerBig').css('top','-1000px');",1000);});
