// Submenu Rollovers (for IE only)
// TEMPLATE: default_main.html
startList = function()
{
	if (document.all&&document.getElementById)
	{
		navRoot = document.getElementById("menu1");
		for (i=0; i<navRoot.childNodes.length; i++)
		{
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI")
			{
				node.onmouseover=function()
				{
					navRoot2 = document.getElementById("menu1");
					for (i=0; i<navRoot2.childNodes.length; i++)
					{
						node2 = navRoot2.childNodes[i];
						if (node2.nodeName=="LI")
						{
							node2.className=node2.className.replace(" sfhover", "");
						}
					}

					this.className+=" sfhover";
					// setTimeout('this.className+=\' sfhover\'',500);
				}

				node.onmouseout=function()
				{
					navRoot2 = document.getElementById("menu1");
					for (i=0; i<navRoot2.childNodes.length; i++)
					{
						node2 = navRoot2.childNodes[i];
						if (node2.nodeName=="LI")
						{
							node2.className=node2.className.replace(" sfhover", "");
						}
					}

					// this.className = this.className.replace(" sfhover", "");
					// setTimeout("this.className=this.className.replace(' sfhover', '')", 100);
					// alert(this.className);
					// 'this.className=this.className.replace(\' sfhover\', \'\'); }'
//							
				}

			}
		}
	}
}
window.onload=startList;


// Null Function
// TEMPLATE: default_main.html
function donothing()
{
}


// Voting Poll
// TEMPLATE: default_main.html
function checkpoll(objname)
{
	obj = document.forms[objname];
	selected = false;
	for (counter = 0; counter < obj.userinput.length; counter++)
	{
		if (obj.userinput[counter].checked)
		selected = true; 
	}

	if (selected == false)
	{
		donothing();
	}
	else
	{
		obj.submit();
	}
	// alert("checking " + obj.method);
}
