	  function makeWin(url, p_Width, p_Height) {
	  	
		  agent = navigator.userAgent;
		  windowName = "Sitelet";
	
		  params  = "";
		  params += "toolbar=0,";
		  params += "location=0,";
		  params += "directories=0,";
		  params += "status=1,";
		  params += "menubar=0,";
		  params += "scrollbars=1,";
		  params += "resizable=1,";
		  if (p_Width == "null") {
			params += "width=500,";
			params += "height=500";
		  }
		  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();	
  }

