'; } _newLayer.innerHTML='
'+_innerHTML+'
'; } var adl_Background_Url=""+omsv_sky_AdvertiserURL; function adl_catchIt(e){ if(!document.getElementById||!document.createElement){return} if(!e){var adl_obj=window.event.srcElement}else{var adl_obj=e.target} while(adl_obj.nodeType!=1){adl_obj=adl_obj.parentNode} if((adl_obj.tagName=='BODY')||(adl_obj.tagName=='HTML')){ window.open(adl_Background_Url) } } function omsv_sky_Start(){ if(omsv_centered != true){ if(typeof(adlWallPaperTop)=='undefined'){adlWallPaperTop=0} if(typeof(adlWallPaperLeft)=='undefined'){adlWallPaperLeft=780} if(typeof(adlAutoScrolling)=='undefined'){ adlAutoScrolling =true} var omsv_sky_isAutoScrolling=true; var omsv_sky_PreloadTimer; var omsv_sky_KeepPositionTimer; omsv_sky_BodyBgRepeat='repeat-y'; } else{ if((omsv_sb_AllowFlash)&&(omsv_sb_FlashFile!='')){ oEl=document.getElementById('omsv_sb_flash_object'); opos=f4d_getCoordinate(oEl); temp_pos=opos.x0; adlWallPaperLeft=parseInt(temp_pos)+parseInt(omsv_sb_FlashWidth); omsv_sky_BodyBgRepeat='repeat'; } else{ //alert('Hallo'); oEl=document.getElementById('omsv_sb_fallback'); opos=f4d_getCoordinate(oEl); temp_pos=opos.x0; adlWallPaperLeft=parseInt(temp_pos)+parseInt(omsv_sb_ImageWidth); omsv_sky_BodyBgRepeat='repeat'; } } var omsv_sky_BodyBgPosition=adlWallPaperLeft; omsv_sky_CreateNewLayer("omsv_sky_DhtmlLayer",omsv_sky_LayerWidth,omsv_sky_LayerHeight,omsv_sky_LayerContent,omsv_sky_LayerBackgroundColor); with(document.getElementById("omsv_sky_DhtmlLayer").style){ if((typeof(adlWallPaperTop)=='undefined')&&(typeof(adlWallPaperLeft)=='undefined')){ top='0px'; left='780px'; } else{ top=adlWallPaperTop+'px'; left=adlWallPaperLeft+'px'; } } with(document.body){ if(omsv_sky_BodyBgColor!=''){ style.backgroundColor=omsv_sky_BodyBgColor; } } onresize=function(){ omsv_sky_KeepLayerPositionAndSize("omsv_sky_DhtmlLayer"); } onscroll=function(){ // omsv_sky_KeepLayerPositionAndSize("omsv_sky_DhtmlLayer"); } with(document.body.style){ /*backgroundPositionX=780;*/ backgroundPosition= omsv_sky_BodyBgPosition+'px'; backgroundImage=omsv_sky_BodyBgImage; backgroundRepeat=omsv_sky_BodyBgRepeat; } document.onclick=adl_catchIt; } if(adlIsMaster==1){ document.write(omsv_sky_AdContent); adlIsMasterdisplayed=true; } else{ if(!adlIsMasterdisplayed){ document.write(omsv_sky_AdContent); } else{ if(navigator.appName=="Netscape"){ window.addEventListener("load", omsv_sky_Start, false); } else{ omsv_sky_PreloadTimer=setInterval('if(document.readyState=="complete"){clearInterval(omsv_sky_PreloadTimer);omsv_sky_Start()}',250); } } } //-->