﻿function hide(obj){
	if(!obj)return;
	if("object"!=(""+typeof(obj)).toLowerCase())obj=document.getElementById(obj);
	if(!obj)return;
	if(obj.style)obj.style.display="none";
}
function show(obj){
	if(!obj)return;
	if("object"!=(""+typeof(obj)).toLowerCase())obj=document.getElementById(obj);
	if(!obj)return;
	if(obj.style){
		obj.style.display="";
		try{obj.focus();}catch(e){}
	}
}
function show_hide(oid){
 var obj=null;
 if(oid.style){obj=oid;}else{obj=document.getElementById(oid);}
 if(obj){obj=obj.style;}
 if(obj.display=="none"){obj.display="";}else{obj.display="none";}
}