function x08226313404(){var browser="None";if(navigator.appName.indexOf("Netscape")>=0&&parseFloat(navigator.appVersion)>=4){browser="NS4";version=4;}if(document.getElementById){browser="NS6";version=6;}if(document.all){if(document.getElementById){version=5;}else{version=4;}browser="IE";}return browser;};function x065309054(element,show){if(browser=="NS4"){if(document.layers[element]!=undefined){if(show==1){document.layers[element].visibility="hide";}else{document.layers[element].visibility="show";}}}if(browser=="IE"){if(document.all[element]!=null){if(show==1){document.all[element].style.visibility="hidden";}else{document.all[element].style.visibility="visible";}}}if(browser=="NS6"){if(document.getElementById(element)!=null){if(show==1){document.getElementById(element).style.visibility="hidden";}else{document.getElementById(element).style.visibility="visible";}}}};function x058446875(element,bgColor,parent){if(browser=="NS4"){if(arguments.length>=3){document.layers[parent].document.layers[element].bgColor=bgColor;}else{document.layers[element].bgColor=bgColor;}}if(browser=="IE"){document.all[element].style.backgroundColor=bgColor;}if(browser=="NS6"){document.getElementById(element).style.backgroundColor=bgColor;}};function x132482(element,parent){if(browser=="NS4"){if(arguments.length>=2){return(document.layers[parent].document.layers[element].pageX);}else{return(document.layers[element].pageX);}}if(browser=="IE"){if(arguments.length>=2){return(document.all[parent].style.pixelLeft+document.all[element].style.pixelLeft);}else{return(document.all[element].style.pixelLeft);}}if(browser=="NS6"){var posX=document.getElementById(element).style.left;posX=parseInt(posX.substring(0,posX.length-2));if(arguments.length>=2){var posP=document.getElementById(parent).style.left;posP=parseInt(posP.substring(0,posP.length-2));posX+=posP;}return posX;}};function x115529(element,parent){if(browser=="NS4"){if(arguments.length>=2){return(document.layers[parent].document.layers[element].pageY);}else{return(document.layers[element].pageY);}}if(browser=="IE"){if(arguments.length>=2){return(document.all[parent].style.pixelTop+document.all[element].style.pixelTop);}else{return(document.all[element].style.pixelTop);}}if(browser=="NS6"){var posY=document.getElementById(element).style.top;posY=parseInt(posY.substring(0,posY.length-2));if(arguments.length>=2){var posP=document.getElementById(parent).style.top;posP=parseInt(posP.substring(0,posP.length-2));posY+=posP;}return posY;}};function x109665(element,left,parent){if(browser=="NS4"){if(arguments.length>=3){document.layers[parent].document.layers[element].left=left;}else{document.layers[element].left=left;}}if(browser=="IE"){document.all[element].style.left=left;}if(browser=="NS6"){document.getElementById(element).style.left=left;}};function x282602(element,parent){if(browser=="NS4"){if(arguments.length>=2){return(document.layers[parent].document.layers[element].left);}else{return(document.layers[element].left);}}if(browser=="IE"){return(document.all[element].style.pixelLeft);}if(browser=="NS6"){var tmp=document.getElementById(element).style.left;tmp=parseInt(tmp.substring(0,tmp.length-2));return tmp;}};function x26574(element,top,parent){if(browser=="NS4"){if(arguments.length>=3){document.layers[parent].document.layers[element].top=top;}else{document.layers[element].top=top;}}if(browser=="IE"){document.all[element].style.top=top;}if(browser=="NS6"){document.getElementById(element).style.top=top;}};function x24988(element,parent){if(browser=="NS4"){if(arguments.length>=2){return(document.layers[parent].document.layers[element].top);}else{return(document.layers[element].top);}}if(browser=="IE"){return(document.all[element].style.pixelTop);}if(browser=="NS6"){var tmp=document.getElementById(element).style.top;tmp=parseInt(tmp.substring(0,tmp.length-2));return tmp;}};function x332921729(element,height,parent){if(browser=="NS4"){if(arguments.length>=3){document.layers[parent].document.layers[element].clip.height=height;}else{document.layers[element].clip.height=height;}}if(browser=="IE"){document.all[element].style.height=height;}if(browser=="NS6"){document.getElementById(element).style.height=height;}};function x31696754(element,parent){if(browser=="NS4"){if(arguments.length>=2){return(document.layers[parent].document.layers[element].clip.height);}else{return(document.layers[element].clip.height);}}if(browser=="IE"){return(document.all[element].clientHeight);}if(browser=="NS6"){return document.getElementById(element).offsetHeight;}};function x39900446(element,width,parent){if(browser=="NS4"){if(arguments.length>=3){document.layers[parent].document.layers[element].clip.width=width;}else{document.layers[element].clip.width=width;}}if(browser=="IE"){document.all[element].style.width=width;}if(browser=="NS6"){document.getElementById(element).style.width=width;}};function x4831402(element,parent){if(browser=="NS4"){if(arguments.length>=2){return(document.layers[parent].document.layers[element].clip.width);}else{return(document.layers[element].clip.width);}}if(browser=="IE"){return(document.all[element].clientWidth);}if(browser=="NS6"){return(document.getElementById(element).offsetWidth);}};browser=x08226313404();function menuSettings(spacing,menu_layout){allMenu=new Array(40);allMenuCount=0;mainMenu.prototype.spacing=spacing;mainMenu.prototype.layout=menu_layout;mainMenu.prototype.hdrCount=0;mainMenu.prototype.name="js"+mainMenu.prototype.count;mainMenu.prototype.count++;};active=false;mainMenu.prototype.spacing=20;mainMenu.prototype.hdrCount=0;mainMenu.prototype.css="ajmainmenu";mainMenu.prototype.count=1;mainMenu.prototype.target="_self";mainMenu.prototype.layout="horizontal";function mainMenu(left,top,nbgColor,hbgColor,target){allMenu[allMenuCount++]=this;if(arguments.length<3){this.nbgColor="#000000";}else{this.nbgColor=nbgColor;}if(arguments.length<4){this.hbgColor="#888888";}else{this.hbgColor=hbgColor;}if(arguments.length>=5){mainMenu.prototype.target=target;}this.left=left;this.top=top;this.item='';this.htmlBefore='';this.htmlAfter='';this.x64066205=x533360852930;this.addItem=x51630667257615;this.addItems=addItems;this.addItemsWithTarget=addItemsWithTarget;};function x533360852930(){var mmname=this.name+"MainMenu";if(browser=="NS4"){document.writeln('<layer id="'+mmname+'" class="'+this.css+'" left="'+this.left+'" top="'+this.top+'" bgColor="'+this.nbgColor+'" visibility="hide" onmouseout="active=false;" onmouseover="active=true;">');document.writeln(this.item+'</layer>');}if(browser=="IE"||browser=="NS6"){document.writeln('<div id="'+mmname+'" class="'+this.css+'" style="left:'+this.left+';top:'+this.top+';background-color:'+this.nbgColor+';visibility:hidden;position:absolute;" onmouseout="active=false;" onmouseover="active=true;">'+this.item+'</div>');}x39900446(mmname,288);x332921729(mmname,5);var height=0;var width=0;if(this.layout=="horizontal"){for(var i=0;i<mainMenu.prototype.hdrCount;i++){if(x31696754(this.name+"mainmenu"+i,mmname)>height){height=x31696754(this.name+"mainmenu"+i,mmname);}}width=2;for(var i=0;i<mainMenu.prototype.hdrCount;i++){var iname=this.name+"mainmenu"+i;x39900446(mmname,width+200);if(browser=="IE"&&version==4){x39900446(iname,x4831402(iname+"table",mmname),mmname);}x332921729(iname,height,mmname);x109665(iname,width,mmname);x26574(iname,2,mmname);if(browser=="IE"&&version==4){iname+="table";}width+=x4831402(iname,mmname)+this.spacing+2;}height+=4;}if(this.layout=="vertical"){height=2;width=0;for(var i=0;i<mainMenu.prototype.hdrCount;i++){var iname=this.name+"mainmenu"+i;var smenu_width=x4831402(iname,mmname);if(browser=="IE"&&version==4){smenu_width=x4831402(iname+"table");x39900446(iname,smenu_width);}if(smenu_width>width){width=smenu_width;}x26574(iname,height,mmname);x109665(iname,2,mmname);height+=x31696754(iname,mmname)+this.spacing;}for(var i=0;i<mainMenu.prototype.hdrCount;i++){x39900446(this.name+"mainmenu"+i,width,mmname);}width+=4;}x332921729(mmname,height);x39900446(mmname,width);x065309054(mmname,0);};function x51630667257615(desc,URL,target){var mname=this.name+'mainmenu'+mainMenu.prototype.hdrCount;if(arguments.length<3){target=this.target;}desc=this.htmlBefore+desc+this.htmlAfter;if(browser=="NS4"){this.item=this.item+'<layer id="'+mname+'"><table cellpadding="0" cellspacing="0" border="0"><tr><td valign="middle" nowrap>&nbsp;<a class="'+this.css+'"';if(URL!=""){this.item+=' href="'+URL+'" onmouseover="mainMenuMouseOver(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.hbgColor+'\')"';}else{this.item+=' href="" onclick="return false;" onmouseover="window.status=\'\';mainMenuMouseOver(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.hbgColor+'\');return true"';}this.item+=' onmouseout="mainMenuMouseOut(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.nbgColor+'\')" target="'+target+'">'+desc+'</a>&nbsp;&nbsp;</td></tr></table></layer>';}if(browser=="IE"||browser=="NS6"){this.item=this.item+'<div id="'+mname+'" style="position:absolute"><table id="'+mname+'table" cellpadding="0" cellspacing="0" border="0"><tr><td valign="middle" nowrap>&nbsp;<a class="'+this.css+'"';if(URL!=""){this.item+=' href="'+URL+'" onmouseover="mainMenuMouseOver(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.hbgColor+'\')"';}else{this.item+=' href="" onclick="return false;" onmouseover="window.status=\'\';mainMenuMouseOver(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.hbgColor+'\');return true"';}this.item+=' onmouseout="mainMenuMouseOut(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.nbgColor+'\')" target="'+target+'">'+desc+'</a>&nbsp;&nbsp;</td></tr></table></div>';}mainMenu.prototype.hdrCount++;};function mainMenuMouseOver(MainMenuName,hdrCount,hbgColor){active=true;for(var i=0;i<subMenu.prototype.items.length;i++){x065309054(subMenu.prototype.items[i],1);}x065309054(MainMenuName+'submenu'+(parseInt(hdrCount)+1),0);x058446875(MainMenuName+'mainmenu'+hdrCount,hbgColor,MainMenuName+"MainMenu");};function mainMenuMouseOut(MainMenuName,hdrCount,nbgColor){x058446875(MainMenuName+'mainmenu'+hdrCount,nbgColor,MainMenuName+"MainMenu");};subMenu.prototype.itemcount=0;subMenu.prototype.items=new Array(100);subMenu.prototype.css="ajsubmenu";subMenu.prototype.spacing=1;function subMenu(menuName,nbgColor,hbgColor,target){allMenu[allMenuCount++]=this;this.items[subMenu.prototype.itemcount++]=mainMenu.prototype.name+"submenu"+menuName;this.menuName=mainMenu.prototype.name+"submenu"+menuName;this.menuCount=0;if(arguments.length<2){this.nbgColor="#000000";}else{this.nbgColor=nbgColor;}if(arguments.length<3){this.hbgColor="#888888";}else{this.hbgColor=hbgColor;}if(arguments.length<4){this.target=mainMenu.prototype.target;}this.item='';this.htmlBefore='';this.htmlAfter='';this.x64066205=x64066205;this.addItem=x6237098758750;this.addItems=addItems;this.addItemsWithTarget=addItemsWithTarget;};function x64066205(){if(browser=="NS4"){document.writeln('<layer id="'+this.menuName+'" class="'+this.css+'" bgColor="'+this.nbgColor+'" visibility="hide" onmouseout="active=false;" onmouseover="active=true;">');document.writeln(this.item+'</layer>');}if(browser=="IE"||browser=="NS6"){document.writeln('<div id="'+this.menuName+'" class="'+this.css+'" style="position:absolute;visibility:hidden;background-color:'+this.nbgColor+';" onmouseout="active=false;" onmouseover="active=true;">'+this.item+'</div>');}var height=2;var width=0;x39900446(this.menuName,288);x332921729(this.menuName,10);for(var i=1;i<=this.menuCount;i++){var itemwidth=x4831402(this.menuName+"item"+i,this.menuName);x26574(this.menuName+"item"+i,height,this.menuName);x109665(this.menuName+"item"+i,2,this.menuName);height+=x31696754(this.menuName+"item"+i,this.menuName);if(browser=="IE"&&version==4){itemwidth=x4831402(this.menuName+"item"+i+"table");x39900446(this.menuName+"item"+i,itemwidth);}if(itemwidth>width){width=itemwidth;}}x332921729(this.menuName,height+2);x39900446(this.menuName,width+4);for(var i=1;i<=this.menuCount;i++){x39900446(this.menuName+"item"+i,width,this.menuName);x332921729(this.menuName+"item"+i,x31696754(this.menuName+"item"+i,this.menuName),this.menuName);}if(this.menuName.indexOf("i")==-1){var smname=mainMenu.prototype.name+"MainMenu";var menuIndex=parseInt(this.menuName.substring(this.menuName.lastIndexOf("u")+1))-1;if(mainMenu.prototype.layout=="horizontal"){x109665(this.menuName,x132482(mainMenu.prototype.name+"mainmenu"+menuIndex,mainMenu.prototype.name+"MainMenu"));x26574(this.menuName,x115529(smname)+x31696754(smname));}if(mainMenu.prototype.layout=="vertical"){x109665(this.menuName,x132482(smname)+x4831402(smname));x26574(this.menuName,x115529(smname)+x24988(mainMenu.prototype.name+"mainmenu"+menuIndex,smname));}}else{var parentName=this.menuName.substring(0,this.menuName.lastIndexOf("i"));var menuIndex=parseInt(this.menuName.substring(this.menuName.lastIndexOf("i")+1))-1;x109665(this.menuName,x132482(parentName)+x4831402(parentName)-1);x26574(this.menuName,x115529(parentName+"item"+(menuIndex+1),parentName)-2);}};function x6237098758750(desc,URL,target){this.menuCount++;if(arguments.length<3){target=this.target;}desc=this.htmlBefore+desc+this.htmlAfter;var mname=this.menuName+'item'+this.menuCount;if(browser=="NS4"){this.item=this.item+'<layer id="'+mname+'"><table cellpadding="0" cellspacing="'+this.spacing+'" border="0"><tr><td valign="middle">&nbsp;&nbsp;<a class="'+this.css+'"';if(URL!=""){this.item+=' href="'+URL+'" onmouseover="subMenuMouseOver(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.hbgColor+'\')"';}else{this.item+=' href="" onclick="return false;" onmouseover="window.status=\'\';subMenuMouseOver(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.hbgColor+'\');return true"';}this.item+=' target="'+target+'" onmouseout="subMenuMouseOut(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.nbgColor+'\')">'+desc+'</a>&nbsp;&nbsp;</td></tr></table></layer>';}if(browser=="IE"||browser=="NS6"){this.item=this.item+'<div id="'+mname+'" style="position:absolute"><table id="'+mname+'table" cellpadding="0" cellspacing="'+this.spacing+'" border="0"><tr><td valign="middle"><a class="'+this.css+'"';if(URL!=""){this.item+=' href="'+URL+'" onmouseover="subMenuMouseOver(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.hbgColor+'\')"';}else{this.item+=' href="" onclick="return false;" onmouseover="window.status=\'\';subMenuMouseOver(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.hbgColor+'\');return true"';}this.item=this.item+' target="'+target+'" onmouseout="subMenuMouseOut(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.nbgColor+'\')">&nbsp;&nbsp;'+desc+'&nbsp;&nbsp;</a></td></tr></table></div>';}};function subMenuMouseOver(parentName,menuCount,hbgColor){var menuName=parentName+'i'+menuCount;for(var i=0;i<subMenu.prototype.items.length;i++){if(menuName.indexOf(subMenu.prototype.items[i])==-1){x065309054(subMenu.prototype.items[i],1);}}active=true;x058446875(parentName+'item'+menuCount,hbgColor,parentName);x065309054(menuName,0);};function subMenuMouseOut(parentName,menuCount,nbgColor){x058446875(parentName+'item'+menuCount,nbgColor,parentName);};function addItems(){for(var i=0;i<arguments.length;i+=2){this.addItem(arguments[i],arguments[i+1]);}};function addItemsWithTarget(){for(var i=0;i<arguments.length;i+=3){this.addItem(arguments[i],arguments[i+1],arguments[i+2]);}};function x840101088(){if(!active){for(var i=0;i<subMenu.prototype.items.length;i++){x065309054(subMenu.prototype.items[i],1);}}};function displayMenu(){for(var i=0;i<allMenuCount;i++){allMenu[i].x64066205();}setInterval("x840101088()",100);};window.onresize=x90728;origWidth=window.innerWidth;origHeight=window.innerHeight;function x90728(){if(browser=="NS4"&&origWidth==window.innerWidth&&origHeight==window.innerHeight){return;}};