var iArrayMax = 451
var aDropdown = new Array(iArrayMax)

//as the page loads - first thing to do is to load the dropdown array
var bOk = LoadArrays()

function LoadArrays()
{
//this can be thought of as an object array, each element can be identified as a property of the array position
// a very powerful structure for 'client side' data caching.
var x=0
var y=0
Array[y] = new sElement('Empty','','','Empty')
Array[y+=1] = new sElement('Empty','','','Empty')
Array[y+=1] = new sElement('Actual Price',x,'0','~Make your Selection')
Array[y+=1] = new sElement('Actual Price',x+=1,'10000','1carat Diamond')
Array[y+=1] = new sElement('Actual Price',x+=1,'25000','2carat Diamond')
Array[y+=1] = new sElement('Actual Price',x+=1,'55000','3carat Diamond')
Array[y+=1] = new sElement('Actual Price',x+=1,'98','Acorn')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Adventurers Suit')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Alcohol')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Alices Apron')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Aloe')
Array[y+=1] = new sElement('Actual Price',x+=1,'360','Aloe Leaflet')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Aloevera')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Amethyst')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Amulet')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Ancient Lips')
Array[y+=1] = new sElement('Actual Price',x+=1,'548','Ancient Tooth')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Animal Gore')
Array[y+=1] = new sElement('Actual Price',x+=1,'36','Animal Skin')
Array[y+=1] = new sElement('Actual Price',x+=1,'2000','Anodyne')
Array[y+=1] = new sElement('Actual Price',x+=1,'928','Anolian Skin')
Array[y+=1] = new sElement('Actual Price',x+=1,'232','Ant Jaw')
Array[y+=1] = new sElement('Actual Price',x+=1,'30000','Anvil')
Array[y+=1] = new sElement('Actual Price',x+=1,'14','Apple')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Apple Juice')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Apple o Archer')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Aquamarine')
Array[y+=1] = new sElement('Actual Price',x+=1,'48000','Arbalest')
Array[y+=1] = new sElement('Actual Price',x+=1,'45000','Arc Wand')
Array[y+=1] = new sElement('Actual Price',x+=1,'0','Arrow')
Array[y+=1] = new sElement('Actual Price',x+=1,'1500','Awakening Potion')
Array[y+=1] = new sElement('Actual Price',x+=1,'500','Axe')
Array[y+=1] = new sElement('Actual Price',x+=1,'1500','Backpack')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','BallnChain')
Array[y+=1] = new sElement('Actual Price',x+=1,'14','Banana')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Banana Juice')
Array[y+=1] = new sElement('Actual Price',x+=1,'400','Bandana')
Array[y+=1] = new sElement('Actual Price',x+=1,'6000','Baphomet Doll')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Bark Shorts')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Barren Trunk')
Array[y+=1] = new sElement('Actual Price',x+=1,'22500','Bastard Sword')
Array[y+=1] = new sElement('Actual Price',x+=1,'5400','Battle Axe')
Array[y+=1] = new sElement('Actual Price',x+=1,'184','Bears Footskin')
Array[y+=1] = new sElement('Actual Price',x+=1,'32','Bee Sting')
Array[y+=1] = new sElement('Actual Price',x+=1,'20000','Belt')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Berserk Potion')
Array[y+=1] = new sElement('Actual Price',x+=1,'64','Bill of Birds')
Array[y+=1] = new sElement('Actual Price',x+=1,'9000','Biretta')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Bitter Herb')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Black Dyestuffs')
Array[y+=1] = new sElement('Actual Price',x+=1,'292','Black Hair')
Array[y+=1] = new sElement('Actual Price',x+=1,'500','Black Ladle')
Array[y+=1] = new sElement('Actual Price',x+=1,'2900','Blade')
Array[y+=1] = new sElement('Actual Price',x+=1,'600','Blue Gemstone')
Array[y+=1] = new sElement('Actual Price',x+=1,'342','Blue Hair')
Array[y+=1] = new sElement('Actual Price',x+=1,'60','Blue Herb')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Blue Potion')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Bone Helm')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Bookclip in Memory')
Array[y+=1] = new sElement('Actual Price',x+=1,'18000','Boots')
Array[y+=1] = new sElement('Actual Price',x+=1,'2000','Bouquet')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Bow')
Array[y+=1] = new sElement('Actual Price',x+=1,'800','Brigan')
Array[y+=1] = new sElement('Actual Price',x+=1,'65000','Broad Sword')
Array[y+=1] = new sElement('Actual Price',x+=1,'450','Broken Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Broken Turtle Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'14000','Buckler')
Array[y+=1] = new sElement('Actual Price',x+=1,'430','Bug Leg')
Array[y+=1] = new sElement('Actual Price',x+=1,'500','Burnt Tree')
Array[y+=1] = new sElement('Actual Price',x+=1,'34000','Buster')
Array[y+=1] = new sElement('Actual Price',x+=1,'300','Butterfly Wing')
Array[y+=1] = new sElement('Actual Price',x+=1,'200','Cacao')
Array[y+=1] = new sElement('Actual Price',x+=1,'82','Cactus Needle')
Array[y+=1] = new sElement('Actual Price',x+=1,'10','Candy')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Candy Cane')
Array[y+=1] = new sElement('Actual Price',x+=1,'12000','Cap')
Array[y+=1] = new sElement('Actual Price',x+=1,'14','Carrot')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Carrot Juice')
Array[y+=1] = new sElement('Actual Price',x+=1,'23000','Chain')
Array[y+=1] = new sElement('Actual Price',x+=1,'65000','Chain Mail')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','China')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Chivalry Emblem')
Array[y+=1] = new sElement('Actual Price',x+=1,'500','Chocolate')
Array[y+=1] = new sElement('Actual Price',x+=1,'1800','Chonchon Doll')
Array[y+=1] = new sElement('Actual Price',x+=1,'8','Chrysalis')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Chung Jah')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Cigar')
Array[y+=1] = new sElement('Actual Price',x+=1,'7500','Circlet')
Array[y+=1] = new sElement('Actual Price',x+=1,'158','Clam Flesh')
Array[y+=1] = new sElement('Actual Price',x+=1,'56','Clam Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'208','Claw of Desert Wolf')
Array[y+=1] = new sElement('Actual Price',x+=1,'466','Claw of Monkey')
Array[y+=1] = new sElement('Actual Price',x+=1,'748','Claw of Rat')
Array[y+=1] = new sElement('Actual Price',x+=1,'74000','Claymore')
Array[y+=1] = new sElement('Actual Price',x+=1,'30000','Clip')
Array[y+=1] = new sElement('Actual Price',x+=1,'10','Clover')
Array[y+=1] = new sElement('Actual Price',x+=1,'120','Club')
Array[y+=1] = new sElement('Actual Price',x+=1,'500','Coal')
Array[y+=1] = new sElement('Actual Price',x+=1,'22000','Coat')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Cobaltblue Dyestuffs')
Array[y+=1] = new sElement('Actual Price',x+=1,'184','Cobweb')
Array[y+=1] = new sElement('Actual Price',x+=1,'2500','Composite Bow')
Array[y+=1] = new sElement('Actual Price',x+=1,'800','Concentration Potion')
Array[y+=1] = new sElement('Actual Price',x+=1,'158','Conch')
Array[y+=1] = new sElement('Actual Price',x+=1,'772','Coral Reef')
Array[y+=1] = new sElement('Actual Price',x+=1,'10','Cotton Shirts')
Array[y+=1] = new sElement('Actual Price',x+=1,'200','Counteragent')
Array[y+=1] = new sElement('Actual Price',x+=1,'90','Crab Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Cracked Diamond')
Array[y+=1] = new sElement('Actual Price',x+=1,'17000','Cross Bow')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Crystal Arrow')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Crystal Blue')
Array[y+=1] = new sElement('Actual Price',x+=1,'30000','Crystal Mirror')
Array[y+=1] = new sElement('Actual Price',x+=1,'412','Cultish Masque')
Array[y+=1] = new sElement('Actual Price',x+=1,'500','Cursed Ruby')
Array[y+=1] = new sElement('Actual Price',x+=1,'1250','Cutter')
Array[y+=1] = new sElement('Actual Price',x+=1,'320','Cyfar')
Array[y+=1] = new sElement('Actual Price',x+=1,'250','Daenggie')
Array[y+=1] = new sElement('Actual Price',x+=1,'14000','Dagger')
Array[y+=1] = new sElement('Actual Price',x+=1,'49000','Damascus')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Darkgreen Dyestuffs')
Array[y+=1] = new sElement('Actual Price',x+=1,'50','Dead Branch')
Array[y+=1] = new sElement('Actual Price',x+=1,'528','Dead Medusa')
Array[y+=1] = new sElement('Actual Price',x+=1,'82','Decayed Nail')
Array[y+=1] = new sElement('Actual Price',x+=1,'450','Detonator')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Detrimindexta')
Array[y+=1] = new sElement('Actual Price',x+=1,'45000','Diamond Ring')
Array[y+=1] = new sElement('Actual Price',x+=1,'8500','Dirk')
Array[y+=1] = new sElement('Actual Price',x+=1,'3500','Diver Goggles')
Array[y+=1] = new sElement('Actual Price',x+=1,'292','Dokkaebi Horn')
Array[y+=1] = new sElement('Actual Price',x+=1,'484','Dragon Canine')
Array[y+=1] = new sElement('Actual Price',x+=1,'500','Dragon Scale')
Array[y+=1] = new sElement('Actual Price',x+=1,'1200','Dragon Tail')
Array[y+=1] = new sElement('Actual Price',x+=1,'196','Earthworm Peeling')
Array[y+=1] = new sElement('Actual Price',x+=1,'232','Elder Pixies Moustache')
Array[y+=1] = new sElement('Actual Price',x+=1,'4','Elunium')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Emerald')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Emperium')
Array[y+=1] = new sElement('Actual Price',x+=1,'4','Empty Bottle')
Array[y+=1] = new sElement('Actual Price',x+=1,'10','Empty Potion Bottle')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Empty Test Tube')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Emveretarcon')
Array[y+=1] = new sElement('Actual Price',x+=1,'1020','Evil Horn')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Eye Patch')
Array[y+=1] = new sElement('Actual Price',x+=1,'306','Fabric')
Array[y+=1] = new sElement('Actual Price',x+=1,'1500','Falchion')
Array[y+=1] = new sElement('Actual Price',x+=1,'680','Fang')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Fang of Hatii')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Fat Chubby Earthworm')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Feather')
Array[y+=1] = new sElement('Actual Price',x+=1,'10','Feather of Birds')
Array[y+=1] = new sElement('Actual Price',x+=1,'412','Fin')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Fire Arrow')
Array[y+=1] = new sElement('Actual Price',x+=1,'196','Fish Tail')
Array[y+=1] = new sElement('Actual Price',x+=1,'16000','Flail')
Array[y+=1] = new sElement('Actual Price',x+=1,'60000','Flamberge')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Flame Heart')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Flower')
Array[y+=1] = new sElement('Actual Price',x+=1,'1500','Flower Ring')
Array[y+=1] = new sElement('Actual Price',x+=1,'300','Flu Mask')
Array[y+=1] = new sElement('Actual Price',x+=1,'8','Fluff')
Array[y+=1] = new sElement('Actual Price',x+=1,'60','Fly Wing')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Four Leaf Clover')
Array[y+=1] = new sElement('Actual Price',x+=1,'250','Frill')
Array[y+=1] = new sElement('Actual Price',x+=1,'80000','Full Plate')
Array[y+=1] = new sElement('Actual Price',x+=1,'42000','Gakkung')
Array[y+=1] = new sElement('Actual Price',x+=1,'40','Garlet')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Garnet')
Array[y+=1] = new sElement('Actual Price',x+=1,'20000','Geek Glasses')
Array[y+=1] = new sElement('Actual Price',x+=1,'50000','Gemmed Sallet')
Array[y+=1] = new sElement('Actual Price',x+=1,'342','Gill')
Array[y+=1] = new sElement('Actual Price',x+=1,'43000','Gladius')
Array[y+=1] = new sElement('Actual Price',x+=1,'20000','Glaive')
Array[y+=1] = new sElement('Actual Price',x+=1,'1500','Glass Bead')
Array[y+=1] = new sElement('Actual Price',x+=1,'4000','Glasses')
Array[y+=1] = new sElement('Actual Price',x+=1,'528','Glitter Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'30000','Glove')
Array[y+=1] = new sElement('Actual Price',x+=1,'300000','Golden Anvil')
Array[y+=1] = new sElement('Actual Price',x+=1,'430','Golden Hair')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Golden Hammer')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Grampa Beard')
Array[y+=1] = new sElement('Actual Price',x+=1,'200','Grape')
Array[y+=1] = new sElement('Actual Price',x+=1,'250','Grape Juice')
Array[y+=1] = new sElement('Actual Price',x+=1,'36','Grasshoppers Leg')
Array[y+=1] = new sElement('Actual Price',x+=1,'10000','Great Bow')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Great Nature')
Array[y+=1] = new sElement('Actual Price',x+=1,'10','Green Herb')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Green Live')
Array[y+=1] = new sElement('Actual Price',x+=1,'40','Green Potion')
Array[y+=1] = new sElement('Actual Price',x+=1,'306','Grit')
Array[y+=1] = new sElement('Actual Price',x+=1,'500','Guard')
Array[y+=1] = new sElement('Actual Price',x+=1,'13000','Guisarme')
Array[y+=1] = new sElement('Actual Price',x+=1,'50000','Haedonggum')
Array[y+=1] = new sElement('Actual Price',x+=1,'54000','Hallberd')
Array[y+=1] = new sElement('Actual Price',x+=1,'15500','Hammer')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Hand-made Chocolate')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Hat')
Array[y+=1] = new sElement('Actual Price',x+=1,'264','Heart of Mermaid')
Array[y+=1] = new sElement('Actual Price',x+=1,'44000','Helm')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Heroic Emblem')
Array[y+=1] = new sElement('Actual Price',x+=1,'150','Hinalle Leaflet')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Holy Water')
Array[y+=1] = new sElement('Actual Price',x+=1,'500','Honey')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Hood')
Array[y+=1] = new sElement('Actual Price',x+=1,'106','Horn')
Array[y+=1] = new sElement('Actual Price',x+=1,'800','Horrendous Hair')
Array[y+=1] = new sElement('Actual Price',x+=1,'390','Horrendous Mouth')
Array[y+=1] = new sElement('Actual Price',x+=1,'588','Horseshoe')
Array[y+=1] = new sElement('Actual Price',x+=1,'64000','Hunter Bow')
Array[y+=1] = new sElement('Actual Price',x+=1,'150','Ice Cream')
Array[y+=1] = new sElement('Actual Price',x+=1,'660','Ice Cubic')
Array[y+=1] = new sElement('Actual Price',x+=1,'374','Immortal Heart')
Array[y+=1] = new sElement('Actual Price',x+=1,'114','Insect Feeler')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Iron')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Iron Arrow')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Iron Hammer')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Iron Ore')
Array[y+=1] = new sElement('Actual Price',x+=1,'374','Jack o Pumpkin')
Array[y+=1] = new sElement('Actual Price',x+=1,'200','Jacket')
Array[y+=1] = new sElement('Actual Price',x+=1,'37200','Jamadhar')
Array[y+=1] = new sElement('Actual Price',x+=1,'150','Javelin')
Array[y+=1] = new sElement('Actual Price',x+=1,'6','Jellopy')
Array[y+=1] = new sElement('Actual Price',x+=1,'19500','Jur')
Array[y+=1] = new sElement('Actual Price',x+=1,'2000','Kafra Pass')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Karvodailnirol')
Array[y+=1] = new sElement('Actual Price',x+=1,'2000','Katana')
Array[y+=1] = new sElement('Actual Price',x+=1,'41000','Katar')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Key of Clock Tower')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Key of Underground')
Array[y+=1] = new sElement('Actual Price',x+=1,'50','Knife')
Array[y+=1] = new sElement('Actual Price',x+=1,'60000','Lance')
Array[y+=1] = new sElement('Actual Price',x+=1,'250','Lantern')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Lemon Dyestuffs')
Array[y+=1] = new sElement('Actual Price',x+=1,'528','Little Evil Horn')
Array[y+=1] = new sElement('Actual Price',x+=1,'2000','Little Evil Wing')
Array[y+=1] = new sElement('Actual Price',x+=1,'1600','Mace')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Mage Coat')
Array[y+=1] = new sElement('Actual Price',x+=1,'40','Magnifier')
Array[y+=1] = new sElement('Actual Price',x+=1,'2400','Main Gauche')
Array[y+=1] = new sElement('Actual Price',x+=1,'658','Manacles')
Array[y+=1] = new sElement('Actual Price',x+=1,'196','Mane')
Array[y+=1] = new sElement('Actual Price',x+=1,'196','Maneater Blossom')
Array[y+=1] = new sElement('Actual Price',x+=1,'208','Maneater Root')
Array[y+=1] = new sElement('Actual Price',x+=1,'32000','Manteau')
Array[y+=1] = new sElement('Actual Price',x+=1,'196','Mantis Scythe')
Array[y+=1] = new sElement('Actual Price',x+=1,'10000','Mantle')
Array[y+=1] = new sElement('Actual Price',x+=1,'840','Mastela Fruit')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Matchstick')
Array[y+=1] = new sElement('Actual Price',x+=1,'54','Meat')
Array[y+=1] = new sElement('Actual Price',x+=1,'300','Memento')
Array[y+=1] = new sElement('Actual Price',x+=1,'24','Milk')
Array[y+=1] = new sElement('Actual Price',x+=1,'150','Mini Furnace')
Array[y+=1] = new sElement('Actual Price',x+=1,'60000','Mirror Shield')
Array[y+=1] = new sElement('Actual Price',x+=1,'200','Mixture')
Array[y+=1] = new sElement('Actual Price',x+=1,'210','Mole Claw')
Array[y+=1] = new sElement('Actual Price',x+=1,'106','Mole Whiskers')
Array[y+=1] = new sElement('Actual Price',x+=1,'60','Monsters Feed')
Array[y+=1] = new sElement('Actual Price',x+=1,'41000','Morning Star')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Morroc Solution')
Array[y+=1] = new sElement('Actual Price',x+=1,'138','Moth Dust')
Array[y+=1] = new sElement('Actual Price',x+=1,'200','Moth Wings')
Array[y+=1] = new sElement('Actual Price',x+=1,'466','Mould Powder')
Array[y+=1] = new sElement('Actual Price',x+=1,'876','Mud Lump')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Muffler')
Array[y+=1] = new sElement('Actual Price',x+=1,'36','Mushroom Spore')
Array[y+=1] = new sElement('Actual Price',x+=1,'10','Mute Arrow')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Mystic Frozen')
Array[y+=1] = new sElement('Actual Price',x+=1,'56000','Necklace')
Array[y+=1] = new sElement('Actual Price',x+=1,'796','Needle of Alarm')
Array[y+=1] = new sElement('Actual Price',x+=1,'650','Nine Tails')
Array[y+=1] = new sElement('Actual Price',x+=1,'114','Nipper')
Array[y+=1] = new sElement('Actual Price',x+=1,'568','Nose Ring')
Array[y+=1] = new sElement('Actual Price',x+=1,'400','Novice Armlet')
Array[y+=1] = new sElement('Actual Price',x+=1,'658','Ogre Tooth')
Array[y+=1] = new sElement('Actual Price',x+=1,'196','Old Frying Pan')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Old Magicbook')
Array[y+=1] = new sElement('Actual Price',x+=1,'1500','Old Portrait')
Array[y+=1] = new sElement('Actual Price',x+=1,'800','Old Shuriken')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Opal')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Ora Ora')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Orange Dyestuffs')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Orange Gooey Mushroom')
Array[y+=1] = new sElement('Actual Price',x+=1,'200','Orange Potion')
Array[y+=1] = new sElement('Actual Price',x+=1,'168','Orc Claw')
Array[y+=1] = new sElement('Actual Price',x+=1,'168','Orcish Voucher')
Array[y+=1] = new sElement('Actual Price',x+=1,'220','Orcs Fang')
Array[y+=1] = new sElement('Actual Price',x+=1,'4','Oridecon')
Array[y+=1] = new sElement('Actual Price',x+=1,'120000','Oridecon Anvil')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Oridecon Hammer')
Array[y+=1] = new sElement('Actual Price',x+=1,'6000','Osiris Doll')
Array[y+=1] = new sElement('Actual Price',x+=1,'48000','Padded Armor')
Array[y+=1] = new sElement('Actual Price',x+=1,'500','Panacea')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Pantie')
Array[y+=1] = new sElement('Actual Price',x+=1,'27000','Partizan')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Payon Solution')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Pearl')
Array[y+=1] = new sElement('Actual Price',x+=1,'2500','Pet Food')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Pet Incubator')
Array[y+=1] = new sElement('Actual Price',x+=1,'200','Phracon')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Piece of Cake')
Array[y+=1] = new sElement('Actual Price',x+=1,'168','Piece of Egg Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Pierrot Nose')
Array[y+=1] = new sElement('Actual Price',x+=1,'3450','Pike')
Array[y+=1] = new sElement('Actual Price',x+=1,'70','Pointed Scale')
Array[y+=1] = new sElement('Actual Price',x+=1,'114','Poison Spore')
Array[y+=1] = new sElement('Actual Price',x+=1,'158','Porcupine Quill')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Poring Doll')
Array[y+=1] = new sElement('Actual Price',x+=1,'90','Powder of Butterfly')
Array[y+=1] = new sElement('Actual Price',x+=1,'14','Pumkin')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Puppet')
Array[y+=1] = new sElement('Actual Price',x+=1,'24000','Purple Glasses')
Array[y+=1] = new sElement('Actual Price',x+=1,'106','Raccoon Leaf')
Array[y+=1] = new sElement('Actual Price',x+=1,'7000','Racoon Doll')
Array[y+=1] = new sElement('Actual Price',x+=1,'90','Rainbow Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'10000','Rapier')
Array[y+=1] = new sElement('Actual Price',x+=1,'52','Rat Tail')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Red Blood')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Red Frame')
Array[y+=1] = new sElement('Actual Price',x+=1,'700','Red Gemstone')
Array[y+=1] = new sElement('Actual Price',x+=1,'18','Red Herb')
Array[y+=1] = new sElement('Actual Price',x+=1,'50','Red Potion')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Red Socks with Holes')
Array[y+=1] = new sElement('Actual Price',x+=1,'802','Reins')
Array[y+=1] = new sElement('Actual Price',x+=1,'50','Reptile Tongue')
Array[y+=1] = new sElement('Actual Price',x+=1,'128','Resin')
Array[y+=1] = new sElement('Actual Price',x+=1,'800','Ribbon')
Array[y+=1] = new sElement('Actual Price',x+=1,'24000','Ring pommel Saber')
Array[y+=1] = new sElement('Actual Price',x+=1,'4000','Rocker Doll')
Array[y+=1] = new sElement('Actual Price',x+=1,'2000','Rocker Glasses')
Array[y+=1] = new sElement('Actual Price',x+=1,'50','Rod')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Romantic Leaf')
Array[y+=1] = new sElement('Actual Price',x+=1,'15000','Rosary')
Array[y+=1] = new sElement('Actual Price',x+=1,'358','Rotten Bandage')
Array[y+=1] = new sElement('Actual Price',x+=1,'2500','Rotten Fish')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Rouge')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Rough Elunium')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Rough Oridecon')
Array[y+=1] = new sElement('Actual Price',x+=1,'3000','Rough Wind')
Array[y+=1] = new sElement('Actual Price',x+=1,'954','Round Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'7000','Royal Jelly')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Ruby')
Array[y+=1] = new sElement('Actual Price',x+=1,'49000','Saber')
Array[y+=1] = new sElement('Actual Price',x+=1,'54000','Saints Robe')
Array[y+=1] = new sElement('Actual Price',x+=1,'400','Sandals')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Sapphire')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Sardonyx')
Array[y+=1] = new sElement('Actual Price',x+=1,'466','Scale Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'6500','Scapulare')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Scarlet Dyestuffs')
Array[y+=1] = new sElement('Actual Price',x+=1,'160','Scell')
Array[y+=1] = new sElement('Actual Price',x+=1,'17000','Scimiter')
Array[y+=1] = new sElement('Actual Price',x+=1,'232','Scorpion Nipper')
Array[y+=1] = new sElement('Actual Price',x+=1,'168','Scorpion Tail')
Array[y+=1] = new sElement('Actual Price',x+=1,'820','Sea-otter Fur')
Array[y+=1] = new sElement('Actual Price',x+=1,'250','Sharp scale')
Array[y+=1] = new sElement('Actual Price',x+=1,'12','Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'56000','Shield')
Array[y+=1] = new sElement('Actual Price',x+=1,'466','Shining Scale')
Array[y+=1] = new sElement('Actual Price',x+=1,'3500','Shoes')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Shoot')
Array[y+=1] = new sElement('Actual Price',x+=1,'278','Short Daenggie')
Array[y+=1] = new sElement('Actual Price',x+=1,'8000','Silk Robe')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Silver Arrow')
Array[y+=1] = new sElement('Actual Price',x+=1,'20000','Silver Ring')
Array[y+=1] = new sElement('Actual Price',x+=1,'7000','Silver Robe')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Singing Plant')
Array[y+=1] = new sElement('Actual Price',x+=1,'46','Single Cell')
Array[y+=1] = new sElement('Actual Price',x+=1,'10000','Single Glass')
Array[y+=1] = new sElement('Actual Price',x+=1,'232','Skel-Bone')
Array[y+=1] = new sElement('Actual Price',x+=1,'1700','Skirt of Virgin')
Array[y+=1] = new sElement('Actual Price',x+=1,'1294','Skull')
Array[y+=1] = new sElement('Actual Price',x+=1,'10000','Skull Ring')
Array[y+=1] = new sElement('Actual Price',x+=1,'15000','Slayer')
Array[y+=1] = new sElement('Actual Price',x+=1,'9000','Smasher')
Array[y+=1] = new sElement('Actual Price',x+=1,'64','Snails Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'82','Snake Scale')
Array[y+=1] = new sElement('Actual Price',x+=1,'448','Solid Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'148','Spawn')
Array[y+=1] = new sElement('Actual Price',x+=1,'1700','Spear')
Array[y+=1] = new sElement('Actual Price',x+=1,'2500','Spoon Stub')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Spore Doll')
Array[y+=1] = new sElement('Actual Price',x+=1,'264','Squid Ink')
Array[y+=1] = new sElement('Actual Price',x+=1,'9500','Staff')
Array[y+=1] = new sElement('Actual Price',x+=1,'1500','Star Crumb')
Array[y+=1] = new sElement('Actual Price',x+=1,'1500','Star Dust')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Steel')
Array[y+=1] = new sElement('Actual Price',x+=1,'58','Stem')
Array[y+=1] = new sElement('Actual Price',x+=1,'70','Sticky Mucus')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Sticky Webfoot')
Array[y+=1] = new sElement('Actual Price',x+=1,'19500','Stiletto')
Array[y+=1] = new sElement('Actual Price',x+=1,'168','Stinky Scale')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Stone Arrow')
Array[y+=1] = new sElement('Actual Price',x+=1,'640','Stone Fragment')
Array[y+=1] = new sElement('Actual Price',x+=1,'184','Stone Heart')
Array[y+=1] = new sElement('Actual Price',x+=1,'60000','Stunner')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Sunglasses')
Array[y+=1] = new sElement('Actual Price',x+=1,'14','Sweet Potato')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Sword')
Array[y+=1] = new sElement('Actual Price',x+=1,'50000','Sword Mace')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Talon')
Array[y+=1] = new sElement('Actual Price',x+=1,'220','Tendon')
Array[y+=1] = new sElement('Actual Price',x+=1,'70','Tentacle')
Array[y+=1] = new sElement('Actual Price',x+=1,'74000','Thief Clothes')
Array[y+=1] = new sElement('Actual Price',x+=1,'548','Tiger Skin')
Array[y+=1] = new sElement('Actual Price',x+=1,'1500','Tigers Footskin')
Array[y+=1] = new sElement('Actual Price',x+=1,'71000','Tights')
Array[y+=1] = new sElement('Actual Price',x+=1,'20','Tiny Egg Shell')
Array[y+=1] = new sElement('Actual Price',x+=1,'528','Tongue')
Array[y+=1] = new sElement('Actual Price',x+=1,'32','Tooth of Bat')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Topaz')
Array[y+=1] = new sElement('Actual Price',x+=1,'412','Tough Scalelike Stem')
Array[y+=1] = new sElement('Actual Price',x+=1,'100','Trap')
Array[y+=1] = new sElement('Actual Price',x+=1,'12','Tree Root')
Array[y+=1] = new sElement('Actual Price',x+=1,'51000','Trident')
Array[y+=1] = new sElement('Actual Price',x+=1,'60','Trunk')
Array[y+=1] = new sElement('Actual Price',x+=1,'51000','Tsurugi')
Array[y+=1] = new sElement('Actual Price',x+=1,'55000','Two-handed Axe')
Array[y+=1] = new sElement('Actual Price',x+=1,'60000','Two-handed Sword')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Unknown Test Tube')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Unripe Apple')
Array[y+=1] = new sElement('Actual Price',x+=1,'158','Venom Canine')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Violet Dyestuffs')
Array[y+=1] = new sElement('Actual Price',x+=1,'2500','Wand')
Array[y+=1] = new sElement('Actual Price',x+=1,'10000','Wedding Bouquet')
Array[y+=1] = new sElement('Actual Price',x+=1,'43000','Wedding Dress')
Array[y+=1] = new sElement('Actual Price',x+=1,'23000','Wedding Veil')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Well-baked Cookie')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','White Dyestuffs')
Array[y+=1] = new sElement('Actual Price',x+=1,'120','White Herb')
Array[y+=1] = new sElement('Actual Price',x+=1,'1200','White Potion')
Array[y+=1] = new sElement('Actual Price',x+=1,'1000','Wind of Verdure')
Array[y+=1] = new sElement('Actual Price',x+=1,'520','Wing of Dragonfly')
Array[y+=1] = new sElement('Actual Price',x+=1,'168','Wing of Red Bat')
Array[y+=1] = new sElement('Actual Price',x+=1,'484','Witched Starsand')
Array[y+=1] = new sElement('Actual Price',x+=1,'50000','Witherless Rose')
Array[y+=1] = new sElement('Actual Price',x+=1,'58','Wolf Claw')
Array[y+=1] = new sElement('Actual Price',x+=1,'5500','Wooden Mail')
Array[y+=1] = new sElement('Actual Price',x+=1,'52','Worm Peeling')
Array[y+=1] = new sElement('Actual Price',x+=1,'820','Worn Out Page')
Array[y+=1] = new sElement('Actual Price',x+=1,'50','Worn Out Scroll')
Array[y+=1] = new sElement('Actual Price',x+=1,'680','Worn-out Prison Uniform')
Array[y+=1] = new sElement('Actual Price',x+=1,'600','Yellow Gemstone')
Array[y+=1] = new sElement('Actual Price',x+=1,'40','Yellow Herb')
Array[y+=1] = new sElement('Actual Price',x+=1,'450','Yellow Potion')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Yggdrasil Berry')
Array[y+=1] = new sElement('Actual Price',x+=1,'4000','Yggdrasil Leaf')
Array[y+=1] = new sElement('Actual Price',x+=1,'2','Yggdrasil Seed')
Array[y+=1] = new sElement('Actual Price',x+=1,'7000','Yoyo Doll')
Array[y+=1] = new sElement('Actual Price',x+=1,'114','Yoyo Tail')
Array[y+=1] = new sElement('Actual Price',x+=1,'500','Zargon')
Array[y+=1] = new sElement('Actual Price',x+=1,'264','Zenorcs Fang')
Array[y+=1] = new sElement('Actual Price',x+=1,'5000','Zircon')

return true
}

function sElement(sParentId,sValue,sNumber,sDescription)
{	
	// elements that will be loaded into the array structure and persisted
	// think of it as an object.
	this.ParentId = sParentId
	this.Id = parseInt(sValue)
        this.OC = sNumber
	this.Description = sDescription
}

function InitializesItems()
{
	//function to enable cascading dropdowns
	//called to initialize item dropboxes.
	var iX
	var sText
	var iY= 0
	var sOptionId
	var sOptionDesc
	var iStartPos
	
	//find the value of the sItem currently selected		
	sText = "Actual Price"
		if (sText != '0')
		{
			//clear down the destination list box
	
			document.CALC.sItem1.options.length = 0                
			document.CALC.sItem2.options.length = 0                
			document.CALC.sItem3.options.length = 0                
			document.CALC.sItem4.options.length = 0                
			document.CALC.sItem5.options.length = 0                
			document.CALC.sItem6.options.length = 0                
			document.CALC.sItem7.options.length = 0                
			document.CALC.sItem8.options.length = 0
			document.CALC.sItem9.options.length = 0
			document.CALC.sItem10.options.length = 0                
			
			//loop through the elements that are in the array
			// if they match the parent if then they should be displayed.
			for (iX=0; iX<=iArrayMax; iX++) 
			{		
				if(sText == Array[iX].ParentId)
				{
				//grab the values out of the element
				sOptionDesc= Array[iX].Description
				//alert(sOptionDesc)
					
				//write the element into the dripdown box.		
				document.CALC.sItem1.options[iY] = new Option (sOptionDesc,sOptionDesc)
				document.CALC.sItem2.options[iY] = new Option (sOptionDesc,sOptionDesc)
				document.CALC.sItem3.options[iY] = new Option (sOptionDesc,sOptionDesc)
				document.CALC.sItem4.options[iY] = new Option (sOptionDesc,sOptionDesc)
				document.CALC.sItem5.options[iY] = new Option (sOptionDesc,sOptionDesc)
				document.CALC.sItem6.options[iY] = new Option (sOptionDesc,sOptionDesc)
				document.CALC.sItem7.options[iY] = new Option (sOptionDesc,sOptionDesc)
				document.CALC.sItem8.options[iY] = new Option (sOptionDesc,sOptionDesc)
				document.CALC.sItem9.options[iY] = new Option (sOptionDesc,sOptionDesc)
			      document.CALC.sItem10.options[iY] = new Option (sOptionDesc,sOptionDesc)
				iY = iY +1		
				}	
			}	
		}	
}
//optionbox, textbox, currently selected option value, textbox value
function CalculatesItem(sItem, Result, OCpercent, Multiplier)
{
	
	var iX
	var sText = sItem.options[sItem.selectedIndex].value
	var iY= 0
	var sTextDesc
	var iStartPos
	var nMath = 0
	var sHolder = OCpercent

	//find the value of the sItem currently selected		
	if (sText!=0)
	{
		//clear down the destination text box
		Result.length = 0
			
		//loop through the elements that are in the array
		// if they match the parent if then they should be displayed.
		for (iX=0; iX<=iArrayMax; iX++) 
		{		
			if(sText == Array[iX].Description)
			{
			//grab the values out of the element

// new (suggested) function

			sOptionId = Array[iX].Id
			sTextDesc= Array[iX].OC
			
		      if (sHolder < 50) {
			var myocval = 0
			if (sHolder == "1") {myocval = 2} else {
			 myocval = (((parseFloat(sHolder))*.01)+1);
			}

			if ((sTextDesc*.5) >= 5) {
			 var peritemprice = 0
			 peritemprice = Math.floor((sTextDesc*myocval)*.5);
			 nMath = (peritemprice*Multiplier);
			} else {
			 nMath = Math.floor(((sTextDesc*.5)*Multiplier));
			}
		      } else {
		        var myocval = 0
			if (sHolder == "1") {myocval = 1} else {
			 myocval = (((parseFloat(sHolder))*.01));
			}
			 var peritemprice = 0
			 peritemprice = Math.floor((sTextDesc*myocval));
			 nMath = (peritemprice*Multiplier);
		      }


// old function follows
/*			sOptionId = Array[iX].Id
			sTextDesc= Array[iX].OC
			if (sHolder=="1"){nMath = sTextDesc*Multiplier}
			if (sHolder=="2"){nMath=sTextDesc*.5*1.05*Multiplier}
			if (sHolder=="3"){nMath=sTextDesc*.5*1.06*Multiplier}
			if (sHolder=="4"){nMath=sTextDesc*.5*1.07*Multiplier}
			if (sHolder=="5"){nMath=sTextDesc*.5*1.08*Multiplier}
			if (sHolder=="6"){nMath=sTextDesc*.5*1.09*Multiplier}
			if (sHolder=="7"){nMath=sTextDesc*.5*1.10*Multiplier}
			if (sHolder=="8"){nMath=sTextDesc*.5*1.11*Multiplier}
			if (sHolder=="9"){nMath=sTextDesc*.5*1.12*Multiplier}
			if (sHolder=="10"){nMath=sTextDesc*.5*1.13*Multiplier}
			if (sHolder=="11"){nMath=sTextDesc*.5*1.14*Multiplier}
			if (sHolder=="12"){nMath=sTextDesc*.5*1.15*Multiplier}
			if (sHolder=="13"){nMath=sTextDesc*.5*1.16*Multiplier}
			if (sHolder=="14"){nMath=sTextDesc*.5*1.17*Multiplier}
			if (sHolder=="15"){nMath=sTextDesc*.5*1.18*Multiplier}
			if (sHolder=="16"){nMath=sTextDesc*.5*1.19*Multiplier}
			if (sHolder=="17"){nMath=sTextDesc*.5*1.20*Multiplier}
			if (sHolder=="18"){nMath=sTextDesc*.5*1.21*Multiplier}
			if (sHolder=="19"){nMath=sTextDesc*.5*1.22*Multiplier}
			if (sHolder=="20"){nMath=sTextDesc*.5*1.23*Multiplier}
			if (sHolder=="21"){nMath=sTextDesc*.5*1.24*Multiplier}
			if (sHolder=="22"){nMath=sTextDesc*.5*1.25*Multiplier}
			if (sHolder=="23"){nMath=sTextDesc*.5*1.26*Multiplier}
			if (sHolder=="24"){nMath=sTextDesc*.5*1.27*Multiplier}
			if (sHolder=="25"){nMath=sTextDesc*.5*1.28*Multiplier}
			if (sHolder=="26"){nMath=sTextDesc*.5*1.29*Multiplier}
			if (sHolder=="27"){nMath=sTextDesc*.5*1.30*Multiplier}
			if (sHolder=="95"){nMath=sTextDesc*.95*Multiplier}
			if (sHolder=="94"){nMath=sTextDesc*.94*Multiplier}
			if (sHolder=="93"){nMath=sTextDesc*.93*Multiplier}
			if (sHolder=="92"){nMath=sTextDesc*.92*Multiplier}
			if (sHolder=="91"){nMath=sTextDesc*.91*Multiplier}
			if (sHolder=="90"){nMath=sTextDesc*.90*Multiplier}
			if (sHolder=="89"){nMath=sTextDesc*.89*Multiplier}
			if (sHolder=="88"){nMath=sTextDesc*.88*Multiplier}
			if (sHolder=="87"){nMath=sTextDesc*.87*Multiplier}
			if (sHolder=="86"){nMath=sTextDesc*.86*Multiplier}
			if (sHolder=="85"){nMath=sTextDesc*.85*Multiplier}
			if (sHolder=="84"){nMath=sTextDesc*.84*Multiplier}
			if (sHolder=="83"){nMath=sTextDesc*.83*Multiplier}
			if (sHolder=="82"){nMath=sTextDesc*.82*Multiplier}
			if (sHolder=="81"){nMath=sTextDesc*.81*Multiplier}
			if (sHolder=="80"){nMath=sTextDesc*.80*Multiplier}
			if (sHolder=="79"){nMath=sTextDesc*.79*Multiplier}
			if (sHolder=="78"){nMath=sTextDesc*.78*Multiplier}
			if (sHolder=="77"){nMath=sTextDesc*.77*Multiplier}
			if (sHolder=="76"){nMath=sTextDesc*.76*Multiplier}
			if (sHolder=="75"){nMath=sTextDesc*.75*Multiplier}
			if (sHolder=="74"){nMath=sTextDesc*.74*Multiplier}
			if (sHolder=="73"){nMath=sTextDesc*.73*Multiplier}
			if (sHolder=="72"){nMath=sTextDesc*.72*Multiplier}
			if (sHolder=="71"){nMath=sTextDesc*.71*Multiplier}
			if (sHolder=="70"){nMath=sTextDesc*.70*Multiplier}
*/			
			//write the element into the dripdown box.		
			Result.value = nMath;
			iY = iY +1		
			}	
		}	
	}
	if (sHolder < 50) {return(sTextDesc*.5)} else {return(sTextDesc)}
	
}


function Totalize(one, two, three, four, five, six, seven, eight, nine, ten, total)
{
	total.value=parseFloat(one.value)+parseFloat(two.value)+parseFloat(three.value)+parseFloat(four.value)+parseFloat(five.value)+parseFloat(six.value)+parseFloat(seven.value)+parseFloat(eight.value)+parseFloat(nine.value)+parseFloat(ten.value)
}

function Master(zen, boxes)
{
	boxes.Level1.selectedIndex=zen.selectedIndex
	boxes.Level2.selectedIndex=zen.selectedIndex
	boxes.Level3.selectedIndex=zen.selectedIndex
	boxes.Level4.selectedIndex=zen.selectedIndex
	boxes.Level5.selectedIndex=zen.selectedIndex
	boxes.Level6.selectedIndex=zen.selectedIndex
	boxes.Level7.selectedIndex=zen.selectedIndex
	boxes.Level8.selectedIndex=zen.selectedIndex
	boxes.Level9.selectedIndex=zen.selectedIndex
	boxes.Level10.selectedIndex=zen.selectedIndex
}
