// display job categories specific to job type
function displayCat(typeValue){
var formArray=document.forms[0];
var i=0;

var techArray=new Array("","96","10","1","2","91","97","92","94","93","90","3","4","5","6","7","8","99","9","11");
var techArrayName=new Array("--None--","Analyst","Application Support","Database","Developer","Engineer","Entry Level","Graphic Design","Hardware","Help Desk","Migration/Deployment","Litigation Support","Management","Network Administration","Programmer","Desktop Support","Software","Telecommunications","Trainer","Web");

var legalArray=new Array("","12","80","13","98","16","31","17","19","36","20","32","21","18","81","82","22","51","23");
var legalArrayName=new Array("--None--","Attorney","Business Development","Clerk","Case Manager","Docketing","Human Resources","LAW Librarian","Legal Secretary","Legal Recruiter","Office Services","Marketing","Paralegal","Paralegal Manager","Paralegal/Litigation Support","Project Assistant","Receptionist","Records","Word Processing");

var otherArray=new Array("","24","25","26","83","27","28","29","30","31","32","84","36","37");
var otherArrayName=new Array("--None--","AA/EA","Accounting","Administration","Billing","Concierge","Facilities","Graphics","Housekeeping","Human Resources","Marketing","Payroll","Recruiter","Sales");


	formArray.category.options.length=0;
	if(typeValue ==1){
		for(i=0;i<techArray.length;i++){
			formArray.category.options[i] = new Option(techArrayName[i],techArray[i]);
		}
	}else if(typeValue==2){	
		for(i=0;i<legalArray.length;i++){
			formArray.category.options[i] = new Option(legalArrayName[i],legalArray[i]);
		}
	}else if(typeValue !=""){
		for(i=0;i<otherArray.length;i++){
			formArray.category.options[i] = new Option(otherArrayName[i],otherArray[i]);
		}
	}else{
		formArray.category.options[i] = new Option("--None--","");
	}
}

function valReset(){
var formArray=document.forms[0];
	formArray.type.selectedIndex=0;
}
