/*function oColor(m_sOver,m_sNormal) 
{
	this.sOver = m_sOver;
	this.sNormal = m_sNormal;
}

stNav1 = new oColor("BCAD86","9E884E");
stNav2 = new oColor("BCAD86","9E884E");
stNav3 = new oColor("BCAD86","9E884E");
*/
function getObject(sObject)
{
	if (stBrowser.sType == "DOM")
	{
		return document.getElementById(sObject);
	}
	else
	{
		return eval("document.all." + sObject);
	}
}

function setLoc(loc)
{
	document.location.href=loc;
}


function setCursor(obj)
{

	if (stBrowser.sBrowser == "NS")
	{
		obj.style.cursor  = "pointer";
	}
	else
	{
		obj.style.cursor  = "hand";
	}
}

function setCursorNormal(obj)
{
	if (stBrowser.sBrowser == "NS")
	{
		obj.style.cursor  = "";
	}
	else
	{
		obj.style.cursor  = "";
	}
}

/*
function setClass(obj,x)
{

	if (stBrowser.sType == "IELAYER" || stBrowser.sType == "DOM")
	{

		if (obj.className.indexOf("nav1") == 0)
		{
			stNav = stNav1;
		}
		else if (obj.className.indexOf("nav-ueberuns") == 0)
		{
			stNav = stNav2;
		}

		if (x == 1)
		{
			obj.style.backgroundColor = stNav.sOver;
			setCursor(obj);
		}
		else
		{
			obj.style.backgroundColor = stNav.sNormal;
		}

	}
	
}
*/
sOver = "o";
sNormal = "n";

function setClass(obj)
{
	if (stBrowser.sType == "IELAYER" || stBrowser.sType == "DOM")
	{
		
		sClassName = obj.className;
		sMainClassName = sClassName.substr(0,sClassName.length-1);
		sEndClassName = sClassName.substr(sMainClassName.length,sClassName.length);
	
		if (sEndClassName == sNormal)
		{
			obj.className = sMainClassName + sOver;
			setCursor(obj);
		}
		else
		{
			obj.className = sMainClassName + sNormal;
		}
	
	}
	
}

function OpenWindow(theURL,winName,features)
{   
	window.open(theURL,winName,features); 
}
