strGET=String(location.search);

if(strGET!="") {
 strGET=strGET.substring(1,strGET.length);strGET=strGET.split('&');strGET=strGET[0].split('=');
 if(strGET[0]=='actSub') {
  showSubmenu(strGET[1]);
 }
}
strGET=window.location.href;strGET=strGET.split('.html?');
strGET=strGET[0].split('.html');
strGET[0]=strGET[0]+'.html';
var nodeList = document.getElementsByTagName('a');
for (var linkNum=0;linkNum<nodeList.length;linkNum++) {
 lnk=nodeList[linkNum].getAttribute('href');
 strGET[0]= strGET[0].substring(strGET[0].lastIndexOf('/')+1, strGET[0].length);
 if (strGET[0] == '.html') { strGET[0] = 'index.html'; }
 if (nodeList[linkNum].className == 'menu') {
 if (lnk.indexOf(strGET[0]) > -1) {
 nodeList[linkNum].setAttribute('onMouseOut','void(0);',0);
 nodeList[linkNum].offsetParent.setAttribute('background', 'layout/menu.gif', 0);
 }
 }
}
