currentsubmenu =2;
dom = (document.getElementById)? true:false;
if (!dom) document.write('<style type="text/css" media="screen"> @import url("items/notdom.css");</style>');
function Hidesubmenu(pause){
if (dom) { 
 menuname ='submenu'+currentsubmenu;
 menuitem ='m'+currentsubmenu;
 obj = document.getElementById(menuname).style;
 m=document.getElementById(menuitem).style;
 if (pause) {delayhide=setTimeout("obj.visibility='hidden'",800);}
 else {obj.visibility='hidden';}
 m.background='#FEECAA';
 m.background='url("images/mr.gif") #FEECAA 100% repeat-y';
 m.color='#4F2608';
 }
}
 
function Showsubmenu(submenu){
if (dom) {
 Hidesubmenu(0);
 currentsubmenu = submenu;
 if (window.delayhide) clearTimeout(delayhide)
 menuname ='submenu'+submenu;
 menuitem ='m'+submenu;
 obj = document.getElementById(menuname).style;
 m=document.getElementById(menuitem).style;
 obj.visibility='visible';
 m.background='#FAF5D5';
 m.color='#5AA070';
 }
}

function Resize(){
if (dom){
 if (screen.width > 1024) {document.getElementsByTagName("body").item(0).style.fontSize='130%'};   
 }
}