//http://www.smartredfox.com/2010/10/free-jquery-page-peel-updated/

var pagepeel = new Object();

//Where do you want the link to go to
pagepeel.link_url = escape('http://www.zahnzusatzversicherung-infoportal.de/');

//Should the link open in a new window
pagepeel.newWindow = true;

//What images do you want to show
pagepeel.small_image = '/js/PagePeel/small.png'; //must be 75px x 75px
pagepeel.big_image = '/js/PagePeel/large.png'; //must be 500px x 500px

//Leave all the rest alone
pagepeel.small_path = '/js/PagePeel/small.swf';
pagepeel.big_path = '/js/PagePeel/large.swf';

pagepeel.small_params = pagepeel.small_path + '?ico=' + pagepeel.small_image;
pagepeel.big_params = pagepeel.big_path + '?big=' + pagepeel.big_image + '&ad_url=' + pagepeel.link_url + '&newWindow=' + pagepeel.newWindow;

function sizeup987(){jQuery('#jcornerBig').css('top','0px');jQuery('#jcornerSmall').css('top','-1000px');}
function sizedown987(){jQuery('#jcornerSmall').css('top','0px');jQuery('#jcornerBig').css('top','-1000px');}
jQuery(document).ready(function(){jQuery('body').prepend('<div id="jcornerBig" style="position:absolute;width:650px;height:650px;z-index:9999;right:0px;top:0px;"><object style="outline:none;" type="application/x-shockwave-flash" data="'+ pagepeel.big_params +'" id="jcornerBigObject" width="650" height="650"><param name="allowScriptAccess" value="always"/><param name="movie" value="'+ pagepeel.big_params +'"/><param name="FlashVars" value="'+ pagepeel.big_params +'"/><param name="wmode" value="transparent"/></object></div>');
jQuery('body').prepend('<div id="jcornerSmall" style="position:absolute;width:100px;height:100px;z-index:9999;right:0px;top:0px;"><object type="application/x-shockwave-flash" data="'+ pagepeel.small_params +'" id="jcornerSmallObject" width="100" height="100"><param name="FlashVars" value="?ico='+ pagepeel.small_params +'"/><param name="allowScriptAccess" value="always"/><param name="movie" value="'+ pagepeel.small_params +'"/><param name="wmode" value="transparent" /></object></div>');
setTimeout("jQuery('#jcornerBig').css('top','-1000px');",1000);});
