
		// ======================================================================================================================
		// Standard Pop-Up Window Open
		// Open a pop-up window. The window should open with the same dimensions in IE and Netscape.
		// page - page name (ex: xyz.asp)
		// name - the title of the new window
		// width - the width of the new window
		// height - the height of the new window
		// extra (optional) - any additional parameters to the window.open. Here is a list of the most common items:
		//			location,menubar,status,toolbar,scrollbars,resizable
		//			an example would be: "location,resizable"
		//
		function standard_open(page, name, width, height, extra) {
			var tmpString;
	
			tmpString = "width=" + width + ",height=" + height + ",innerWidth=" + width + ",innerHeight=" + height;
	
			// If there are parameters in the extra field, append them to the string
			if ((extra != null) && (extra != "")) {
				tmpString = tmpString + "," + extra;
			}
	
			// Open the window
			window.open(page, name, tmpString);
	
			return;
		}
		
		
		

		function showProfile (x,t) 
		{
			standard_open("pop_profile.asp?id="+x+"&title="+URLencode(t),"nwax_profile", 655, 600)
		}
		
		
		function URLencode(sStr) {
   			 return escape(sStr).replace(/\+/g, '%2C').replace(/\"/g,'%22').replace(/\'/g, '%27');
  			}

			
			
