

sfHover = function() {
	var sfEls = document.getElementById("navigation").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 showDiv(id)
{
	var ElmentDiv = document.getElementById(id).style.marginLeft = '-15px'	
}
function hideDiv(id)
{
	var ElmentDiv = document.getElementById(id).style.marginLeft = '-999em'	
} 
function overUnderlinedText(id) {
	var ElementUnderline = document.getElementById(id).style.borderBottom = '4px solid #027ac8';
}   
function outUnderlinedText(id) {
	var ElementUnderline = document.getElementById(id).style.borderBottom = '0px solid #fff';	
} 
function overBluelineElement(id) {
	var LinkBottom = document.getElementById(id).style.background = 'url("fileadmin/templates/media/img/bg_hover.gif") no-repeat 50%';
    	
}
function outBluelineElement(id) {
	var LinkBottom = document.getElementById(id).style.background = 'url("") no-repeat 50%';
    	
}

/*  navigation menu finctions */
function overUnderlinedText(id) {
	var ElementUnderline = document.getElementById(id).style.borderBottom = '4px solid #027ac8';
}   
function outUnderlinedText(id) {
	var ElementUnderline = document.getElementById(id).style.borderBottom = '0px solid #fff';	
}
function overBluelineElement(id) {
	var LinkBottom = document.getElementById(id).style.background = 'url("fileadmin/templates/media/img/bg_hover.gif") no-repeat 50%';
    	
}
function outBluelineElement(id) {
	var LinkBottom = document.getElementById(id).style.background = 'url("") no-repeat 50%';
    	
}
function overBold(id) {
	var BoldElement = document.getElementById(id).style.fontWeight = 'bold';
}
function outBold(id) {
	var BoldElement = document.getElementById(id).style.fontWeight = 'normal';
}
/* EOF navigation menu functions */