var checkCoderPresent=1;
ua=navigator.userAgent;
if (ua.indexOf('IE')!=-1){
document.write('<style>.topbg{background-image: url(/i/1/bg2.gif); layer-background-image: url(/i/1/bg2.gif);  filter: progid:DXImageTransform.Microsoft.Alpha( style=0,opacity=30);}</style>');
} else {
document.write('<style>.topbg {background-image: url(/i/1/bg2.png); layer-background-image: url(/i/1/bg2.png); }</style>');
}
function Hover(isover) {
  var it = event.srcElement;
  if((it.className == 'm1' || it.className == 'm2' || it.className == 'm2f' || it.className == 'm2l') && it.tagName == 'TD' && it.children.length && it.children(0).href) {
    it.style.cursor = isover?'hand':'default';
    window.status = isover?it.children(0).href:'';
    if (event.type == 'click') {
      location.href = it.children(0).href;
    }
  }
}

function mouseover(){Hover(true)}
function mouseout(){Hover(false)}
document.onmouseover=mouseover;
document.onmouseout=mouseout;
document.onclick=mouseover;

HM_DOM = (document.getElementById)?true:false;
function expandIt(el,obj) {

  if (document.getElementById(el+'Child')==null || checkCoderPresent!=1) 
    return;
  if(HM_DOM) {
    if(document.getElementById(el+'Child').style.display=='none' || document.getElementById(el+'Child').style.display=='') {
      document.getElementById(el+'Child').style.display='block';
      document.getElementById(el+'Dlm').style.display='none';
    }
    else {
      document.getElementById(el+'Child').style.display='none';
      document.getElementById(el+'Dlm').style.display='block';
    }
  }
}
curr_page_id = 1;
if(HM_DOM && checkCoderPresent==1) { document.styleSheets[0].addRule(".shopMenuLevel1","display: none;",0); }
if(checkCoderPresent==1) window.onload=function() { expandIt(curr_page_id, document.getElementById('href'+curr_page_id)) }

