  function newWin(url, p_Width, p_Height) {

	  agent = navigator.userAgent;
	  windowName = "Sitelet";
	  params  = "";
	  params += "toolbar=0,";
	  params += "location=0,";
	  params += "directories=0,";
	  params += "status=0,";
	  params += "menubar=0,";
	  params += "scrollbars=1,";
	  params += "resizable=1,";
	  params += "top=92,";
	  params += "left=0,";
	  if (p_Width == "") {
		params += "width=400,";
		params += "height=400";
	  }
	  else {
		params += "width=" + p_Width+ ",";
		params += "height=" + p_Height;
	  }

	  // close the window to vary the window size
	  if (typeof(win) == "object" && !win.closed){
		win.close();
	  }
   
	  win = window.open(url, windowName , params);

	  if (agent.indexOf("Mozilla/2") != -1 && agent.indexOf("Win") == -1) {
		  win = window.open(url, windowName , params);
	  }

	  if (!win.opener) {
		  win.opener = window;
	  }

	  // bring the window to the front
	  win.focus();	
  }