$(document).ready(function(){ var pos = '', charname = new Array(); charname[1] ='Willowmic Odiea'; charname[2] ='Alséurei Târiel'; charname[3] ='Wildcolt'; charname[4] ='Blake Archer'; charname[5] ='Camorcha Lakoro'; charname[6] ='Danny Knox'; charname[7] ='Ethan Locke'; charname[8] ='Flynn Dakar'; charname[9] ='Cody Derringer'; charname[10] ='Zazzak Katikas'; charname[11] ='Zed'; charname[12] ='Jolyon Perenna'; charname[13] ='Eltanin'; charname[14] ='Alillia Bali'; charname[16] ='Telia Rhinehart'; charname[18] ='Dat Dem'; charname[21] ='Laleine'; charname[22] ='Patrick Altair'; charname[23] ='Daniel Ratzenberger'; charname[24] ='Roxander'; charname[25] ='Dave'; charname[26] ='Rodney Vlcek'; charname[27] ='Raphael Bradley'; charname[28] ='Takilaria'; charname[31] ='Tochodamitatsu'; charname[32] ='Tagor'; charname[36] ='Cv3tM03 (Chet)'; charname[48] ='Kyle Silverfall'; charname[51] ='Rex'; charname[53] ='Corbin'; charname[56] ='Sato Odiea'; charname[63] ='Arneb Nihal'; charname[70] ='Xirah'; charname[71] ='Fuzzle'; charname[72] ='Little John'; charname[75] ='Samuel Orion'; charname[81] ='Trenton Vect'; charname[82] ='Jacklyn Barbados'; charname[83] ='Ina Fortuna'; charname[85] ='Mittens Mane'; charname[93] ='Seth'; charname[94] ='Thomas O\'Rua'; charname[100] ='Kireyja'; charname[103] ='Rick Borne'; charname[111] ='Granite Greywacke'; charname[113] ='Claws'; charname[116] ='Cela'; charname[120] ='Nirender'; charname[121] ='Serris'; charname[122] ='Tristan'; charname[123] ='Ferral'; charname[124] ='Bryyo'; charname[127] ='Taeryn Longôné'; charname[130] ='Wiyes Domn'; charname[132] ='Rich'; charname[133] ='Shana'; charname[134] ='Leday'; charname[135] ='Amanda'; charname[136] ='Erin Smith'; charname[140] ='Alan \'Ranni\' Lockley'; charname[141] ='Dalware Bajaj'; charname[142] ='Tolimire'; charname[143] ='Willbeth Shaw'; charname[144] ='Tamarin'; charname[147] ='Vai Tiri'; charname[149] ='Rayana'; charname[152] ='Janus'; charname[156] ='Leeron Riao'; charname[158] ='Benji'; charname[159] ='Davwyn'; charname[161] ='Solaria Starwisp'; charname[163] ='Kalista Phoenix'; charname[164] ='Aeros Endeem'; charname[165] ='Tara Havil'; charname[166] ='Imari Wen'; charname[168] ='Aiden Deirri'; charname[169] ='Fenrees'; charname[178] ='Hâlian'; charname[180] ='Ken Boshino'; charname[182] ='Jackson Cousteau'; charname[183] ='Cbear'; charname[185] ='Jessica Eisenhower'; charname[191] ='Alina Dakar'; charname[194] ='Xander'; charname[195] ='Asalis R. Jenkins'; charname[197] ='Edith'; charname[198] ='John'; charname[199] ='Weaver'; charname[200] ='Brenner'; charname[201] ='Penumbra'; charname[202] ='Hawking'; charname[203] ='Andromeda'; charname[204] ='Shelby Mustaine'; charname[206] ='Terrance'; charname[207] ='Lance'; charname[209] ='Violet Avery Yeager'; charname[210] ='Exsia'; charname[211] ='Rhemoraz'; charname[213] ='Sirris'; charname[214] ='Alto'; charname[217] ='Umbra Starwisp'; charname[219] ='sebastian'; charname[220] ='Luma Starwisp'; charname[223] ='Mister'; charname[224] ='Alvis Michael Corbyn IV'; function startform(raw,raw2) { return ''; } $('.selfedit').click(function(){ pos = $(this).attr('pos'); $('#editor').prop('style','width: 30%; left: 35%; top: 35%; text-align: left;'); $('#editor').fadeIn(); $('#charname').text(charname[$(this).attr('charid')]); $('#editorform').html(startform($(this).attr('charid')) + 'Quit
'); }); $('.appedit').click(function(){ pos = $(this).attr('pos'); $('#editor').prop('style','width: 30%; left: 35%; top: 35%; text-align: left;'); $('#editor').fadeIn(); $('#charname').text(charname[$(this).attr('charid')]); $('#editorform').html(startform($(this).attr('charid')) + '
Deny
Accept
'); }); $('.busiedit').click(function(){ pos = $(this).attr('pos'); $('#editor').prop('style','width: 30%; left: 35%; top: 35%; text-align: left;'); $('#editor').fadeIn(); $('#charname').text(charname[$(this).attr('charid')]); var outputdata = startform($(this).attr('charid')) + '
'; $('#editorform').html(outputdata); }); $('#hidedisplay').on('click', function(){ $('#editor').fadeOut(); }); $('.busilink').slideDown(); $('.selfcancel').click(function(){ pos = $(this).attr('pos'); $('#editor').prop('style','width: 30%; left: 35%; top: 35%; text-align: left;'); $('#editor').fadeIn(); $('#charname').text(charname[$(this).attr('charid')]); $('#editorform').html(startform($(this).attr('charid')) + 'Stop Regular Use
'); }); $('.cusapp').click(function(){ pos = $(this).attr('pos'); $('#editor').prop('style','width: 30%; left: 35%; top: 35%; text-align: left;'); $('#editor').fadeIn(); $('#charname').text(charname[$(this).attr('charid')]); var outputdata = startform($(this).attr('charid')) + '
Deny
'; $('#editorform').html(outputdata); }); });