function ChangeC() {document.getElementById("but").style.color="#FF0000";};var posh="-2000";var posv="0";var hcol="#7f95c7";var mcol="#68854b";var hctxt="#ffff00";var ctxt="#ffffff";var gemC2;function whatdom(objId){var domsup = 0;var stdomsup = 0;var iedomsup = 0;var nsdomsup = 0;if (document.getElementById) {stdomsup = 1; domsup = 1;}else { if (document.all) {iedomsup = 1; domsup = 1;}else {bver = parseInt(navigator.appVersion);if ((navigator.appName.indexOf('Netscape') != -1) && (bver ==4)){nsdomsup = 1; domsup = 1;}}}if (stdomsup) {return (document.getElementById(objId));}if (iedomsup) {return (document.all[objId]);}if (nsdomsup) {return (document.layers[objId]);}}function Menu(navid1,navid2,iden,bool){this.navid1=navid1;this.navid2=navid2;this.iden=iden;this.bool=bool;var mthis=undefined;this.forNav=function() {if (this.bool!=false) {	if (whatdom(menu.navid1)) {	var thisEle1=whatdom(menu.navid1);for (i=0; i<thisEle1.childNodes.length; i++){var cldN2=thisEle1.childNodes[i];if (cldN2.nodeName=="DIV") {cldN2.onmouseover=function(e){sBub(e);if ((menu.iden!=undefined)&&(mthis!=undefined)){CloseM(menu.iden,mthis);};this.style.backgroundColor=hcol;gemC2=this.style.cursor;this.style.cursor="pointer";this.firstChild.style.textDecoration="none";this.firstChild.style.color=hctxt;this.onmousedown=function(e){sBub(e);location.assign(loadA(this));CloseM(menu.iden,this);};this.onmouseout=function(e){sBub(e);this.style.backgroundColor=mcol;this.style.cursor=gemC2;this.firstChild.style.color=ctxt;}}}}}};if (whatdom(menu.navid2)) {var thisEle2=whatdom(menu.navid2);for (i=0; i<thisEle2.childNodes.length; i++){var cldN2=thisEle2.childNodes[i];if (cldN2.nodeName=="DIV") {cldN2.onmouseover=function(e){sBub(e);if (this.style.backgroundColor==mcol) {if ((mthis!=this)&& (mthis!=undefined)&&(menu.iden!=undefined)) {CloseM(menu.iden,mthis);mthis=undefined;}};this.style.backgroundColor=hcol;gemC2=this.style.cursor;this.style.cursor="pointer";this.firstChild.style.textDecoration="none";this.firstChild.style.color=hctxt;for (j=0; j<this.childNodes.length; j++){var cldN22=this.childNodes[j];if (cldN22.nodeName=="DIV") {if (cldN22.style.left!=posv+"px") {cldN22.style.left=posv+"px";}menu.iden=cldN22.id;mthis=this;for (x=0; x<cldN22.childNodes.length; x++){var cldN23=cldN22.childNodes[x];if (cldN23.nodeName=="DIV") {cldN23.onmouseover=function(e){sBub(e);this.style.backgroundColor=hcol;gemC2=this.style.cursor;this.style.cursor="pointer";this.firstChild.style.textDecoration="none";this.firstChild.style.color=hctxt;	this.onmousedown=function(e) {sBub(e);location.assign(loadA(this));CloseM(menu.iden,this);};this.onmouseout=function(e){sBub(e);this.style.backgroundColor=mcol;this.style.cursor=gemC2;this.firstChild.style.color=ctxt;if (menu.iden!=undefined) {if (OutOfLay(e,menu.iden,menu.navid2)==true) {whatdom(menu.iden).style.left=posh+"px";menu.iden=undefined;}}}}}}}}}};cldN2.onmousedown=function(e){sBub(e);location.assign(loadA(this));CloseM(menu.iden,this);};cldN2.onmouseout=function(e){sBub(e);this.style.backgroundColor=mcol;this.style.cursor=gemC2;this.firstChild.style.color=ctxt;if (menu.iden!=undefined) {if (OutOfLay(e,menu.iden,menu.navid2)==true) {whatdom(menu.iden).style.left=posh+"px";menu.iden=undefined;}}}}}}}; function loadA(ob) {var o=ob.firstChild;for (y=0; y<o.attributes.length; y++){var attr=o.attributes[y];if (attr.specified) {if (attr.name=="href") {return attr.value;}}}};function CloseM(ide, thi) {thi.style.backgroundColor=mcol;thi.style.cursor=gemC2;if (ide!=undefined) {whatdom(ide).style.left=posh+"px";};menu.iden=undefined; mthis=undefined; }; function sBub(e) {if (!e) {var e = window.event;e.cancelBubble = true;}else	if (e.stopPropagation){e.stopPropagation();}}; function OutOfLay(e,mid,n2,mthis) {  if (!e) var e = window.event;var tg = (window.event) ? e.srcElement : e.target;	var reltg=(e.relatedTarget) ? e.relatedTarget : e.toElement;if (tg.nodeName=="A"||(reltg.nodeName=="A"&&(reltg.parentNode.parentNode==whatdom(mid)||reltg.parentNode==mthis))||tg.nodeName=="IMG"||(reltg.nodeName=="IMG"&&(reltg==mthis))||(tg.parentNode.id==mid&&reltg==whatdom(mid).parentNode)||reltg==mthis) {return false;};while (reltg!=tg&&reltg.nodeName!="BODY") {reltg=reltg.parentNode;if (reltg.nodeName=="A"||reltg==whatdom(mid)) {return false;}};return true;};function IsMenuClosed(navi2){for (u=0; u<whatdom("navi2").childNodes.length; u++){var ob=whatdom("navi2").childNodes[u];for (u2=0;u2<ob.childNodes.length;u2++){if (ob.childNodes[u2].nodeName=="DIV") {if (ob.childNodes[u2].style.left=="0"+"px") {ob.childNodes[u2].style.backgroundColor=mcol;ob.childNodes[u2].style.cursor=gemC2;ob.childNodes[u2].style.left="-2000"+"px";}}}};};document.onclick=IsMenuClosed;menu=new Menu("navi1","navi2",undefined,true);function mMenu() {menu.forNav();};
