// JQuery URL Parser
// Written by Mark Perkins, mark@allmarkedup.com
// License: http://unlicense.org/ (i.e. do what you want with it!)
jQuery.url=function()
{var segments={};var parsed={};var options={url:window.location,strictMode:false,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};var parseUri=function()
{str=decodeURI(options.url);var m=options.parser[options.strictMode?"strict":"loose"].exec(str);var uri={};var i=14;while(i--){uri[options.key[i]]=m[i]||"";}
uri[options.q.name]={};uri[options.key[12]].replace(options.q.parser,function($0,$1,$2){if($1){uri[options.q.name][$1]=$2;}});return uri;};var key=function(key)
{if(jQuery.isEmptyObject(parsed))
{setUp();}
if(key=="base")
{if(parsed.port!==null&&parsed.port!=="")
{return parsed.protocol+"://"+parsed.host+":"+parsed.port+"/";}
else
{return parsed.protocol+"://"+parsed.host+"/";}}
return(parsed[key]==="")?null:parsed[key];};var param=function(item)
{if(jQuery.isEmptyObject(parsed))
{setUp();}
return(parsed.queryKey[item]===null)?null:parsed.queryKey[item];};var setUp=function()
{parsed=parseUri();getSegments();};var getSegments=function()
{var p=parsed.path;segments=[];segments=parsed.path.length==1?{}:(p.charAt(p.length-1)=="/"?p.substring(1,p.length-1):path=p.substring(1)).split("/");};return{setMode:function(mode)
{options.strictMode=mode=="strict"?true:false;return this;},setUrl:function(newUri)
{options.url=newUri===undefined?window.location:newUri;setUp();return this;},segment:function(pos)
{if(jQuery.isEmptyObject(parsed))
{setUp();}
if(pos===undefined)
{return segments.length;}
return(segments[pos]===""||segments[pos]===undefined)?null:segments[pos];},attr:key,param:param};}();
// JQuery URL Parser - END

var oVar = setGlobalVar();

$(document).ready(function(){
$('a.popup_details_fix').attr({name:oVar['source']}).popupWindow({height:500,width:940,scrollbars:1,resizable:1,centerScreen:1});$('a.popup_fix').popupWindow({height:500,width:700,scrollbars:1,resizable:1,centerScreen:1});$('a.popup_video_rz').popupWindow({height:480,width:760,scrollbars:0,resizable:1,centerScreen:1});$('a.popup_video_epages').popupWindow({height:340,width:320,scrollbars:0,resizable:1,centerScreen:1});$('a.popup_impressum').popupWindow({height:500,width:440,scrollbars:0,resizable:1,centerScreen:1});
loadSWTS();
}); 

// setGlobalVar
function setGlobalVar(GlobalVars){var hGlobalVars=new Object();if(jQuery.url.attr("file")==null){var sFile='index.html';}else{var sFile='';}
if (jQuery.url.param("lp")==null){var setParamLandingPage = '';}else{var setParamLandingPage = '/LP/'+jQuery.url.param("lp");}
hGlobalVars['paramLandingPage']=setParamLandingPage;hGlobalVars['protocol']=jQuery.url.attr("protocol");hGlobalVars['host']=jQuery.url.attr("host");hGlobalVars['path']=jQuery.url.attr("path");hGlobalVars['file']=jQuery.url.attr("file");hGlobalVars['file_index']=sFile;hGlobalVars['source']=jQuery.url.attr("source");return(hGlobalVars);}

// PopUp
(function($){$.fn.popupWindow=function(instanceSettings){return this.each(function(){$(this).click(function(){$.fn.popupWindow.defaultSettings={centerBrowser:0,centerScreen:0,height:500,left:0,location:0,menubar:0,resizable:0,scrollbars:0,status:0,width:500,windowName:null,windowURL:null,top:0,toolbar:0};settings=$.extend({},$.fn.popupWindow.defaultSettings,instanceSettings||{});var windowFeatures='height='+settings.height+',width='+settings.width+',toolbar='+settings.toolbar+',scrollbars='+settings.scrollbars+',status='+settings.status+',resizable='+settings.resizable+',location='+settings.location+',menuBar='+settings.menubar;settings.windowName=this.name||settings.windowName;settings.windowURL=this.href||settings.windowURL;var centeredY,centeredX;if(settings.centerBrowser){if($.browser.msie){centeredY=(window.screenTop-120)+((((document.documentElement.clientHeight+120)/2)-(settings.height/2)));centeredX=window.screenLeft+((((document.body.offsetWidth+20)/2)-(settings.width/2)));}else{centeredY=window.screenY+(((window.outerHeight/2)-(settings.height/2)));centeredX=window.screenX+(((window.outerWidth/2)-(settings.width/2)));}
oWindow=window.open(settings.windowURL,"",windowFeatures+',left='+centeredX+',top='+centeredY)
oWindow.name=settings.windowName;oWindow.focus();}else if(settings.centerScreen){centeredY=(screen.height-settings.height)/2;centeredX=(screen.width-settings.width)/2;oWindow=window.open(settings.windowURL,"",windowFeatures+',left='+centeredX+',top='+centeredY)
oWindow.name=settings.windowName;oWindow.focus();}else{oWindow=window.open(settings.windowURL,"",windowFeatures+',left='+settings.left+',top='+settings.top)
oWindow.name=settings.windowName;oWindow.focus();}
return false;});});};})(jQuery);
// jQuery SWFObject v1.1.1 MIT/GPL @jon_neal
// http://jquery.thewikies.com/swfobject
(function(f,h,i){function k(a,c){var b=(a[0]||0)-(c[0]||0);return b>0||!b&&a.length>0&&k(a.slice(1),c.slice(1))}function l(a){if(typeof a!=g)return a;var c=[],b="";for(var d in a){b=typeof a[d]==g?l(a[d]):[d,m?encodeURI(a[d]):a[d]].join("=");c.push(b)}return c.join("&")}function n(a){var c=[];for(var b in a)a[b]&&c.push([b,'="',a[b],'"'].join(""));return c.join(" ")}function o(a){var c=[];for(var b in a)c.push(['<param name="',b,'" value="',l(a[b]),'" />'].join(""));return c.join("")}var g="object",m=true;try{var j=i.description||function(){return(new i("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}()}catch(p){j="Unavailable"}var e=j.match(/\d+/g)||[0];f[h]={available:e[0]>0,activeX:i&&!i.name,version:{original:j,array:e,string:e.join("."),major:parseInt(e[0],10)||0,minor:parseInt(e[1],10)||0,release:parseInt(e[2],10)||0},hasVersion:function(a){a=/string|number/.test(typeof a)?a.toString().split("."):/object/.test(typeof a)?[a.major,a.minor]:a||[0,0];return k(e,a)},encodeParams:true,expressInstall:"expressInstall.swf",expressInstallIsActive:false,create:function(a){if(!a.swf||this.expressInstallIsActive||!this.available&&!a.hasVersionFail)return false;if(!this.hasVersion(a.hasVersion||1)){this.expressInstallIsActive=true;if(typeof a.hasVersionFail=="function")if(!a.hasVersionFail.apply(a))return false;a={swf:a.expressInstall||this.expressInstall,height:137,width:214,flashvars:{MMredirectURL:location.href,MMplayerType:this.activeX?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}attrs={data:a.swf,type:"application/x-shockwave-flash",id:a.id||"flash_"+Math.floor(Math.random()*999999999),width:a.width||320,height:a.height||180,style:a.style||""};m=typeof a.useEncode!=="undefined"?a.useEncode:this.encodeParams;a.movie=a.swf;a.wmode=a.wmode||"opaque";delete a.fallback;delete a.hasVersion;delete a.hasVersionFail;delete a.height;delete a.id;delete a.swf;delete a.useEncode;delete a.width;var c=document.createElement("div");c.innerHTML=["<object ",n(attrs),">",o(a),"</object>"].join("");return c.firstChild}};f.fn[h]=function(a){var c=this.find(g).andSelf().filter(g);/string|object/.test(typeof a)&&this.each(function(){var b=f(this),d;a=typeof a==g?a:{swf:a};a.fallback=this;if(d=f[h].create(a)){b.children().remove();b.html(d)}});typeof a=="function"&&c.each(function(){var b=this;b.jsInteractionTimeoutMs=b.jsInteractionTimeoutMs||0;if(b.jsInteractionTimeoutMs<660)b.clientWidth||b.clientHeight?a.call(b):setTimeout(function(){f(b)[h](a)},b.jsInteractionTimeoutMs+66)});return c}})(jQuery,"flash",navigator.plugins["Shockwave Flash"]||window.ActiveXObject);


// StratoWebTrackingSystem - BEGIN
function loadSWTS(){var sGetDomain=jQuery.url.attr("host");var aDomains=new Array();aDomains[0]='strato-hebergement.fr';aDomains[1]='www.strato-hebergement.fr';aDomains[2]='strato.fr';aDomains[3]='www.strato.fr';var iDomains_max=aDomains.length;for(var iLauf=0;iLauf<iDomains_max;iLauf++){if(aDomains[iLauf]!=sGetDomain){}else{$.ajax({type:"GET",url:'/imperia/md/content/strato_es/js/swts.js',cache:false,async:false,success:function(){if(navigator.cookieEnabled&&(document.cookie.indexOf("SWTSdisable")==-1)){try{var swtsTracker=Swts.getTracker("/swts/",1);swtsTracker.trackPageView();swtsTracker.enableLinkTracking();}catch(err){}}}});}}}
// StratoWebTrackingSystem - END

// default.js OLD - BEGIN
document.small_error1_top=-200;document.small_error1_left=-200;function openInNewWindow(_url){var url=_url;window.opener.location.href=url;window.close();}
function openMultiPop(){obj=open("/server/dedicated/multi-server/teilnahmebedingungen.html","popup","width=650,height=500,directories=no,scrollbars=yes,menubar=no,resizable=no,status=no,toolbar=no")
obj.window.focus()}
function showArea(iNumber){if(!iNumber||iNumber!=parseInt(iNumber)){return;}
var iLauf=0;while(++iLauf>0&&window.document.getElementById('show_'+iLauf+'_3')){if(iNumber==iLauf){window.document.getElementById('show_'+iLauf+'_1').style.display="none";window.document.getElementById('show_'+iLauf+'_2').style.display="block";window.document.getElementById('show_'+iLauf+'_3').style.display="block";}else{window.document.getElementById('show_'+iLauf+'_1').style.display="block";window.document.getElementById('show_'+iLauf+'_2').style.display="none";window.document.getElementById('show_'+iLauf+'_3').style.display="none";}}}
function hideArea(iNumber){if(!iNumber||iNumber!=parseInt(iNumber)){return;}
var iLauf=0;while(++iLauf>0&&window.document.getElementById('show_'+iLauf+'_3')){if(iNumber==iLauf){window.document.getElementById('show_'+iLauf+'_1').style.display="block";window.document.getElementById('show_'+iLauf+'_2').style.display="none";window.document.getElementById('show_'+iLauf+'_3').style.display="none";}else{window.document.getElementById('show_'+iLauf+'_1').style.display="block";window.document.getElementById('show_'+iLauf+'_2').style.display="none";window.document.getElementById('show_'+iLauf+'_3').style.display="none";}}}
function showSimple(iNumber){if(!iNumber||iNumber!=parseInt(iNumber)){return;}
var iLauf=0;while(++iLauf>0&&window.document.getElementById('showSimple_'+iLauf)){if(iNumber==iLauf){window.document.getElementById('showSimple_'+iLauf).style.display="block";}else{window.document.getElementById('showSimple_'+iLauf).style.display="none";}}}
function toggleFaqEntry(obj){if(obj.className=="active")
obj.className="";else{for(i=0;i<obj.parentNode.childNodes.length;i++){obj.parentNode.childNodes[i].className="";}
obj.className="active";}}
function openFaqEntry(){document.getElementById(location.href.substring(location.href.lastIndexOf("#")+1,location.href.length)).className="active";}
function popup(url,breite,hoehe,scrol,resize){var links=screen.width-breite;var hoch=screen.height-hoehe;var popleft=links/2;var poptop=hoch/2;obj=open(url,"popup","width="+breite+",height="+hoehe+",top="+poptop+",left="+popleft+",resizable="+resize+",directories=no,scrollbars="+scrol+",menubar=no,location=no,toolbar=no")
obj.window.focus()}
function openPop(URLStr,winWidthStr,winHeightStr){var winWidth=winWidthStr;var winHeight=winHeightStr;winWidthPos=(screen.availWidth/2)-(winWidth/2);winHeightPos=(screen.availHeight/2)-(winHeight/2);popWin=open(URLStr,'popUpWin','toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=no,width='+winWidth+'px'+',height='+winHeight+'px'+',left='+winWidthPos+', top='+winHeightPos+',screenX='+winWidthPos+',screenY='+winHeightPos+'');}
var winpop;function popup2(url,winBreite,winHoehe,posLinks,posTop,linkfield,options,winname){var screenBreite=(screen.availWidth)?screen.availWidth:800;var screenHoehe=(screen.availHeight)?screen.availHeight:600;if((winBreite!=null)&&(winBreite<=100))winBreite=100;if((winBreite==null)||(winBreite<100)||(winBreite>screenBreite))winBreite=screenBreite-100;if((winHoehe!=null)&&(winHoehe<=100))winHoehe=100;if((winHoehe==null)||(winHoehe<100)||(winHoehe>screenHoehe-120))winHoehe=screenHoehe-120;if((posLinks==null)||(posLinks<0)||(screenBreite<posLinks+winBreite))posLinks=(screenBreite-winBreite)/2;if((posTop==null)||(posTop<0)||(screenHoehe<posTop+winHoehe))posTop=(screenHoehe-winHoehe)/2-20;if(posTop<0)posTop=0;if(winpop&&(winpop.closed!=true))winpop.close();if(!options)options='toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1';if(!winname)winname='w';winpop=window.open(escapeZoomURL(url),winname,options+',width='+winBreite+',height='+winHoehe+',left='+posLinks+',top='+posTop);if(linkfield)winpop.w=linkfield;winpop.focus();return false;}
function change_Cnt(iStep,iCnt){var iLauf=1;while(window.document.getElementById('step'+iLauf)){if(iLauf==iStep){window.document.getElementById('cnt'+iLauf).style.display='block';window.document.getElementById('step'+iLauf).className="activ";}else{window.document.getElementById('cnt'+iLauf).style.display='none';window.document.getElementById('step'+iLauf).className="passiv";}
iLauf++;}}
function change_cnt_4steps(iStep,iCnt,google_video){var iLauf=1;while(window.document.getElementById('step'+iLauf)){if(iLauf==iStep){if(google_video){var flashvars=false;var params={wmode:"transparent",allowscriptaccess:"sameDomain",menu:true};var attributes=false;swfobject.embedSWF("/imperia/md/content/strato_fr/flash/google/google_video.swf","cnt_google_video","512","356","8.0.0","expressInstall.swf",flashvars,params,attributes);window.document.getElementById('cnt'+iLauf).style.display='block';window.document.getElementById('step'+iLauf).className="activ";}else{window.document.getElementById('cnt'+iLauf).style.display='block';window.document.getElementById('step'+iLauf).className="activ";swfobject.embedSWF("ie_no_sound.swf","cnt_google_video","512","356","8.0.0","expressInstall.swf",flashvars,params,attributes);}}else{window.document.getElementById('cnt'+iLauf).style.display='none';window.document.getElementById('step'+iLauf).className="passiv";}
iLauf++;}}
var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion()
{var version;var axo;var e;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");version=axo.GetVariable("$version");}catch(e){}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");version="WIN 6,0,21,0";axo.AllowScriptAccess="always";version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version="WIN 3,0,18,0";}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");version="WIN 2,0,0,11";}catch(e){version=-1;}}
return version;}
function GetSwfVer(){var flashVer=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var swVer2=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var flashDescription=navigator.plugins["Shockwave Flash"+swVer2].description;var descArray=flashDescription.split(" ");var tempArrayMajor=descArray[2].split(".");var versionMajor=tempArrayMajor[0];var versionMinor=tempArrayMajor[1];var versionRevision=descArray[3];if(versionRevision==""){versionRevision=descArray[4];}
if(versionRevision[0]=="d"){versionRevision=versionRevision.substring(1);}else if(versionRevision[0]=="r"){versionRevision=versionRevision.substring(1);if(versionRevision.indexOf("d")>0){versionRevision=versionRevision.substring(0,versionRevision.indexOf("d"));}}
var flashVer=versionMajor+"."+versionMinor+"."+versionRevision;}}
else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1)flashVer=4;else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1)flashVer=3;else if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1)flashVer=2;else if(isIE&&isWin&&!isOpera){flashVer=ControlVersion();}
return flashVer;}
function DetectFlashVer(reqMajorVer,reqMinorVer,reqRevision)
{versionStr=GetSwfVer();if(versionStr==-1){return false;}else if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",");}else{versionArray=versionStr.split(".");}
var versionMajor=versionArray[0];var versionMinor=versionArray[1];var versionRevision=versionArray[2];if(versionMajor>parseFloat(reqMajorVer)){return true;}else if(versionMajor==parseFloat(reqMajorVer)){if(versionMinor>parseFloat(reqMinorVer))
return true;else if(versionMinor==parseFloat(reqMinorVer)){if(versionRevision>=parseFloat(reqRevision))
return true;}}
return false;}}
function globalPopup(url,name,params){var sizeX=0;var sizeY=0;var winX=screen.availWidth;var winY=screen.availHeight;var tmpArray=params.split(',');for(var i=0;i<tmpArray.length;i++){if(tmpArray[i].indexOf('width')!=-1){var tmpArray2=tmpArray[i].split('=');sizeX=tmpArray2[1];}
if(tmpArray[i].indexOf('height')!=-1){var tmpArray2=tmpArray[i].split('=');sizeY=tmpArray2[1];}}
var centerX=Math.round(winX/2-sizeX/2);var centerY=Math.round(winY/2-sizeY/2);params+=',left='+centerX+',top='+centerY;var pWindow=open(url,name,params).focus();}
// default.js OLD - END

