var ieDom=document.all ? true:false;
var w3Dom=document.getElementById ? true:false;

function xC(id){
   x=document.getElementById(id);
   xc=parseInt(x.style.left);
   return xc;
}
function yC(id){
   y=document.getElementById(id);
   yc=parseInt(y.style.top);
   return yc;
}
function pos(id,x,y){
   ob=document.getElementById(id);
   ob.style.left=x+"px";
   ob.style.top=y+"px";
}
function mv(id,x){
   ob=document.getElementById(id);
   ob.style.left=xC(id)+x+"px";
}
function hide(id){
   ob=document.getElementById(id);
   ob.style.visibility="hidden";
}
function show(id){
   ob=document.getElementById(id);
   ob.style.visibility="visible";
}

function navOver(xId) {
   x=document.getElementById(xId);
   x.style.background="#920";
   x.style.border="1px solid #fff";
   x.style.paddingTop="9px";
   x.style.paddingLeft="9px";
   x.style.paddingBottom="9px";
}
function navOut(xId) {
   x=document.getElementById(xId);
   x.style.background="#700";
   x.style.border="0";
   x.style.paddingTop="10px";
   x.style.paddingLeft="10px";
   x.style.paddingBottom="10px";
}