// JavaScript Document
	function fillcat(whichselect,whicharray){
		for(i=whichselect.options.length; i>=0; i--){
			whichselect.options[i]=null;
		}
		for(i=0; i<whicharray.length; i++){
			whichselect.options[i]=new Option(whicharray[i][1]);
			whichselect.options[i].value=whicharray[i][0];
		}
	}
	
	
	function fillprod(whichcat,whichselect){
		for(i=whichselect.options.length; i>=0; i--){
			whichselect.options[i]=null;
		}
		if(whichcat>=0){
			for(i=0; i<models[whichcat].length; i++){
				opt=models[whichcat][i][2];
				whichselect.options[i]=new Option(opt);
				whichselect.options[i].value=models[whichcat][i][0];
			}
		}
	}
	
	function goTo(value)
	{
		if(value!='-1' && value!=''){
			//mywin001=openIT("details.asp?mid=" + value,800,600,null,null,'mywin001',5,true,true,true);return false
			window.open("details.asp?mid=" + value,'Products','width=1000,height=600');
			//parent.mainFrame.location.href="details.asp?mid=" + value;
		}
	}