var gv_swp;gv_swp=1;var gv_fx;gv_fx=1;function load_image(a,b){var c=new Image();c.src=a[b];if(b>(a.length-2)){return false}c.onLoad=load_image(a,b+1)}var ga_images=[];ga_images[0]="img/768/vmr.jpg";ga_images[1]="img/768/vml.jpg";load_image(ga_images,0);function on_air(){document.body.onclick="";$("#clo").animate({width:"0"},3000,function(){document.getElementById("clo").style.display="none"});$("#cro").animate({width:"0",left:"100%"},3000,function(){document.getElementById("cro").style.display="none"});$("#wlt").animate({top:"-100%"},3000,function(){document.getElementById("wlt").style.display="none"})}function init(){document.getElementById("cro").style.display="block";document.getElementById("clo").style.display="block";document.getElementById("wlt").style.display="block";var a;if(parent.document.body.clientWidth){a=parent.document.body.clientWidth/2}else{a=innerWidth/2}document.getElementById("cro").style.left=a;document.getElementById("cro").style.width=a;document.getElementById("clo").style.width=a;document.body.onclick=on_air;$("#spl").fadeOut(500)}function set_fx(a){if(gv_fx===1){gv_fx=0;a.innerHTML="Effekte<br />einschalten"}else{gv_fx=1;a.innerHTML="Effekte<br />ausschalten"}}function load_page(a){if(gv_fx===0){document.getElementById("f"+gv_swp).src=a.href;return false}if(gv_swp===1){gv_swp=2;document.getElementById("f2").src=a.href;$("#if1").animate({top:"-100%"},3000);$("#if2").animate({top:"0"},3000)}else{gv_swp=1;document.getElementById("f1").src=a.href;$("#if1").animate({top:"0"},3000);$("#if2").animate({top:"-100%"},3000)}return false};
