// JavaScript Programming (c) 1996-2010 by H. L. Stahl [Formel-1@Mail.ITsys.de] - All rights reserved! (Alle Rechte vorbehalten!)
var menu_kat     = new Array("News", "Teams-10", "Termine", "Resultate", "Statistik", "Rekorde", "Memory", "Fahrer", "Teams", "Strecken", "Quellen", "Infos", "About" ); var menu_min = 10; var menu_max = menu_min+menu_kat.length; var idx_name = "http://web.ITsys.de/Formel-1/index.htm";
if (self == top && top.location.hash && top.location.hash.search(/#.*[#$]/)<0) idx_name += "#" + top.location.href.replace(/.*[/]/,""); var JSact    = ((navigator.appName.substring(0,8)=="Netscape" && parseFloat(navigator.appVersion)>=2.0))? "NAV" : ((navigator.appName.substring(10,27)=="Internet Explorer" && parseFloat(navigator.appVersion)>=4.0))? "EXP" : ""; var JSlang   = (JSact=="NAV")?navigator.language:(JSact=="EXP")?navigator.userLanguage:""; if (JSlang.toLowerCase().indexOf("de")>-1) JSlang=""; function ST(x) {  if (x>0 && self==top) TO=window.setTimeout("top.location.href='"+idx_name+"';",x); else if (x<0 && self!=top) TO=window.setTimeout("top.location.href='"+idx_name+"';",-x); } function SI(i) { if (JSact && i>=0 && i<menu_kat.length) { if (Topic=="") i+=menu_min; if (document.images[i].src.substring(document.images[i].src.length-8,document.images[i].src.length) != "Arr1.gif")  document.images[i].src="Arr2.gif"; } }
function SO(i) { if (JSact && i>=0 && i<menu_kat.length) { if (Topic=="") i+=menu_min; if (document.images[i].src.substring(document.images[i].src.length-8,document.images[i].src.length) != "Arr1.gif")  document.images[i].src="Arr0.gif"; } } function Msg() { if (self==top && self.location.protocol != "file:" && Topic) { if (!JSlang) document.write("Hinweis: Aufgrund der Verwendung von &quot;Frames&quot;-Technik<br>" + "erfolgt sp&auml;ter eine automatische Weiterleitung zur <a href="+idx_name+" target=_top>HomePage</a>.<br>" + "Diese Seite wird automatisch wieder angezeigt.<br>" + "Sollte das ausnahmsweise nicht der Fall sein, dann w&auml;hlen Sie bitte im Inhalt &quot;<b>" + Topic + "</b>&quot;,<br>" + "um diese Seite wieder anzuzeigen. Danke!<hr noshade width=80% size=1 color=#CCCCCC style='border-color: #CCCCCC;'>" ); else
document.write("Note: This web site uses &quot;frames&quot; - that's why<br>" + "an automatic redirection to &quot;<a href="+idx_name+" target=_top>HomePage</a>&quot; will be performed later.<br>" + "This page will automatically be displayed again.<br>" + "If exceptionally this is not the case, then, please select &quot;<b>"+Topic+"</b>&quot; from the directory on the left<br>" + "to view this page again. Thank you!<hr noshade width=80% size=1 color=#CCCCCC style='border-color: #CCCCCC;'>" ); } } function M() { if (Topic) { if (self==top && self.location.protocol != "file:") { if (self.location.hash) ST(15000); else if (!JSlang)
if (confirm('Hinweis:\n\nDie aufgerufene Seite "'+Topic+'" ist Bestandteil eines Frame-Sets.\nWenn Sie einverstanden sind, wird dieses Frame-Set jetzt geladen.\n\nWaehlen Sie dann bitte gegebenenfalls im links angezeigten Menue\n"'+Topic+'", um diese Seite wieder anzuzeigen.')) ST(1000); else ST(30000); else if (confirm('Note:\n\nThe current page "'+Topic+'" is part of a frame set.\nIf you agree, this frame set will now be loaded.\n\nIf then necessary, please select\n"'+Topic+'" from the directory\non the left to view this page again.')) ST(1000); else ST(30000); } for (Tidx=0; Tidx<menu_kat.length;++Tidx) if (menu_kat[Tidx]==Topic) break; if (self!=top && JSact && parent && parent.frames && parent.frames.length>1 && parent.frames[1].document.images && parent.frames[1].document.images.length>menu_min) for (i=menu_min;i<menu_max;++i) parent.frames[1].document.images[i].src=(i==Tidx+menu_min)?"Arr1.gif":"Arr0.gif"; } } function CH() {
 if (self==top && top.location.hash && top.location.hash.search(/#[a-z0-9_]*[.]htm[#$]/i)==0) return top.location.hash.replace(/#/,""); return ""; } function B(x) { if (JSact && document.images && document.images.length>0) { if(x<2){document.images[0].src=x?"Arr1.gif":"Arr0.gif"; TO=window.setTimeout("B("+(1-x)+")",1000);} else    TO=window.setTimeout("B("+(x-1)+")",1000); } } function D(txt) { d=new Date(); document.write(txt," am ",d.getDate()<10?"0"+d.getDate():d.getDate(),".",d.getMonth()<9?"0"+(d.getMonth()+1):d.getMonth()+1,".",d.getYear()<2000||d.getYear()>2099?d.getYear()%100+2000:d.getYear()); }
