var check = new Date();
var BrowserCheck = '0';
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if(browserName == "Microsoft Internet Explorer"){
var BrowserCheck = '1';
var e = 'newCont';
}



function lnC() {
document.cookie = "ImgLine=0; expires=0";
document.cookie = "ImgZ=0; expires=0";
var page = document.URL;
var page = page+"?check="+check;
window.location.href = page.replace(/ /g,'%20');
}

function lP(page) {
//window.alert("Diese Datei: " + document.URL);
//alert(page.replace(/ /g,'%20'));
window.location.href = page.replace(/ /g,'%20');

}
function lS(scriptname) {
var snode = document.createElement('script');
snode.setAttribute('type','text/javascript');
snode.setAttribute('src',scriptname);
document.getElementsByTagName('head')[0].appendChild(snode);
}
function lB() {
var bnode = document.createElement('div');
bnode.setAttribute('id','newidd');
bnode.setAttribute('align','center');
document.getElementsByTagName('body')[0].appendChild(bnode);
document.getElementById('newidd').innerHTML = "<a href='http://ics-sn.de'><img src='/img/null.gif' width='100' height='100' boder='1'></a>";
}
function initNew(x,p,q,r,b,c,e){
var d = decodeURI(x);// left:"+q+";
var Cont = "<div style='Z-INDEX: 100; position:absolute; top:"+p+";'><table border='0' cellspacing='0' cellpadding='0' valign='TOP'><tr><td><img src='/img/null.gif' width='"+q+"' height='1' border='0'></td><td class='background7'><table width='"+r+"' border='0' cellspacing='0' cellpadding='0' valign='TOP'><tr><td colspan='3' class='background7'><img src='/img/null.gif' width='"+r+"' height='1' border='0'></td></tr><tr><td width='1' class='background7'><img src='/img/null.gif' height='1' width='1' border='0'></td><td><table width='"+(r-2)+"' border='0' cellspacing='0' cellpadding='0' valign='TOP'><tr class='Font3w'><td width='22'><img src='"+c+"' width='22' height='22' border='0'></td><td>&nbsp;&nbsp;"+b+"</td><td align='right' width='22'><a href='javascript:;' onClick=closeNew('"+e+"'); return false;><img src='/img/ic_g_exit.png' border='0' width='22' height='22'></a></td></tr></table></td><td width='1' class='background7'><img src='/img/null.gif' height='1' width='1' border='0'></td></tr><tr><td width='1' class='background7'><img src='/img/null.gif' height='1' width='1' border='0'></td><td align='center' width='"+(r-2)+"' class='background6'>"+d.replace(/&quot;/g,"\"")+"</td><td width='1' class='background7'><img src='/img/null.gif' height='1' width='1' border='0'></td></tr><tr><td colspan='3' class='background7'><img src='/img/null.gif' width='"+r+"' height='1' border='0'></td></tr></table></td></tr></table></div>";
//if(browserName == "Microsoft Internet Explorer"){
//document.all.newCont.innerHTML = Cont;
//} else if(browserName == "Netscape" && browserVer <= 4){
//document.layers[e].innerHTML = Cont;
//} else{
document.getElementById(e).innerHTML = Cont;
//}
return false;
}
function Go(x)
{
 if(x == "nothing")
 {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   return;
 }
 else if(x == "end") top.location.href = parent.location;
 else
  {
   window.location.href = x;
   document.forms[0].elements[0].blur();
  }
}
function Go1(x)
{
 if(x == "nothing")
 {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   return;
 }
 else if(x == "end") top.location.href = parent.location;
 else
  {
   window.location.href = x;
   document.forms[0].elements[0].blur();
  }
}
function GoLs(x){if(x == "nothing"){document.forms[0].reset();document.forms[0].elements[0].blur(); return;}else if(x == "end") top.location.href = parent.location; else{ lS(x);document.forms[0].elements[0].blur();}}
function closeNew(x){
if(x == ""){ var x = "newCont";}
var Cont = "<div style='position:absolute; top:0;'></div>";
document.getElementById(x).innerHTML = Cont;
}
function Service(){
window.location.href = "/service.htm";
}
function GoView(x,w){
var z = "0";
var z = eval(window.pageYOffset);
var z = eval(document.body.scrollTop);
if(w != ''){var w = "120";}
var z = parseInt(w*1+z*1);
var y = x + "&h=" + z;
window.s_count.location.href = y;
}
function BottomNav(){ //document.write(BottomNav);
if(BrowserCheck == '0'){
var l1 = "'/service.htm?act=Login'";
document.write('<img src="/img/null.gif" width="1" height="30" border="0"></td></tr></table></div><div align="center" style="position:fixed; background-color:#ffffff; bottom:0px; width:100%; height:22px;"><div align="center"><table border="0" cellspacing="0" cellpadding="0" valign="BOTTOM" align="center" style="height:22px; width:1000px;" class="Font3n"><tr><td style="width:100px; height:22px;"></td><td align="center"><table border="0" cellspacing="0" cellpadding="0" valign="BOTTOM" class="Font3n"><tr><td>&nbsp;<a href="/Kontakt.htm" target="_top">Kontakt</a>&nbsp;</td><td>|</td><td>&nbsp;<a href="javascript:;" onClick="GoView('+l1+');">Login</a>&nbsp;</td><td>|</td><td>&nbsp;<a href="/Impressum.htm" target="_top">Impressum</a>&nbsp;</td></tr></table></td><td style="width:100px; height:22px;" align="right"><table border="0" cellspacing="0" cellpadding="0" valign="BOTTOM" class="Font3n"><tr><td></td><td style="width:22px; height:22px;"><a href="javascript:lnC();"><img src="/img/ic_w_reload.png" width="22" height="22" border="0"></a></td></tr></table></td></tr></table></div>');
} else{
document.write('<img src="/img/null.gif" width="1" height="30" border="0"></td></tr></table></div><table border="0" cellspacing="0" cellpadding="0" valign="BOTTOM" align="center" style="height:22px; width:1000px;" class="Font3n"><tr><td style="width:100px; height:22px;"></td><td align="center"><table border="0" cellspacing="0" cellpadding="0" valign="BOTTOM" class="Font3n"><tr><td>&nbsp;<a href="/Kontakt.htm" target="_top">Kontakt</a>&nbsp;</td><td>|</td><td>&nbsp;<a href="javascript:;" onClick="GoView(\'/service.htm?act=Login\');">Login</a>&nbsp;</td><td>|</td><td>&nbsp;<a href="/Impressum.htm" target="_top">Impressum</a>&nbsp;1</td></tr></table></td><td style="width:100px; height:22px;" align="right"><table border="0" cellspacing="0" cellpadding="0" valign="BOTTOM" class="Font3n"><tr><td></td><td style="width:22px; height:22px;"><a href="javascript:lnC();"><img src="/img/ic_w_reload.png" width="22" height="22" border="0"></a></td></tr></table></td></tr></table>');
}
}



