/*
function cssfix() {
  var browser = new Object();
  browser.isMicrosoft = false;
  browser.isNetscape = false;
  if (navigator.appName.indexOf("Netscape") != -1) {
    browser.isNetscape = true;
  }
  if (navigator.appName.indexOf("Microsoft") != -1) {
    browser.isMicrosoft = true;
  }

  if (browser.isMicrosoft) {
    var maindiv = document.getElementById("main_space");
    maindiv.style.position = "absolute"; 
    maindiv.style.top = "141px"; 
    maindiv.style.left = "210px"; 
    var bannerdiv = document.getElementById("banner");
    bannerdiv.style.marginBottom = "-3px";
  }
}

*/


//3-state Highlight menu effect script: By Dynamicdrive.com
//Visit http://www.dynamicdrive.com
//Modified By Reymund Bautista

function over_effect(e, state, color, textcolor) {
  if (document.all)
    var source = event.srcElement;
  else if (document.getElementById)
    var source = e.target;
    
  if (source.className == "block") {
     source.style.borderStyle = state;
     source.style.borderColor = color;
     source.style.backgroundColor = color; 
     var childNode = source.firstChild;
     childNode.style.color = textcolor; 
     }
 else {
     if (source.tagName == "A" && source.tagName != "TABLE") {
       source.style.color = textcolor;
       var parentSource = document.getElementById ? source.parentNode : source.parentElement;
     if (parentSource.className=="block")
       parentSource.style.borderStyle = state;
       parentSource.style.borderColor = color;
       parentSource.style.backgroundColor = color;   
     }
  }
}