

	function getObj(name) {
  		if (document.getElementById) {
  			this.obj = document.getElementById(name);
			this.style = document.getElementById(name).style;
  		}
  		else if (document.all) {
			this.obj = document.all[name];
			this.style = document.all[name].style;
  		}
  		else if (document.layers) {
   			this.obj = document.layers[name];
   			this.style = document.layers[name];
  		}
	}


	function showDDMenu(id) {
		var x = new getObj(id);
		//alert(x.obj.className);
		x.obj.className = (x.obj.className == "dropdown_display_on")?"dropdown_display_off":"dropdown_display_on";
		// x.obj.setAttribute("class","dropdown_display_on");
		// x.obj.setAttribute("className","dropdown_display_on");
		return false;
	}

	function changeClass(id, newClass) {
		var x = new getObj(id);
		x.obj.setAttribute("class",newClass);
		x.obj.setAttribute("className",newClass);
	}

	function pauseScript(t) {
		var startTime = new Date();
		var currentTime = null;
		do { currentTime = new Date(); }
		while(currentTime-startTime < t);
		} 

	function setOpacity(opacity, id) {
  	  	var object = document.getElementById(id).style;
   	 	object.opacity = (opacity / 100);
  	  	object.MozOpacity = (opacity / 100);
  	  	object.KhtmlOpacity = (opacity / 100);
  	  	object.filter = "alpha(opacity=" + opacity + ")";
	}

	function MM_jumpMenu(targ,selObj,restore){ //v3.0
  		eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
 		 if (restore) selObj.selectedIndex=0;
	}