function popupIntranet(hostname){
	//var url = "http://"+hostname+"/phase1/first.asp";
	var url = "/asp/login/userDataRedirector.asp";
	var width = "670";
	var height = "400";
	var top = "230";
	var left="240";

	var win = window.open(url, "intranet", "top="+top+",left="+left+",width="+width+", height="+height+",menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no");
	win.focus();
}

function popupForgot(hostname){
	//var url = "http://"+hostname+"/phase1/first.asp";
	//var width = "670";
	//var height = "500";
	//var top = "230";
	//var left="240";

	//var win = window.open(url, "intranet", "top="+top+",left="+left+",width="+width+", height="+height+",menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no");
	//win.focus();

var features = "title=Trgovinski sud, scrollbars=no, resizable=no, width=595, height=500, status=yes";
 features += ", top=100, left=300";
 newWin = window.open("/asp/login/forgotPass.asp", "sud_popup", "title=Trgovinski sud, scrollbars=no, resizable=no, width=585, height=490, status=yes");
  newWin.focus();
}