var helpWindow = null;

function op_frame(target,hrf){
 var frn=eval('top.' + target + '.location.href = "' + hrf +'"');
// alert(frn);
}

function _resz_window(_url,_nm,_wd,_hg){
//	alert(_url+"\n"+_nm +"\n"+_wd+"\n"+_hg);
	self.resizeTo(_wd,_hg);
	location.replace(_url);
	return true;
}

function _print_url(){
var str = eval('parent.frames['+3+'].location');  
// 	alert(str +"\n");
	window.open(str,"Print");
	return false;
}


function _act(ww){
//        alert( document.forms[0].action.value +" \n")
        document.forms[0].action.value=ww;
        document.forms[0].submit();
}    

function _write_me(name, address){
    var str = "mailto:" + name + "@" + address;
//    alert(str);
    location.href=str;
//    return false;
}


function _help_window(address){
  if(helpWindow && helpWindow.open && !helpWindow.closed)
  {
    helpWindow.location=address;
  }
  else
  {
    helpWindow=window.open(address,"_blank","toolbar=no, location=no, directories=no, status=no, menubar=no,scrollbars=yes, resizable=yes, copyhistory=yes,height=400, width=700")
  }
  helpWindow.focus();
}

function cleanup()
{
  if(helpWindow && helpWindow.open)
    helpWindow.close();
}

