
<!-- Show/Hide Layers -->
<!--
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->

<!-- Change CSS -->
<!--
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}
//-->

<!-- Open A Browsr Window -->
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

<!--Remove input text -->
function MM_setTextOfTextfield(objId,x,newText) { //v9.0
  with (document){ if (getElementById){
    var obj = getElementById(objId);} if (obj) obj.value = newText;
  }
}

<!--Change News/Blog selected class-->
function activate_blog() {
var NAME = document.getElementById("blog_toggle")
NAME.className="blog_selected"
}
function activate_news() {
var NAME = document.getElementById("news_toggle")
NAME.className="news_selected"
}
function deactivate_blog() {
var NAME = document.getElementById("blog_toggle")
NAME.className=""
}
function deactivate_news() {
var NAME = document.getElementById("news_toggle")
NAME.className=""
}
