var winopts1 = "resizable=no,scrollbars=1,toolbar=0,location=0,directories=0,status=0,menubar=0,top=80,left=100,height=540,width=500,copyhistory=0,";
var winopts3 = "resizable=no,scrollbars=1,toolbar=0,location=0,directories=0,status=0,menubar=0,top=80,left=100,height=300,width=550,copyhistory=0,";
var poll_height = screen.height - 210;
var winopts2 = "resizable=yes,scrollbars=1,toolbar=0,location=0,directories=0,status=0,menubar=0,top=35,left=35,height=440,width=500,copyhistory=0,";
var help_win ;
function open_w(wurl,winopts) {

	help_win=window.open(wurl,'Help',winopts);
if(!help_win.closed){
	help_win.focus();
	}
	return false;
}
function reload_frame(){
self.location.reload();
}
function submit_and_refresh(f){
f.submit();
self.location = self.location;
}
var bAns;
function check_search_form(f){
	if(f=="") {
	bAns=false;
	return false;
	}else{
	bAns=true;
	return true;
	}
}

function divShow(prop,id) {
	dspl='';
	if (prop=='none') dspl='inline';
	else dspl='none';
	eval('document.getElementById("divOff'+id+'").style.display=dspl');
}