/***************************************
********* General JS functions ************
****************************************/

$(document).ready(function() {

	// Topmenu dropdown submenu
	startList = function() {
		if (document.all&&document.getElementById) {
			cssdropdownRoot = document.getElementById("cssdropdown");
			for (x=0; x<cssdropdownRoot.childNodes.length; x++) {
			node = cssdropdownRoot.childNodes[x];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
						this.className+=" over";
					}
					node.onmouseout=function() {
						this.className=this.className.replace(" over", "");
					}
				}
			}
		}
	}
		
	if (window.attachEvent)
	window.attachEvent("onload", startList)
	else
	window.onload=startList;

});

function ir(x){
	document.location.href=x;
}