function toggle( targetId ){
  	if (document.getElementById){
  		target = document.getElementById( targetId );
  		if (target.style.display == "none"){target.style.display = "";}
  		else {target.style.display = "none";}
  	}
}
function toggle2( targetId , targetId2 ){
  	if (document.getElementById){
  		target = document.getElementById( targetId );
  		target.style.display = "";
  	}
    	if (document.getElementById){
    		target = document.getElementById( targetId2 );
    		target.style.display = "none";
  	}
}
function makeinvisible( targetId ){
  	if (document.getElementById){
  		target = document.getElementById( targetId );
		target.style.display = "none";
 		}
	}
function makevisible( targetId ){
  	if (document.getElementById){
  		target = document.getElementById( targetId );
  		target.style.display = "";
  	}
}

function alpha50( targetId ){
  	if (document.getElementById){
  		target = document.getElementById( targetId );
		target.style.filter = "alpha(opacity=50)";
 		}
	}
function alpha100( targetId ){
  	if (document.getElementById){
  		target = document.getElementById( targetId );
  		target.style.filter = "alpha(opacity=100)";
  	}
}

function action_check(question,path){
	var check_bool= confirm(question);
	if (check_bool== true){window.location=path;}
}

function submit_check(question) {
      var check_bool= confirm(question);
      if (check_bool== true){return true;}
}


function onthe(obj,color){
	obj.style.backgroundColor = color;
}
function offthe(obj){
	obj.style.backgroundColor = "";
}
