function tabOver(obj) 
{
	obj.style.backgroundColor = "#f99733";
}

function tabOut(obj) 
{
	if (obj.attributes.getNamedItem("selected"))
		obj.style.backgroundColor = "#cb4b28";
	else
		obj.style.backgroundColor = "#bbcdd7";
}

function configureMenu(cellObj)
{
	var oneCell;
	var rowObj;
	var attr;
	
	rowObj = document.getElementById("rowUserMenu");

	for (var i = 0; i < rowObj.cells.length; i++)
	{
		oneCell = rowObj.cells.item(i);
		
		if (oneCell == cellObj)
		{
			attr = document.createAttribute("selected");
			oneCell.attributes.setNamedItem(attr);
			oneCell.className = "activeTab";
			oneCell.style.backgroundColor = "#cb4b28";
		}
		else
		{
			if (oneCell.attributes.getNamedItem("selected"))
			{
				oneCell.attributes.removeNamedItem("selected");
			}	
			oneCell.className = "tab";
			oneCell.style.backgroundColor = "#bbcdd7";
		}
	}
}

function tabClick(cellObj)
{
	var navLoc;

	navLoc = cellObj.attributes.getNamedItem("href");
	window.navigate(navLoc.value);
}

function hilite(name,over) 
{
	if (window.document.images) 
	{
		if (over) 
		{
			window.document.images[name].src = "/images/title_nav_bullet_over.gif";
		} 
		else 
		{
			window.document.images[name].src =  "/images/title_nav_bullet.gif";
		}
	}
}

function ClientValidate(source, args)
{
   var dropdown = document.getElementById(source.controltovalidate);
    
  if (dropdown.selectedIndex == 0){
   args.IsValid = false;
  }
  else {
    args.IsValid = true;
  }
 }