if ( top.location != self.location ) { top.location = self.location; } if(document.ids)browserName='nc4'; else if( document.all && !document.getElementById )browserName='ie4'; else if( window.opera && !document.createElement )browserName='op5'; else if( window.opera && window.getComputedStyle ) { if(window.navigate)browserName='op7.5'; else browserName='op7.2'; } else if( window.opera && document.compatMode )browserName='op7'; else if( window.opera && document.releaseEvents )browserName='op6'; else if( document.contains && !window.opera )browserName='kq3'; else if( window.getSelection && window.atob )browserName='nn7'; else if( window.getSelection && !document.compatMode )browserName='nn6'; else if( window.clipboardData && document.compatMode )browserName='ie6'; else if( window.clipboardData ){browserName='ie5'; if( !document.createDocumentFragment ) browserName+='.5'; if( document.doctype && !window.print ) browserName+='m';} else if( document.getElementById && !document.all ) browserName='op4'; else if( document.images && !document.all ) browserName='nn3'; else browserName='???'; if( (browserName == 'nc4') || (browserName == 'op4') ){ self.location.replace('?tpl=helpBrowser'); } document.write('\n\r'); var iState; function showForm(szDivID, iState) // 1 visible, 0 hidden { if(document.getElementById) //gecko(NN6) + IE 5+ { if(iState == "auto") { var obj = document.getElementById(szDivID); $iStateNow = obj.style.display; iState = switchState($iStateNow); } if(document.getElementById(szDivID)){ var obj = document.getElementById(szDivID); obj.style.display= iState ? "inline" : "none"; } } else if(document.all) // IE 4 { if(iState == "auto") { $iStateNow = document.all[szDivID].style.getAttribute("display","false"); iState = switchState($iStateNow); } document.all[szDivID].style.visibility = iState ? "visible" : "hidden"; document.all[szDivID].style.display = iState ? "inline" : "none"; } } function switchState($iStateNow){ if($iStateNow == "none"){ $iState = 1; }else{ $iState = 0; } return $iState; } function switchProSearchValue(){ if(document.searchForm.proSearch.value == "OFF"){ document.searchForm.proSearch.value = "ON"; }else{ document.searchForm.proSearch.value = "OFF"; } } function siteLevelCheck(){ if(document.searchForm.goldSites.value != 'on' && document.searchForm.classicSites.value != 'on' && document.searchForm.basicSites.value != 'on'){ setCheckValue('goldSites', true); setCheckValue('classicSites', false); setCheckValue('basicSites', false); } } function infoPopUp($url,$name,$width,$height){ if(!$name) $name = "INFO"; if(!$width) $width = "800"; if(!$height) $height = "550"; newPop = window.open($url,$name,'toolbar=no,location=no,menubar=no,scrollbars=yes,width=' + $width + ',height=' + $height) newPop.focus(); } function confirmCancelation(){ var agree=confirm("Sicherheitsabfrage\n\nSind Sie sicher das Sie diesen x-check\nZugang kündigen möchten?\n\nBitte bestätigen Sie mit \"OK\" oder\nklicken Sie auf \"ABBRECHEN\" um\nIhren x-check Zugang zu erhalten!\n"); if (agree) return true ; else return false ; } function showPaymentForm(){ if(document.newLevel.paymentType.value == "cc"){ showForm('ccForm',1); showForm('dbForm',0); showForm('ivForm',0); }else if(document.newLevel.paymentType.value == "db"){ showForm('ccForm',0); showForm('dbForm',1); showForm('ivForm',0); }else if(document.newLevel.paymentType.value == "iv"){ showForm('ccForm',0); showForm('dbForm',0); showForm('ivForm',1); }else{ showForm('ccForm',0); showForm('dbForm',0); showForm('ivForm',0); } } function gatePopUpUnfold(){ if(screen.width >= 1600){ var calcWidth = screen.width /2; }else{ var calcWidth = screen.width; } self.moveTo( ((calcWidth/2)-300),((screen.height/2)-250) ); self.resizeTo(600,500); self.focus(); } function gatePopUpRefold(){ self.moveTo(screen.height+500,screen.width+500); self.resizeTo(100,132); } function sextip(){ var $keyword = document.searchForm.keywords.value; sextipPop = window.open('http://www.sextipp.de/?search=phrase&keywords=' + $keyword + '&page=1&limitDB=total&orderBy=rank&results=15&previewPic=1/','sextip','toolbar=yes,location=yes,menubar=yes,scrollbars=yes,width=800,height=600,resizable=yes'); sextipPop.blur(); } function setCheckValue(boxName, status){ if (status === true){ document.searchForm[boxName].value = 'on'; }else{ document.searchForm[boxName].value = 'off'; } } var slotID = 1; var indexAdvTimer; function autoIndexAdv(slotID){ if(slotID <= 0 || slotID >= 6) slotID = 1; setIndexAdv(slotID,1); indexAdvTimer = window.setTimeout( function () { autoIndexAdv(slotID + 1); }, 10000); } function setIndexAdv(slotID, auto){ if(auto == 0) window.clearTimeout(indexAdvTimer); if(slotID <= 0 || slotID >= 6) slotID = 1; for (var i = 1; i <= 5; i++){ if(i != slotID){ if(i != 6) document.getElementById('indexAdvNav_' + i).className = 'indexAdvNav'; if(i != 6) document.getElementById('indexAdvIcon_' + i).src = HOST + '/img/de/ads/indexAdvIcon_' + i + '_0.png'; document.getElementById('indexAdvSlot_' + i).style.display = 'none'; if(i != 6) document.getElementById('indexAdvLink_' + i).style.color = '#16244a'; } } if(slotID != 6) document.getElementById('indexAdvIcon_' + slotID).src = HOST + '/img/de/ads/indexAdvIcon_' + slotID + '_1.png'; if(slotID != 6) document.getElementById('indexAdvNav_' + slotID).className = 'indexAdvNavActive'; document.getElementById('indexAdvSlot_' + slotID).style.display = 'block'; if(slotID != 6) document.getElementById('indexAdvLink_' + slotID).style.color = '#ffffff'; var Verfallsdatum = new Date(); var Verfallszeit = Verfallsdatum.getTime() + 86400; Verfallsdatum.setTime(Verfallszeit); document.cookie = "indexAdvLast=" + slotID + "; path=/; domain=x-check.de; expires=" + Verfallsdatum.toGMTString(); if(slotID <= 0 || slotID == 5) slotID = 1; }