function makeWin(url) {   
	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 += "width=300,";
	params += "height=350";
	
	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;
	}
	win.focus()
}

function openFullscreen(page) {
	var yes = 1;
	var no = 0;

	var menubar = yes;      // The File, Edit, View Menus
	var scrollbars = yes;   // Horizontal and vertical scrollbars
	var locationbar = yes;  // The location box with the site URL
	var directories = no;  // the "What's New", "What Cool" links
	var resizable = yes;    // Can the window be resized?
	var statusbar = yes;    // Status bar (with "Document: Done")
	var toolbar = yes;      // Back, Forward, Home, Stop toolbar

	windowprops = "width=" + (screen.width-50) + ",height=" + (screen.height-150) + ",top=0,left=0";

	windowprops += (menubar ? ",menubars" : "") +
		(scrollbars ? ",scrollbars" : "") +
		(locationbar ? ",location" : "") +
		(directories ? ",directories" : "") +
		(resizable ? ",resizable" : "") +
		(statusbar ? ",status" : "") +
		(toolbar ? ",toolbar" : "");

	window.open(page, 'fullPopup', windowprops);
}