function MM_jumpMenu(targ,selObj,restore){ 
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function ShowSubject(subject) {
	window.status=subject;
	return true;
}

function WriteOpenWindow(tag) {
	document.write(tag);
}

function OpenWindow(url) {
	win = window.open(url, '', 'resizable,menubar=yes,location=yes,titlebar=yes,scrollbars=yes,status=yes,titlebar=yes,toolbar=yes,top=10,left=10')
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function TieButton(e,id)
{
	
	try{
		if (!e) var e = window.event;
		var btn = document.getElementById(id);
		
		if(btn == null){
			btn = document.getElementsByName(id)[0];
		}
			
		if(e.which || e.keyCode){if ((e.which == 13) || (e.keyCode == 13)) {btn.click();return false;}} else {return true}; 
	}catch(err){
		
	}
}
