function fixWin(str_name,str_url){
var int_width=800;
var int_height=600;
var winX = (screen.width - int_width) / 2;
var winY = (screen.height - int_height) / 2;
str_WinParams = 'height=' + int_height +',width=' + int_width + ',top=' + winY+',left=' + winX + ',scrollbars=yes, toolbars=no,resizable=yes,status';
win = window.open(str_url, str_name, str_WinParams);
if ((parseInt(navigator.appVersion) >= 4)|| (navigator.appName = 'Netscape')) { win.focus(); }
}
function genWin(){

}
function noteWin(str_name,str_url){
var int_width=700;
var int_height=500;
var winX = (screen.width - int_width) / 2;
var winY = (screen.height - int_height) / 2;
str_WinParams = 'height=' + int_height +',width=' + int_width + ',top=' + winY+',left=' + winX + ',scrollbars=yes, toolbars=no,resizable=yes,status';
win = window.open(str_url, str_name, str_WinParams);
if ((parseInt(navigator.appVersion) >= 4)|| (navigator.appName = 'Netscape')) { win.focus(); }
}

function noteWinG(int_height,str_name,str_url){
var int_width=700;
//var int_height=500;
var winX = (screen.width - int_width) / 2;
var winY = (screen.height - int_height) / 2;
str_WinParams = 'height=' + int_height +',width=' + int_width + ',top=' + winY+',left=' + winX + ',scrollbars=yes, toolbars=no,resizable=no,status';
win = window.open(str_url, str_name, str_WinParams);
if ((parseInt(navigator.appVersion) >= 4)|| (navigator.appName = 'Netscape')) { win.focus(); }
}

function openWin(str_name,str_url)
{
var int_width=800;
var int_height=500;
var winX = (screen.width - int_width) / 2;
var winY = (screen.height - int_height) / 2;
str_WinParams = 'height=' + int_height +',width=' + int_width + ',top=' + winY+',left=' + winX + ',scrollbars=yes, toolbars=no,resizable=yes,status';
win = window.open(str_url, str_name, str_WinParams);
if ((parseInt(navigator.appVersion) >= 4)|| (navigator.appName = 'Netscape')) { win.focus(); }
}
function openLex(str_url)
{
var int_width=500;
var int_height=300;
var winX = (screen.width - int_width) / 2;
var winY = (screen.height - int_height) / 2;
str_WinParams = 'height=' + int_height +',width=' + int_width + ',top=' + winY+',left=' + winX + ',scrollbars=yes, toolbars=no,resizable=yes,status';
win = window.open(str_url, 'lexWin', str_WinParams);
if ((parseInt(navigator.appVersion) >= 4)|| (navigator.appName = 'Netscape')) { win.focus(); }
}
function openPrint(str_name,str_url)
{
var int_width=750;
var int_height=500;
var winX = (screen.width - int_width) / 2;
var winY = (screen.height - int_height) / 2;
str_WinParams = 'height=' + int_height +',width=' + int_width + ',top=' + winY+',left=' + winX + ',scrollbars=yes, toolbars=no,resizable=yes,status';
win = window.open(str_url, str_name, str_WinParams);
if ((parseInt(navigator.appVersion) >= 4)|| (navigator.appName = 'Netscape')) { win.focus(); }
}



function addBookmark()
{
	if(navigator.appName == 'Netscape')
	{
	alert("Click 'Ctrl + D' to add this page to your bookmarks.");
	}
	else
	{
	window.external.AddFavorite(location.href,document.title);
	}
}

function notes_win(str_url, str_name, int_width, int_height) 
{
var winX = (screen.width - int_width) / 2;
var winY = (screen.height - int_height) / 2;
str_WinParams = 'height=' + int_height +',width=' + int_width + ',top=' + winY+',left=' + winX + ',scrollbars=yes, toolbars=no,resizable=no,status';
win = window.open(str_url, str_name, str_WinParams);
if ((parseInt(navigator.appVersion) >= 4)|| (navigator.appName = 'Netscape')) { win.focus(); }
}
function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}
function parentNav(str_Url)
{
	if(window.opener != null) window.opener.location = str_Url;
}

function pdfLink(){
	currLoc = location.href;	
	iStart = currLoc.lastIndexOf('/');
	iEnd = currLoc.length;
	htmlLoc = currLoc.substring((iStart + 1),iEnd);
	pdfLoc = htmlLoc.substring(0,htmlLoc.lastIndexOf('.'));
	pdfLoc = 'pdf/' + pdfLoc + '.pdf'
	pdfWin = window.open(pdfLoc,'_blank');
}
function excelLink(){
	currLoc = location.href;	
	iStart = currLoc.lastIndexOf('/');
	iEnd = currLoc.length;
	htmlLoc = currLoc.substring((iStart + 1),iEnd);
	excelLoc = htmlLoc.substring(0,htmlLoc.lastIndexOf('.'));
	excelLoc = 'xls/' + excelLoc + '.xls'
	excelWin = window.open(excelLoc,'_blank');
}
function printWin(){
	currLoc = location.href;	
	iStart = currLoc.lastIndexOf('/');
	iEnd = currLoc.length;
	htmlLoc = currLoc.substring((iStart + 1),iEnd);
	printLoc = 'p_' + htmlLoc;
	printsWin = window.open(printLoc,'_blank');
}


