
// popnsp() 
// pops up a new browser window with the specified arguments
// 	winname = name to be given to the new window
// 	url = relative or full url of the page to be displayed in the window
// 	height = height of the new window
// 	width = width of the new window
// Note: the new window has no menu bar but IS resizeable
// This is used to launch the forms which let you resize the new window.

function popnsp (winname, url, height, width){
	SmallWin=self.open(url, winname,"toolbar=0,location=0,status=0,scrollbars=1,menubar=0,resizable=1,width="+width+",height="+height);
    <!--- IE? --->
	if (window.focus) {
		SmallWin.focus();
	}
	<!--- opener object ? --->
	if (SmallWin.opener == null) 
		SmallWin.opener = window;
	//SmallWin.opener.name = "body";	
}

// openDemoWindow() 
// pops up a new browser window with the specified arguments:
// 	winname = name to be given to the parent window
// 	url = relative or full url of the page to be displayed in the window
// 	height = height of the new window
// 	width = width of the new window
// Note: the new window has no menu bar and is not resizeable.
// This is used to launch flash demo windows

function openDemoWindow (winname, url, height, width){     

	var newWindow = window.open(url, winname, "width="+width+",height="+height);

}


// Prod_jumpMenu()
// processes the product jump menu
// Note: the case statement values must match those in the jump menu field

function Prod_jumpMenu(targ,selObj,restore){ 
	base = "http://www.acecomm.us";
	url = "#";
	switch (selObj.options[selObj.selectedIndex].value) {
		case("1"):
			url = "#";
			break;
		case("2"):
			url = base + "/serviceprovider/nvision.htm";
			break;
		case("3"):
			url = base + "/serviceprovider/nvision_go.htm";
			break;
		case("4"):
			url = base + "/pdfs/acecomm_nvisionemi.pdf";
			break;
		case("5"):
			url = base + "/serviceprovider/nusage.htm";
			break;
		case("6"):
			url = base + "/serviceprovider/dcms.htm";
			break;
		case("7"):
			url = base + "/serviceprovider/dcms_power.htm";
			break;
		case("8"):
			url = base + "/serviceprovider/cans.htm";
			break;
		case("9"):
			url = base + "/serviceprovider/calea.htm";
			break;
		case("19"):
			url = base + "/serviceprovider/revenue.htm";
			break;
		case("20"):
			url = base + "/serviceprovider/ip_centrex.htm";
			break;
		case("21"):
			url = base + "/pdfs/acecomm_nscore.pdf";
			break;	
		case("10"):
			url = "#";
			break;
		case("11"):
			url = "#";
			break;
		case("12"):
			url = base + "/enterprise/Welcome.html";
			break;
		case("13"):
			url = base + "/enterprise/security.htm";
			break;
		case("14"):
			url = base + "/enterprise/security-sur.htm";
			break;
		case("15"):
			url = base + "/enterprise/product.htm";
			break;
		case("16"):
			url = base + "/enterprise/netplus_asi.htm";
			break;
		case("17"):
			url = base + "/serviceprovider/Welcome.html";
			break;
		case("18"):
			url = base + "/enterprise/netplus6.htm";
			break;
	}
  	eval(targ+".location='"+url+"'");
 	if (restore) selObj.selectedIndex=0;
}





