function fSignIn(form){

		var LB = "\n"; 
		var msghdr = "Please enter your:" + LB + LB;
		var msg = "";
		var i;
		if (form.txtUserId.value == "") {
			msg += "User Id" + LB;
			if (i == undefined) i=0;}
		if (form.txtPassword.value == ""){
			msg += "Password" + LB;
			if (i == undefined) i=1;}
		if (msg.length > 0){
			alert(msghdr + msg);
			form.elements[i].focus();
			return false;
			}
		else{
			return true;
		}
		 
	}				
function popup_win(popfile)
{
	var new_win2;
	new_win2="new_win2" + Math.random()*10000000;
	new_win2=new_win2.substring(0,11);
	//alert(new_win2);
	window.open(popfile,new_win2);
}

function popup_glossary(glos_key)
{
	var new_win, win_style;
	var w;
	//new_win="new_win" + Math.random()*10000000;
	//new_win=new_win.substring(0,11);
	new_win="glossary_win";
	//x=x+10;
	//y=y+10;
	x=10;
	y=10;
	win_style="top="+y+"px,left=" + x + "px,width=420px,height=250px,toolbar=yes,menubar=yes,location=no,status=no,directories=no,scrollbars=yes,resizable=yes";
	open_file="/secure/consumer/hbr/glossary_pilot.asp#" + glos_key;
	w=window.open(open_file,new_win,win_style);
	w.focus();
}		

function openBrWindow(theURL,winName,features) { //v2.0

  window.open(theURL,winName,features);

}

function popup_win_calc(popfile)
{
	var new_win2;
	new_win2="new_win2" + Math.random()*10000000;
	new_win2=new_win2.substring(0,11);
	window.open(popfile,new_win2,'scrollbars=yes,status=yes,width=800,height=600,resizable=yes');
}