function CheckSelectValue(FormValue)
{
	frmobj = document.forms[FormValue];
	if(document.all)
		{
			if(frmobj.ItemKey.value == '' || frmobj.ItemKey.selectedIndex == '')
			{
				return false;
			}
			else
				{
				if (frmobj.ItemKey.value == 'all')
					{					
					if (FormValue.charAt(1) == 'M')
						{						
						straction = "shop_contract_sub.asp?ManKey=" + frmobj.ManufacturerKey.value
						frmobj.action = straction;						
						frmobj.submit();
						}
						
					else
						{
						straction = "/networks/network_phones.asp?NetID=" + frmobj.NetworkKey.value + "&ITK=1"
						frmobj.action = straction;						
						frmobj.submit();
						}
					}
				else
					{
					straction = "shop_contract_details.asp?ItemKey=" +  frmobj.ItemKey.value;
					straction += (frmobj.ManufacturerKey)? "&ManKey=" + frmobj.ManufacturerKey.value : "";					
					straction += (frmobj.NetworkKey)? "&NetKey=" + frmobj.NetworkKey.value : "";		
					frmobj.action = straction;
					frmobj.submit();
					}
				}
		}	
	else	
		{
			if(frmobj.ItemKey.options[frmobj.ItemKey.selectedIndex].value == "all")
			{
				straction = "shop_contract_sub.asp?ItemKey=" +  frmobj.ItemKey.options[frmobj.ItemKey.selectedIndex].value;
				straction += (frmobj.ManufacturerKey)? "&ManKey=" + frmobj.ManufacturerKey.value : "";			
				straction += (frmobj.NetworkKey)? "&NetKey=" + frmobj.NetworkKey.value : "";		
				frmobj.action = straction;
				frmobj.submit();
			}else{
				straction = "shop_contract_details.asp?ItemKey=" +  frmobj.ItemKey.options[frmobj.ItemKey.selectedIndex].value;
				straction += (frmobj.ManufacturerKey)? "&ManKey=" + frmobj.ManufacturerKey.value : "";			
				straction += (frmobj.NetworkKey)? "&NetKey=" + frmobj.NetworkKey.value : "";		
				frmobj.action = straction;
				frmobj.submit();
			}
		}
}

