function WinPop(page,ht,wd) {
  attribs="height="+ht+",width="+wd+", resizable=no, scrollbars=yes";
  win=window.open(page,"hksinactionpop",attribs).focus();
}

function WinPop_Resize(page,ht,wd) {
  attribs="height="+ht+",width="+wd+", resizable=yes, scrollbars=yes";
  win=window.open(page,"newwindow",attribs).focus();
}

function openConfigurator(frm) {
	if (frm.homeConfigurator.value.length > 0) {
		switch (frm.homeConfigurator.value) {
			case "cray":
				WinPop_Resize('http://www.craywheels.com/configurator/config_nd.html', 500, 820)
				break;
			case "beyern":
				WinPop_Resize('http://www.beyernwheels.com/configurator/config_nd.html', 590, 790)
				break;
			case "mandrus":
				WinPop_Resize('http://www.mandruswheels.com/configurator/config_nd.html', 520, 863)
				break;
			case "redbourne":
				WinPop_Resize('http://www.redbournewheels.com/configurator/config_nd.html', 525, 790)
				break;
			case "victor":
				WinPop_Resize('http://www.victorequipmentwheels.com/virtual_garage/config_nd.html', 500, 820)
				break;
		}		
	}
}