// JavaScript Document
<!--
function settype()
{   
    switch (document.all.variety.value) {    
	       case "Urinalysis" :
	         var typeOptions = new Array(
				 "Product","" ,
		         "Uritest-50","ArticleShow.asp?ArticleID=19",
				 "URIT-180", "ArticleShow.asp?ArticleID=77",
				 "Uritest-500","ArticleShow.asp?ArticleID=34",
				 "Uritest-500B","ArticleShow.asp?ArticleID=68",
				 "URIT-500C","ArticleShow.asp?ArticleID=48",
				 "URIT-1500","ArticleShow.asp?ArticleID=41",
				 "URIT-1200","ArticleShow.asp?ArticleID=73",
                 "Urine Reagent Strips","ArticleShow.asp?ArticleID=35",
				 "Urinalysis control","ArticleShow.asp?ArticleID=36");
			     break;
		   case "Hemanalysis" :
		     var typeOptions = new Array(
				 "Product","" ,
				 "URIT-2900", "ArticleShow.asp?ArticleID=38", 
				 "Uritest-3000", "ArticleShow.asp?ArticleID=37",
				 "URIT-2900Plus", "ArticleShow.asp?ArticleID=79",
				 "URIT-3000Plus", "ArticleShow.asp?ArticleID=59",
				 "URIT-3010", "ArticleShow.asp?ArticleID=60",
			     "URIT-3300", "ArticleShow.asp?ArticleID=22",
				 "URIT-5500", "ArticleShow.asp?ArticleID=49",
			     "hematology_reagent", "ArticleShow.asp?ArticleID=46",
				 "URIT-600", "ArticleShow.asp?ArticleID=67",
				 "URIT-610", "ArticleShow.asp?ArticleID=44");
				 break;
		   case "Chemistry Analysis" :
	         var typeOptions = new Array(
		         "Product","" ,
				 "URIT-910", "ArticleShow.asp?ArticleID=29",
				 "chemistry_reagent", "ArticleShow.asp?ArticleID=45",
				 "URIT-800", "ArticleShow.asp?ArticleID=26", 
				 "URIT-810", "ArticleShow.asp?ArticleID=51",
				 "URIT-8020A", "ArticleShow.asp?ArticleID=62",
				 "URIT-8030", "ArticleShow.asp?ArticleID=54",
				 "URIT-8060", "ArticleShow.asp?ArticleID=55",
				 "URIT-8260", "ArticleShow.asp?ArticleID=78",
				 "URIT-8280", "ArticleShow.asp?ArticleID=74");
			     break;
			case "POCT" :
	         var typeOptions = new Array(
		         "Product","" ,
				 "URIT-12", "ArticleShow.asp?ArticleID=30",
				 "URIT-26", "ArticleShow.asp?ArticleID=58",				 
				 "URIT-30", "ArticleShow.asp?ArticleID=50");
			     break;
			case "Immune Assay and Molecular Biology" :
	         var typeOptions = new Array(
		         "Product","" ,
				 "Immune Assay...","ArticleShow.asp?ArticleID=32",
				 "URIT-660", "ArticleShow.asp?ArticleID=42",
				 "URIT-670", "ArticleShow.asp?ArticleID=43");
			     break;
				 case "Lis" :
	         var typeOptions = new Array(
		         "Product","" ,
				 "Laboratory Information System","ArticleShow.asp?ArticleID=56");
			     break;
				 case "Medical Elcetronic Products" :
	         var typeOptions = new Array(
		         "Product","" ,
				 "URIT每A60B","ArticleShow.asp?ArticleID=63",
				 "URIT每A63A", "ArticleShow.asp?ArticleID=64",
				 "URIT每A63B", "ArticleShow.asp?ArticleID=65",
				 "URIT每A68B", "ArticleShow.asp?ArticleID=66",
				 "URIT每7200", "ArticleShow.asp?ArticleID=75");
			     break;
				 case "Veterinary products" :
	         var typeOptions = new Array(
		         "Product","" ,
				 "URIT-A63AVet ","ArticleShow.asp?ArticleID=69",
				 "URIT-800Vet", "ArticleShow.asp?ArticleID=70",
				 "URIT-30Vet", "ArticleShow.asp?ArticleID=80",
				 "URIT-2900Vet ", "ArticleShow.asp?ArticleID=71",
				 "URIT-2900Plus Vet ", "ArticleShow.asp?ArticleID=81",
				 "URIT-3000Vet", "ArticleShow.asp?ArticleID=72",
				 "URIT-7200Vet", "ArticleShow.asp?ArticleID=76");
			     break;
			default:
			  var typeOptions = new Array("Product","");
			  break;
	}
	document.all.typed.options.length = 0;    
	for(var i = 0; i < typeOptions.length/2; i++) {
	    document.all.typed.options[i]=new Option(typeOptions[i*2],typeOptions[i*2+1]);

	    if (document.all.typed.options[i].value=="") 
	    {
	    	document.all.typed.selectedIndex = i;
	    }
	}
}


function initprovcity() {
	var provObject = document.all.variety;
    for(var i = 0; i < document.all.variety.options.length; i++) {
        if (document.all.variety.options[i].value=="")
        {
        	//alert("prov put is ok");
        	document.all.variety.selectedIndex = i;
        }
    }
    settype();
}
initprovcity();
-->							
