function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

/* dropdown menu for IE */

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) 
	window.attachEvent("onload", sfHover);
	
	
	
function askconfirm(txt) {
    return confirm(txt);
}
//-->

function jumpMenu(el){ 
url = el.options[el.selectedIndex].value; 
if(url == '#'){ 
   return false; 
   } 
   else { 
   window.open(url,'_self'); 
   } 
}

function CheckForS() 
{
	if(document.getElementById('scheck')) 
	{
		document.getElementById('scheck').value = 'thisisnts';
	}
}
