function openInNew(url) { 
	var sWidth=984; 
	var sHeight=680;
	newWin=window.open(url,'newWin',config='height='+sHeight+',width='+sWidth+',toolbar=yes,scrollbars=yes,resizable=yes,status=yes,copyhistory=no,location=yes,menubar=yes');
	newWin.focus();
	return false;
}

function bookmark(url,title) {
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark this page");
  }
}

function previewPopup(url, left, top, height, width) {
    var newwindow = window.open(url, 'popup', 'scrollbars,resizable,left='+left+',top='+top+',height='+height+',width='+width);
    
    if (window.focus) {
        newwindow.focus()
    }
    
    return false;
}

function openHelp(url,width,height) { 
	newWin=window.open(url,'newWin',config='height='+height+',width='+width+',toolbar=no,scrollbars=yes,resizable=yes,status=no,copyhistory=no,location=no,menubar=no');
	newWin.focus();
	return false;
}

function openFile(fileName) {
    fileName = replaceReservedCharacter(fileName);
	window.open('/alphega/img/binary.html?fn='+fileName,"_blank");
}

function goTo(section) {
    location.hash = section;
}
            
