var browName = navigator.appName;
if (browName=='Netscape'){
    ns = true;
    ie = false;
}
if (browName=='Microsoft Internet Explorer'){
    ns = false;
    ie = true;
}


var str = "";

if (window.screen) {
  var ah = (screen.availHeight - 4)/2;
  var aw = (screen.availWidth - 4)/2;
  str += ",screenX=" + ah;
  str += ",left=" + ah;
  str += ",screenY=" + aw;
  str += ",top=" + aw/3;
} else {
  str += ",resizable"; // so the user can resize the window manually
}

function popUpCmd(url) {
	var popUpWindow;
	var re = /[+]/g;
	
	popUpWindow = window.open(url, "Service", "toolbar=no,location=no,directories=no,status=no,menubar=no,titlebar=yes,scrollbars=no,resizable=yes,width=700,height=500,left=0,top=0" );
	popUpWindow.focus();
}//popUpCmd



function popUpCmdComm(url) {
	var popUpWindow;
	var re = /[+]/g;
	
	popUpWindow = window.open(url, "Service", "toolbar=no,location=no,directories=no,status=no,menubar=no,titlebar=yes,scrollbars=no,resizable=yes,width=700,height=500,left=0,top=0" );
	popUpWindow.focus();
}//popUpCmd


function popUpCmdNoAlice(url) {
	var popUpWindow;
	var re = /[+]/g;
	
	popUpWindow = window.open(url, "Service", "toolbar=no,location=no,directories=no,status=no,menubar=no,titlebar=yes,scrollbars=no,resizable=yes,width=700,height=500,left=0,top=0" );
	popUpWindow.focus();
}//popUpCmdNoAlice




