// JavaScript Document
function cssmenu_shover()
{
	if(!document.getElementById("cssmenu_s"))
		return;
	var lis = document.getElementById("cssmenu_s").getElementsByTagName("LI");
	for (var i=0;i<lis.length;i++)
	{
		if (lis[i]){
			lis[i].onmouseover=function(){this.className+=" iehover";}
			lis[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" iehover\\b"), "");}
		}
	}
}
function cssmenu_lhover()
{
	if(!document.getElementById("cssmenu_l"))
		return;
	var lis = document.getElementById("cssmenu_l").getElementsByTagName("LI");
	for (var i=0;i<lis.length;i++)
	{
		if (lis[i]){
			lis[i].onmouseover=function(){this.className+=" iehover";}
			lis[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" iehover\\b"), "");}
		}
	}
}
function cssmenu_l2hover()
{
	if(!document.getElementById("cssmenu_l2"))
		return;
	var lis = document.getElementById("cssmenu_l2").getElementsByTagName("LI");
	for (var i=0;i<lis.length;i++)
	{
		if (lis[i]){
			lis[i].onmouseover=function(){this.className+=" iehover";}
			lis[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" iehover\\b"), "");}
		}
	}
}
function cssmenu_l3hover()
{
	if(!document.getElementById("cssmenu_l3"))
		return;
	var lis = document.getElementById("cssmenu_l3").getElementsByTagName("LI");
	for (var i=0;i<lis.length;i++)
	{
		if (lis[i]){
			lis[i].onmouseover=function(){this.className+=" iehover";}
			lis[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" iehover\\b"), "");}
		}
	}
}
function cssmenu_sorthover()
{
	if(!document.getElementById("cssmenu_sort"))
		return;
	var lis = document.getElementById("cssmenu_sort").getElementsByTagName("LI");
	for (var i=0;i<lis.length;i++)
	{
		if (lis[i]){
			lis[i].onmouseover=function(){this.className+=" iehover";}
			lis[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" iehover\\b"), "");}
		}
	}
}
if (window.attachEvent)
{
	window.attachEvent("onload", cssmenu_shover);
	window.attachEvent("onload", cssmenu_lhover);
	window.attachEvent("onload", cssmenu_l2hover);
	window.attachEvent("onload", cssmenu_l3hover);	
	window.attachEvent("onload", cssmenu_sorthover);
}