var temp

temp=0;
var parts=new Array();
parts[temp++]="Stamping Parts : Stamped parts (Thick) [Fine blank, Match-cut]";
parts[temp++]="Stamping Parts : Precision stamping [Terminals]";
parts[temp++]="Stamping Parts : Stamping (low volume)";
parts[temp++]="Machining Parts : AL [All machining, Founding, Casting & Machining, Forging & Machining]";
parts[temp++]="Machining Parts : Steel, SUS";
parts[temp++]="Surface Treatment : Painting [Brilliant painting]";
parts[temp++]="Surface Treatment : Plating [Ferrous, Non-ferrous, Plastic]";
parts[temp++]="Surface Treatment : Hard coating";
parts[temp++]="Surface Treatment : Printing";
parts[temp++]="Surface Treatment : Laser process";
parts[temp++]="Surface Treatment : Flocking";
parts[temp++]="Surface Treatment : Wood grain [Real wood grain]";
parts[temp++]="Rubber Parts : Foams";
parts[temp++]="Rubber Parts : Hydraulic hose";
parts[temp++]="Rubber Parts : Others [inc. Urethane process]";
parts[temp++]="Plastic Parts : Injection molding [Common/Clear Molding]";
parts[temp++]="Plastic Parts : 2-shot molding";
parts[temp++]="Plastic Parts : Blow molding";
parts[temp++]="Plastic Parts : Insert molding";
parts[temp++]="Plastic Parts : Foamed Molding [Foamed PE, PS, et al.]";
parts[temp++]="Piping : AL";
parts[temp++]="Forging Parts : Aluminum [Brackets, et al.]";
parts[temp++]="Forging Parts : Ferrous [Flanges, et al.]";
parts[temp++]="Founding Parts : Ferrous";
parts[temp++]="Founding Parts : AL";
parts[temp++]="Founding Parts : Precision founding [AL, Ferrous]";
parts[temp++]="AL Diecast : Diecast";
parts[temp++]="AL Diecast : Precision Diecast";
parts[temp++]="Pipe Processing : SUS, Ferrous [Bending, Expanding, Downsizing, Slitting ]";
parts[temp++]="Others : Fasteners";
parts[temp++]="Others : Small springs";
parts[temp++]="Others : C-Rings";
parts[temp++]="Others : Shim [Clearance adjustments]";
parts[temp++]="Functional Parts : Clock";
parts[temp++]="Functional Parts : Micro motor";
parts[temp++]="Functional Parts : Motor actuator";
parts[temp++]="Electronics Parts : PCB";
parts[temp++]="Electronics Parts : (Printed Circuit Board)";
parts[temp++]="Electronics Parts : Surface mounting";
parts[temp++]="Electronics Parts : Sensors";
parts[temp++]="Electronics Parts : LCD/VFD";
parts[temp++]="Electronics Parts : LED";
parts[temp++]="Electronics Parts : Crystals";
parts[temp++]="Electronics Parts : IC/CPU";
parts[temp++]="Electronics Parts : EEPROM";
parts[temp++]="Electronics Parts : Transistors";
parts[temp++]="Electronics Parts : Diodes";
parts[temp++]="Electronics Parts : Capacitors";
parts[temp++]="Electronics Parts : Resistors";
parts[temp++]="Electronics Parts : Harness";
parts[temp++]="Electronics Parts : Connectors";
parts[temp++]="Electronics Parts : Switches";
parts[temp++]="Electronics Parts : Magnets";

temp=0;
var material=new Array();
material[temp++]="Raw Materials : Stainless coil/plate";
material[temp++]="Raw Materials : Stainless/Mild steel tube";
material[temp++]="Raw Materials : Aluminum coil/plate ";
material[temp++]="Raw Materials : Extruded aluminum ";
material[temp++]="Raw Materials : Polypropylene resin";
material[temp++]="Raw Materials : Poly amid (Nylon) resin";
material[temp++]="Raw Materials : ABS resin";

temp=0;
var equip=new Array();
equip[temp++]="Equipment : Injection molding machine";
equip[temp++]="Equipment : Surface mount machine";
equip[temp++]="Equipment : Robots";
equip[temp++]="Equipment : Welding equipment";
equip[temp++]="Equipment : Inspection/Experiment equipment";
equip[temp++]="Die : Molding die [200-2,500t]";
equip[temp++]="Die : Stamping die [Deep drawing (Stainless) ]";

temp=0;
var submaterial=new Array();
submaterial[temp++]="Manufacturing Support Materials/Expense Items : Heavy oil [Tank lorry ]";
submaterial[temp++]="Manufacturing Support Materials/Expense Items : Argon gas [Tank lorry ]";
submaterial[temp++]="Manufacturing Support Materials/Expense Items : Butane gas [Tank lorry ]";
submaterial[temp++]="Manufacturing Support Materials/Expense Items : Nitrogen gas [Tank lorry ]";
submaterial[temp++]="Manufacturing Support Materials/Expense Items : Propane gas  [Tank lorry ]";
submaterial[temp++]="Manufacturing Support Materials/Expense Items : Washing chemicals";
submaterial[temp++]="Manufacturing Support Materials/Expense Items : Surface treatment chemicals";
submaterial[temp++]="Manufacturing Support Materials/Expense Items : Solder";
submaterial[temp++]="Manufacturing Support Materials/Expense Items : Machining oil";
submaterial[temp++]="Manufacturing Support Materials/Expense Items : Lubricant oil";
submaterial[temp++]="Manufacturing Support Materials/Expense Items : Adhesive";
submaterial[temp++]="Expendable Items : Gauge, Jig";
submaterial[temp++]="Expendable Items : Welding tip/nozzle";
submaterial[temp++]="Expendable Items : Electric/Manual Tools";
submaterial[temp++]="Expendable Items : Gloves";
submaterial[temp++]="Expendable Items : Air-driver, Air-cylinder";
submaterial[temp++]="Expendable Items : Parts shelf ";
submaterial[temp++]="Expendable Items : Waste cloth";
submaterial[temp++]="Expendable Items : Apron, Hand guard ";
submaterial[temp++]="Expendable Items : Fluorescent lamp";
submaterial[temp++]="Expendable Items : Whet stone ";
submaterial[temp++]="Expendable Items : Operation table ";
submaterial[temp++]="Expendable Items : Safety shoes ";
submaterial[temp++]="Expendable Items : Electrical service parts  [Relay, Timer, Solenoid, Sensor ]";
submaterial[temp++]="Expendable Items : Caliper, Height gauge, Micro meters ";
submaterial[temp++]="Expendable Items : Masks ";
submaterial[temp++]="Office Supplies  : Stationary";
submaterial[temp++]="Office Supplies  : Copier papers";
submaterial[temp++]="Office Supplies  : Toners, Peripherals ";
submaterial[temp++]="Packaging : Cart for product";
submaterial[temp++]="Packaging : Cardboard boxes";
submaterial[temp++]="Packaging : Plastic board boxes";
submaterial[temp++]="Packaging : Polypropylene boxes";
submaterial[temp++]="Packaging : Packaging materials [Tape, PP (Plastic) Bags]";
submaterial[temp++]="Packaging : Metal returnable containers, Repairs";
submaterial[temp++]="Packaging : Labels ";

function fix() {
	var f=document.forms[0];
	var sel="parts";
	for(var i=0; i<f.apply_item.length; i++) {
		if(f.apply_item[i].checked) {
			sel=f.apply_item[i].value;
			break;
		}
	}
	var obj=eval(sel);
	f.classname.length=1;
	for(var i=0; i<obj.length; i++) {
		f.classname.length++;
		f.classname.options[f.classname.length-1]=new Option(obj[i], obj[i]);
	}
}
