rem:  document.equipment.acc1.value = "/*accessory1*/"; document.equipment.acc2.value = "/*accessory2*/"; document.equipment.acc3.value = "/*accessory3*/"; for ( i = 0; i < numberofitemchoices[5]; ++i ) if ( equipment[5][i].name.toLowerCase() == "/*accessory1*/" ) document.equipment.acc1.selectedIndex = i; for ( i = 0; i < numberofitemchoices[6]; ++i ) if ( equipment[5][i].name.toLowerCase() == "/*accessory2*/" ) document.equipment.acc2.selectedIndex = i; for ( i = 0; i < numberofitemchoices[7]; ++i ) if ( equipment[5][i].name.toLowerCase() == "/*accessory3*/" ) document.equipment.acc3.selectedIndex = i;  
add: selectOption( document.equipment.acc1, "/*accessory1*/" ); selectOption( document.equipment.acc2, "/*accessory2*/" ); selectOption( document.equipment.acc3, "/*accessory3*/" );  
context: function loadKoLmafiaData(){	// Load basic character information		document.character.charclass.selectedIndex = /*classIndex*/;	document.character.basemuscle.value = /*baseMuscle*/;	document.character.basemysticality.value = /*baseMysticality*/;	document.character.basemoxie.value = /*baseMoxie*/;	document.character.mcd.selectedIndex = /*mindControl*/;	document.character.weight.value = /*familiarWeight*/;	// Effects & Passive Skills		// ( Skills must come before equipment for dual weilding )		var passiveSkills = "/*passiveSkills*/";	var activeEffects = "/*activeEffects*/";	for ( j = 0; j < document.forms.length; ++j )		for ( i = 0; i < document.forms[j].elements.length; ++i )		{			if ( passiveSkills.indexOf( "\t" + document.forms[j].elements[i].name + "\t" ) != -1 )				if ( document.forms[j].elements[i].type == "checkbox" )				{					document.forms[j].elements[i].checked = true;					document.forms[j].style.display = "";				}			if ( activeEffects.indexOf( "\t" + document.forms[j].elements[i].name + "\t" ) != -1 )				if ( document.forms[j].elements[i].type == "checkbox" )				{					document.forms[j].elements[i].checked = true;					document.forms[j].style.display = "";				}		}	AdjustForDualWield();		// Snowcones	var snowcone = 0;	if ( activeEffects.indexOf( "\tblacktongue\t" ) != -1 )		snowcone = 1;	if ( activeEffects.indexOf( "\tbluetongue\t" ) != -1 )		snowcone = 2;	if ( activeEffects.indexOf( "\tredtongue\t" ) != -1 )		snowcone = 3;	if ( activeEffects.indexOf( "\torangetongue\t" ) != -1 )		snowcone = 4;	if ( activeEffects.indexOf( "\tgreentongue\t" ) != -1 )		snowcone = 5;	if ( activeEffects.indexOf( "\tpurpletongue\t" ) != -1 )		snowcone = 6;	if ( snowcone != 0 )	{		document.snowcones.style.display = "";		document.snowcones[snowcone].checked = true;	}	// Familiar and Familiar Equipment	document.character.familiar.value = "/*familiar*/";	document.equipment.familiarequip.value = "/*familiarEquip*/";	// All other equipment	document.equipment.hat.value = "/*hat*/";	document.equipment.weapon.value = "/*weapon*/";	document.equipment.offhand.value = "/*offhand*/";	document.equipment.shirt.value = "/*shirt*/";	document.equipment.pants.value = "/*pants*/";	// Accessories	document.equipment.acc1.value = "/*accessory1*/";	document.equipment.acc2.value = "/*accessory2*/";	document.equipment.acc3.value = "/*accessory3*/";	for ( i = 0; i < numberofitemchoices[5]; ++i ) 		if ( equipment[5][i].name.toLowerCase() == "/*accessory1*/" )			document.equipment.acc1.selectedIndex = i; 	for ( i = 0; i < numberofitemchoices[6]; ++i ) 		if ( equipment[5][i].name.toLowerCase() == "/*accessory2*/" )			document.equipment.acc2.selectedIndex = i; 	for ( i = 0; i < numberofitemchoices[7]; ++i ) 		if ( equipment[5][i].name.toLowerCase() == "/*accessory3*/" )			document.equipment.acc3.selectedIndex = i; 		document.miscinput.rockandroll.checked = /*rockAndRoll*/;}
meta: 4541	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4541/38a7701d63d269d34b02c51434b9deef18960ca0/index.js/clean/src/html/simulator/index.js