function $o(id) { try { return document.getElementById?document.getElementById(id):document.all(id); }catch($e){}; } // $o
function $loadFunc(func) { try { var load=window.onload; if(typeof window.onload!='function') { window.onload=func; } else { window.onload=function() { if(load) { load(); } try { func(); } catch($e){}; } } }  catch($e){}; } // $loadFunc	
function $subClick(id, text, reset_text) { try { o=$o(id); if(!reset_text) { o.value=unescape(text); o.disabled=true; } else { o.value=unescape(reset_text); o.disabled=false; }  } catch($e){}; } // $subClick
function $subReset(id, reset_text) { try { $loadFunc($subClick(id,null,reset_text)); } catch($e){}; } // $subReset
function overbox(id, hide, html) {
	try {
		var box=$o(id);
		if(box) {
			box.style.display=$o('overbox_back').style.display=!hide?'block':'none';
			if(html && html!='undefined') {
				box.innerHTML=unescape(html);
			} // if
		} // if
	}catch($e){}
} // overbox