"); NavDoc.write(""); DrawNode(NavDoc,MenuArray,'',''); NavDoc.write("
"); NavDoc.write("
"); // NavDoc.write("

"); NavDoc.write("

"); // NavDoc.write(""); // NavDoc.write("
"); // NavDoc.write(""); // NavDoc.write(""); NavDoc.write("


"); NavDoc.write("

"); NavDoc.write("
Hosted by www.Geocities.ws

"); // NavDoc.Counter.src = CounterPic.src; // NavDoc.im.src = DmPic.src; // NavDoc.FXCounter.src = FXCounterPic.src; NavDoc.close(); MENU_WINDOW.scrolling = "no"; } function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) { endstr = document.cookie.length; } return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) { return getCookieVal (j); } i = document.cookie.indexOf(" ", i) + 1; if (i == 0) { break; } } return null; } function SetCookie (name, value) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; // var expires = (argc > 2) ? argv[2] : null; var expires = "02/02/10" // var path = (argc > 3) ? argv[3] : null; // var domain = (argc > 4) ? argv[4] : null; // var secure = (argc > 5) ? argv[5] : false; document.cookie = name + "=" + escape (value) + "; expires=" + expires // ((path == null) ? "" : ("; path=" + path)) + // ((domain == null) ? "" : ("; domain=" + domain)) + // ((secure == true) ? "; secure" : ""); } function DrawNode(Doc, Node, UpperText, UpperID){ var i; var currText; if (lang == Russian) currText=RText; else currText=EText; if (Node[Type] == ClosedBranch){ Doc.write(""+UpperText+""); Doc.write(""+Node[currText]+""); Doc.write(""); } else if (Node[Type] == OpenBranch){ Doc.write(""+UpperText+""); Doc.write(""+Node[currText]+""); Doc.write(""); for(i=(Nextlevel);i",UpperID+Node[ID]); } else if (Node[Type] == FirstList){ Doc.write(""+Node[currText]+""); for(i=(Nextlevel);i"+UpperText+""); Doc.write(""+Node[currText]+""); Doc.write(""); } else if (Node[Type] == ClearURL){ Doc.write(""+UpperText+""); Doc.write(""+Node[currText]+""); Doc.write(""); } else if (Node[Type] == TopURL){ Doc.write(""+UpperText+""); Doc.write(""+Node[currText]+""); Doc.write(""); } } function navigate(URL){ GlobalLocation = URL; TEXT_WINDOW.location.href = URL; } function OpenNode(Level){ var l1=""; var l2=""; var Leaf1; var Leaf2; l1 = Level.substring(0,1); l2 = Level.substring(1,2); Leaf1 = MenuArray[Nextlevel+(parseInt(l2)-1)]; Leaf1[Type] = OpenBranch; DrawMenu(); } function CloseNode(Level){ var l1=""; var l2=""; var Leaf1; var Leaf2; l1=Level.substring(0,1); l2=Level.substring(1,2); if (l2=="") return; Leaf1 = MenuArray[Nextlevel+(parseInt(l2)-1)]; Leaf1[Type] = ClosedBranch; DrawMenu(); } /*function DrawFront(doc){ doc.clear(); doc.write("ARSA site
ARSA
site
English�ARSA
\"\"
Russian
Hosted by www.Geocities.ws

"); }*/ function DrawFrames(doc){ doc.clear(); doc.write("
Hosted by www.Geocities.ws

"); } function DrawElements(){ parent.HEAD.location = slang+"header.html"; DrawMenu(); } init(); //-->
Hosted by www.Geocities.ws

1