// NOTE: Needs jsLoader.js to be called once beforehand to work
// Also, this will not automatically simulate the :hover effect on all elements. you need to add the element ID to the elements() function.

var addFunctionality

function ieHover(obj1){
	if (document.all&&document.getElementById) {
		if (document.getElementById(obj1)){
			var object = document.getElementById(obj1);
			
			object.onmouseover=function() {
				object.className+= " hover";
			}
			object.onmouseout=function() {
				object.className=object.className.replace("hover", "");
			}		
		}
	}
}

function elements(){
	ieHover('langNav');
	ieHover('footer');
	ieHover('content');
}

addToLoader("elements()");