		function viewPage(command,subcommand)
		{
			var command;
			document.forms[0].index.value 		= command;
			document.forms[0].subindex.value 	= subcommand;
			document.forms[0].submit();
		}

		function popUp(URL,height)
		{
			day = new Date();
			id = day.getTime();
			if(!height)
				height	= 510;
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=540,height='+height+',left = 200,top = 150');");
		}

		function popUp_hor(URL)
		{
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=670,height=510,left = 200,top = 150');");
		}

		function popUp_vert(URL)
		{
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=510,height=670,left = 200,top = 150');");
		}