function load(file,target) {
    if (target != '')
        target.window.location.href = file;
    else
        window.location.href = file;
}

function confirmAndJump(text, ifYes, ifNo) {
  if (confirm(text)) {
    if (ifYes) location.href=ifYes;
  } else {
    if (ifNo) location.href=ifNo;
  }
} 

function doPopup(popupURL, popupName, width, height, noscrez) {
    
    var bName=navigator.appName;
    var bVer=parseInt(navigator.appVersion);
    var now = new Date();
    if (!popupName) popupName = "_general_popup";
    if (!width) width = 800;
    if (!height) height = 600;

    if (bName=="Netscape" && bVer<=3) {
      var popup = window.open("", popupName,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width='+width+',height='+height);
    } else {
      var popup = window.open("", popupName,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+noscrez+',resizable=1,width='+width+',height='+height);
    }
    if (popupURL) popup.location.href = popupURL;
    popup.focus();
} 


