
function showhidegrey(idtoshow, idtohide){
    if(idtoshow!="") {
    	 $('#'+idtoshow+ "> input").removeAttr("disabled");
    	 $('#'+idtoshow).removeClass("disabled");
    	 }
    if(idtohide!="") {
    	$('#'+idtohide+ "> input").attr("disabled",true);
    	$('#'+idtohide).addClass("disabled");
    	}
	//this because it seems that a call from inside a div will not hide that same div.
};


function showhide(idtoshow, idtohide){
    if(idtoshow!="")document.getElementById(idtoshow).style.display = "block";
	if(idtohide!="")document.getElementById(idtohide).style.display = "none";
	//this because it seems that a call from inside a div will not hide that same div.
};

