/*
function requestDispatcher (page, params) {
   var sendTo = page + getSessionID() + "?" + params;
   this.location = sendTo;
}

function getSessionID(){
	
	var jsid = "";
	var fulluri = window.document.URL.toString();
	var jsidindex = fulluri.indexOf(";jsessionid");
	var qindex = fulluri.indexOf("?");
	
	if(jsidindex > -1){
		if(qindex > -1) {
			jsid = fulluri.substring(jsidindex,qindex);
		}
		else {
			jsid = fulluri.substring(jsidindex);
		}	
   	} 
	return jsid
}


function lauchModule()
{
	day = new Date();	
	theid = day.getTime();
	var URI = "LaunchModule.action";
	eval("page" + theid + " = window.open('"+ URI +"','" + theid + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=1024,height=800,left=0,top=0');");
}


function goToModule(ax, sid, secid)
{
	with(document.frmPage)
	{
		ACTIONKEY.value = ax;
		simmid.value = sid;
		sectionid.value = secid;
		action = action + getSessionID()
		submit();
	}
}


function doPage(ax, sid, secid)
{
	with(document.frmPage)
	{
		ACTIONKEY.value = ax;
		simmid.value = sid;
		sectionid.value = secid;
		action = action + getSessionID()
		submit();
	}
}
*/

function popIt(theURL, type)
{
	stopIt();
	day = new Date();
	theid = day.getTime();
	var URI = "";
	if(type == "aux"){
		URI = "movpop.jsp?movpath=" + theURL;
	} else{
		URI = theURL;
	}
	eval("page" + theid + " = window.open('"+ URI +"','" + theid + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=600,left=240,top=10');");
}