<!--

var ImageWin = null;		//Browser window used to display image
var SiteWin = null;		//Browser window used to other websites
var esolWin = null;		// BROWSER WINDOW USED TO DISPLAY THE ESOLUTIONS PAGE

//-----------------------------------------------------------------------------
// Submits general sign in form in menu to server
//-----------------------------------------------------------------------------
function signIn(formObject) {
	var username = formObject.UN.value;
	var password = formObject.UP.value;
	var url = "http://hmco.tdlc.com/access/auto_logon.pl?US=CALCCHAT&MM=Logon&UN=" + username + "&UP=" + password;
	window.open(url, "new", "scrollbars=yes,menubar=yes,toolbar=no,statusbar=no,personalbar=no,location=yes,resizable=yes,width=800,height=545");
}

//Function used to display image
function DisplayImage(ImageName){
  ImageWin = window.open(ImageName, "ImageWindow", "width=800,height=595,top=0,left=0");
  ImageWin.focus();
}


//Function used to display other websites
function DisplaySite(SiteName){
  SiteWin = window.open("", "WebWindow", "width=650,height=400,top=50,left=50,menubar,toolbar,scrollbars,status,resizable");
  SiteWin.location.replace(SiteName);
  SiteWin.focus();
}

// FUNCTION USED TO DISPLAY THE ESOLUTIONS PAGE.
function DisplayEsol(SiteName){
  esolWin = window.open("", "eSolutions", "menubar=yes,width=820,height=545,top=50,left=50");
  esolWin.location.replace(SiteName);
  esolWin.focus();
}

function screenpl()
{
 var imgsrc = '<img src = "/scripts/screen.pl?dn=calcchat&w=' + screen.width + '&h=' + screen.height + '" width = "1" height = "1" border = "0">';
 return imgsrc;
}
//-->
