Outfiter/Code

<noinclude>CSS
.outfiter .hide {
 height: 0;
 overflow: hidden;
}
.outfiter .clear {
 clear: both
}
.outfiter label {
 cursor: pointer;
 display: block;
}
.outfiter label.sep {
 margin-top: 13px;
}
.outfiter canvas {
 border: 1px solid green;
}
.outfiter input[type="button"], .outfiter .button {
 cursor: pointer;
 display: inline-block;
 height: 20px;
 margin-left: 1px !important;
 margin-right: 1px !important;
 padding: 0;
}
.outfiter .no_pointer {
 cursor: auto;
}
.outfiter .nbutton {
 box-shadow: none !important; -webkit-box-shadow: none !important; -moz-box-shadow: none !important;
 border-radius: 0px !important; -moz-border-radius: 0 !important; -webkit-border-radius: 0px !important;
 padding: 0 !important;
 line-height: 1 !important;
 height: auto !important;
}
.outfiter .outfit_name, .outfiter .pushed, .outfiter .unpushed, .outfiter .div4, .outfiter .div4list, .outfiter .divcheck, .outfiter .darkchk {
 border: 1px solid !important ;
}
.outfiter .div91 {
 width: 140px;
}
.outfiter .div91, .outfiter .div911 { margin-bottom: 13px; }
.outfiter .div913 { margin-bottom: 2px; }
.outfiter .pushed, .outfiter .unpushed {
 font: bold 9px Verdana, Arial !important ;
 padding: 3px 0 4px !important ;
}
.outfiter .nbutton, .outfiter .body_main {
 margin-bottom: 4px;
}
.outfiter .nbutton.clear_name {
 margin-bottom: 0;
}
.outfiter .charn {
 margin-top: 2px;
 margin-bottom: 3px;
 outline: 0;
 padding: 3px 0 !important;
 width: 110px;
}
.outfiter .template_code {
 width: 100px;
}
.outfiter .template_code_code {
 margin: 4px auto;
 width: 92%;
}
.outfiter .list_el {
 margin-top: 4px;
 padding: 0 2px 0 2px;
}
.outfiter .list_el:first-child {
 margin-top: 0;
}
.outfiter .div4list input {
 margin-left: 0;
 margin-top: 0;
}
.outfiter .list_el .t {
 display: inline-block;
 max-width: 92px;
}
.outfiter .border_top {
 border-top: 2px solid #757575;
 margin: 7px 0;
}
.outfiter .border_top + .list_el {
 margin-top: 0;
}
.outfiter .outfit_name, .outfiter .pushed, .outfiter .unpushed, .outfiter .darkchk { color: #bfbfbf !important ; }
.outfiter .outfit_name {
 margin: 0 2px;
 padding: 3px 0 3px 0;
}
.outfiter .div4 { padding: 15px 14px 6px; }
.outfiter .div4list {
 padding: 3px 0;
 overflow: auto;
}
.outfiter .divcheck {
 color: #afafaf;
 font: bold 10px/18px Verdana, Arial;
 margin: 0 0 4px 0;
 padding: 0 0 0 3px;
}
.outfiter .divcheck.disabled {
 text-decoration: line-through;
}
.outfiter .div1, .outfiter .color_table_d, .outfiter .color_table_d_inv { border: 2px solid; }
.outfiter .darkchk {
 background: #363636;
 cursor: pointer;
 height: 12px;
 vertical-align: middle;
 width: 12px;
}
.outfiter td, .outfiter .div1, .outfiter .div5, .outfiter .div55, .outfiter .div6, .outfiter .div91, .outfiter .div911, .outfiter .outfit_name {
 vertical-align: top;
}
.outfiter .outfit_name, .outfiter .pushed, .outfiter .unpushed, .outfiter .div0, .outfiter .div2, .outfiter .div5, .outfiter .div91, .outfiter .div913, .outfiter .div92 {
 text-align: center;
}
.outfiter .div4, .outfiter .div4list, .outfiter .div55, .outfiter .div6, .outfiter .divcheck {
 text-align: left;
}
.outfiter .div911 {
 float: left;
 margin: 0 10px 0 0;
}
.outfiter .show, .outfiter .outfit_name, .outfiter .pushed, .outfiter.unpushed, .outfiter .div1, .outfiter .div5, .outfiter .div55, .outfiter .div6, .outfiter .div91, .outfiter .p5, .outfiter .dcolor_table * {
 display: inline-block;
}
.outfiter .outfit_name, .outfiter .pushed, .outfiter .unpushed:active, .outfiter .pushed[disabled]:active, .outfiter .div4, .outfiter .div4list, .outfiter .divcheck, .outfiter .darkchk, .outfiter .color_table_d_inv {
 border-color: #2a2a2a #757575 #757575 #2a2a2a !important ;
}
.outfiter .unpushed, .outfiter .unpushed[disabled]:active, .outfiter .div1, .outfiter .color_table_d {
 border-color: #757575 #2a2a2a #2a2a2a #757575 !important ;
}
.outfiter .div91 .leftb.outfitm, .outfiter .div91 .rightb.outfitp {
 /*float: left;*/
}
.outfiter .nesw, .outfiter .leftb, .outfiter .leftb[disabled]:active, .outfiter .rightb, .outfiter .rightb[disabled]:active {
 border: none !important ;
 width: 20px; height: 20px;
}
.outfiter .div2, .outfiter .outfit_name {
 font: bold 10px Verdana, Arial;
 line-height: 1.2;
}
.outfiter .url_input {
 width: 90%;
}
.outfiter .w120 { width: 135px; }
.outfiter .w76 { width: 90px; }
.outfiter .w155 { width: 155px; }
.outfiter .w130 { width: 130px; }
.outfiter .w56 { width: 56px; }
.outfiter .body_main { height: 131px; width: 138px; }
.outfiter .div0 { max-width: 660px; }
.outfiter .div2 {
 color: #8f8f8f;
 line-height: 13px;
 vertical-align: middle;
}
.outfiter .p1 { padding: 1px; }
.outfiter .div4list2 { max-height: 170px; }
.outfiter .div5 { margin-right: 10px; }
.outfiter .p5 { padding: 5px; }
.outfiter .hr1 {
 border-top: 1px solid #757575;
 color: #2a2a2a;
 margin: 6px 0 9px 0;
}
.outfiter .dcolor_table {
 width: 248px;
 line-height: 8px;
 margin: 0 0 10px 0;
}
.outfiter .dcolor_table * {
 width: 8px; height: 8px;
 margin: 0 0 1px 1px;
}
HTML
 
 Mounts
 
 
 
 
 
 Outfits Shortcut
 
 
 
 
Outfit Selector
<img class="body_main show" width="128" height="128" src="http://images1.wikia.nocookie.net/tibia/en/images/8/81/Outfiter_Loading.gif" alt="" />
Head
Primary
Secondary
Detail
<label class="w120 divcheck">
<input type="checkbox" class="darkchk addon1" /> Addon 1
</label>
<label class="w120 divcheck">
<input type="checkbox" class="darkchk addon2" /> Addon 2
</label>
<label class="w120 divcheck">
<input type="checkbox" class="darkchk female" /> Female
</label>
<label class="w120 divcheck">
<input type="checkbox" class="darkchk soft" /> Soft Image
</label>
<label class="w120 divcheck">
<input type="checkbox" class="darkchk hpbar" /> HP Bar
</label>
Char name
<input type="text" size="18" value="" class="pushed url charn" />
Use Name
Clear Name
<label class="w120 divcheck">
<input type="checkbox" class="darkchk animate" /> Animate
</label>
<label class="w120 divcheck">
<input type="checkbox" class="darkchk sanim" /> Standing animation
</label>
<label class="divcheck w120 sep">
<input type="checkbox" class="darkchk anistep" /> Animation steps
</label>
<label class="divcheck w120">
<input type="checkbox" class="darkchk template_code" /> Template Code
</label>
Link:<input type="text" value="" readonly="readonly" class="pushed url url_input" />
<input type="hidden" value="0" class="outfit" />
<input type="hidden" value="0" class="mount" />
<input type="hidden" value="1" class="facing" />
<input type="hidden" value="0" class="c1" />
<input type="hidden" value="0" class="c2" />
<input type="hidden" value="0" class="c3" />
<input type="hidden" value="0" class="c4" />
<canvas class="canvas_work" width="64" height="64"></canvas>
<canvas class="canvas_zoom" width="64" height="64"></canvas>
<canvas class="canvas_main" width="512" height="6144"></canvas>
<canvas class="canvas_mount" width="256" height="1152"></canvas>
<img class="main_image" src="" alt="main_image" />
<img class="mount_image" src="" alt="mount_image" />
<img class="letters_image" alt="letters_image" src=""/>
<img class="hp_bar" alt="hp_bar" src=""/>
JS
/*global $ */
/*jslint devel: true, browser: true, indent: 2, white: true, plusplus: true, bitwise: true, vars: true, ass: true */
$('div.outfiter').each(function () {
 'use strict';
 var
 $this_main = $(this),
 outfiter_mount_names = [
 /*0*/
 'None', 'Widow_Queen', 'Racing_Bird', 'War_Bear', 'Black_Sheep',
 /*5*/
 'Midnight_Panther', 'Draptor', 'Titanica', 'Tin_Lizzard', 'Blazebringer',
 /*10*/
 'Rapid_Boar', 'Stampor', 'Undead_Cavebear', 'Crystal_Wolf', 'Dromedary',
 /*15*/
 'Kingly_Deer', 'Donkey', 'Scorpion_King', 'Tamed_Panda', 'Tiger_Slug',
 /*20*/
 'Uniwheel', 'Rented_Horse_(A)', 'Rented_Horse_(B)', 'Rented_Horse_(C)', 'Armoured_War_Horse',
 /*25*/
 'War_Horse', 'Lady_Bug', 'Manta_Ray', 'Shadow_Draptor', 'Gnarlhound',
 /*30*/
 'Dragonling', 'Magma_Crawler', 'Ironblight', 'Crimson_Ray', 'Steelbeak',
 /*35*/
 'Water_Buffalo', 'Tombstinger', 'Platesaurian', 'Ursagrodon', 'The_Hellgrip',
 /*40*/
 'Noble_Lion', 'Desert_King', 'Shock_Head', 'Walker', 'Azudocus',
 /*45*/
 'Carpacosaurus', 'Death_Crawler', 'Flamesteed', 'Jade_Lion', 'Jade_Pincer',
 /*50*/
 'Nethersteed', 'Tempest', 'Winter_King', 'Blackpelt', 'Shadow_Hart',
 /*55*/
 'Black_Stag', 'Emperor_Deer', 'Flying_Divan', 'Magic_Carpet', 'Floating_Kashmir',
 /*60*/
 'Doombringer', 'Tundra_Rambler', 'Highland_Yak', 'Glacier_Vagabond', 'Golden_Dragonfly',
 /*65*/
 'Steel_Bee', 'Copper_Fly', 'Hailstorm_Fury', 'Poisonbane', 'Siegebreaker',
 /*70*/
 'Woodland_Prince', 'Glooth_Glider', 'Ringtail_Wacoon', 'Night_Wacoon', 'Emerald_Wacoon',
 /*75*/
 'Flitterkatzen', 'Venompaw', 'Batcat', 'Sea Devil', 'Coralripper',
 /*80*/
 'Plumfish', 'Gorongra', 'Noctungra', 'Silverneck', 'Rented_Horse_(Recruiter)',
 /*85*/
 'Slagsnare', 'Nightstinger', 'Razorcreep', 'Rift_Runner', 'Nightdweller',
 /*90*/
 'Frostflare', 'Cinderhoof', 'Bloodcurl', 'Leafscuttler', 'Mouldpincer',
 /*95*/
 'Sparkion', 'Swamp_Snapper', 'Mould_Shell', 'Reed_Lurker', 'Neon_Sparkid',
 /*100*/
 'Vortexion', 'Ivory_Fang', 'Shadow_Claw', 'Snow_Pelt', 'Stone_Rhino',
 /*105*/
 'Arctic_Unicorn', 'Blazing_Unicorn', 'Prismatic_Unicorn', 'Cranium_Spider', 'Cave_Tarantula',
 /*110*/
 'Gloom_Widow', 'Mole', 'Marsh_Toad', 'Sanguine_Frog', 'Toxic_Toad',
 /*115*/
 'Fleeting_Knowledge', 'Ebony_Tiger', 'Feral_Tiger', 'Jungle_Tiger', 'Tawny_Owl',
 /*120*/
 'Snowy_Owl', 'Boreal_Owl', 'Lacewing_Moth', 'Hibernal_Moth', 'Cold_Percht_Sleigh',
 /*125*/
 'Bright_Percht_Sleigh', 'Dark_Percht_Sleigh', 'Festive_Snowman', 'Muffled_Snowman', 'Caped_Snowman',
 /*130*/
 'Rabbit_Rickshaw', 'Bunny_Dray', 'Cony_Cart'
 ], //new mounts must also be added to Outfiter/Code_Template and Template:Infobox_Mount
 outfiter_mount_names_extra = [], //mounts not on the main list
 outfiter_mount_names_sorted = [], //list will be auto populated alphabetically
 outfiter_names = [
 /*0*/
 'Citizen', 'Hunter', 'Mage', 'Knight', 'Nobleman',
 /*5*/
 'Summoner', 'Warrior', 'Barbarian', 'Druid', 'Wizard',
 /*10*/
 'Oriental', 'Pirate', 'Assassin', 'Beggar', 'Shaman',
 /*15*/
 'Norseman', 'Jester', 'Brotherhood', 'Nightmare', 'Demon_Hunter',
 /*20*/
 'Yalaharian', 'Newly_Wed', 'Warmaster', 'Wayfarer', 'Afflicted',
 /*25*/
 'Elementalist', 'Deepling', 'Insectoid', 'Entrepreneur', 'Crystal_Warlord',
 /*30*/
 'Soil_Guardian', 'Demon', 'Cave_Explorer', 'Dream_Warden', 'Jersey',
 /*35*/
 'Glooth_Engineer', 'Beastmaster', 'Champion', 'Conjurer', 'Chaos_Acolyte',
 /*40*/
 'Ranger', 'Death_Herald', 'Ceremonial_Garb', 'Puppeteer', 'Spirit_Caller',
 /*45*/
 'Evoker', 'Seaweaver', 'Recruiter', 'Sea_Dog', 'Royal_Pumpkin',
 /*50*/
 'Rift_Warrior', 'Winter_Warden', 'Philosopher', 'Arena_Champion', 'Lupine_Warden',
 /*55*/
 'Retro_Warrior', 'Retro_Summoner', 'Retro_Nobleman', 'Retro_Mage', 'Retro_Knight',
 /*60*/
 'Retro_Hunter', 'Retro_Citizen', 'Festive', 'Grove_Keeper', 'Pharaoh',
 /*65*/
 'Trophy_Hunter', 'Herbalist', 'Sun_Priest', 'Makeshift_Warrior', 'Siege_Master',
 /*70*/
 'Mercenary', 'Discoverer', 'Battle_Mage', 'Sinister_Archer', 'Pumpkin_Mummy',
 /*75*/
 'Dream_Warrior', 'Percht_Raider', 'Owl_Keeper', 'Guidon_Bearer'
 ]; //new outfits must also be added to Outfiter/Code_Template and Template:OutfiterLink
 outfiter_names[100] = 'Frog';
 outfiter_names[101] = 'Elf';
 outfiter_names[102] = 'Dwarf';
 outfiter_names[103] = 'Archdemon';
 outfiter_names[104] = 'CM';
 outfiter_names[105] = 'None';
 outfiter_names[106] = 'Barbarian_(A)';
 outfiter_names[107] = 'Barbarian_(B)';
 outfiter_names[108] = 'Barbarian_(C)';
 outfiter_names[109] = 'Barbarian_(D)';
 outfiter_names[110] = 'Gnome';
 outfiter_names[111] = 'Corym_(A)';
 outfiter_names[112] = 'Corym_(B)';
 outfiter_names[113] = 'Corym_(C)';
 outfiter_names[114] = 'Cultist';
 outfiter_names[115] = 'Demon_Hellfire';
 outfiter_names[116] = 'Demon_Ram_(A)';
 outfiter_names[117] = 'Destroyer_from_Beyond';
 outfiter_names[118] = 'Galvanic_Terror';
 outfiter_names[119] = 'Pit_Demon';
 outfiter_names[120] = 'Faun';
 outfiter_names[121] = 'Orclops_Ravager';
 outfiter_names[122] = 'Shaper';
 outfiter_names[123] = 'The_First_Dragon';
 outfiter_names[124] = 'Falcon_(A)';
 outfiter_names[125] = 'Falcon_(B)';
 outfiter_names[126] = 'True_Asura';
 outfiter_names[127] = 'Squid';
 outfiter_names[128] = 'Book';
 outfiter_names[129] = 'Guardian_of_Tales';
 outfiter_names[130] = 'Demon_Ram_(B)';
 outfiter_names[131] = 'Dreamelf';
 outfiter_names[132] = 'Spectre_(A)';
 outfiter_names[133] = 'Spectre_(B)';
 outfiter_names[134] = 'Carnivora';
 outfiter_names[135] = 'Hireling_Banker';
 outfiter_names[136] = 'Hireling_Trader';
 outfiter_names[137] = 'Hireling_Cook';
 outfiter_names[138] = 'Hireling_Steward';
 outfiter_names[139] = 'Hireling_Servant';
 var
 outfiter_names_extra = [105, 103, 106, 107, 108, 109, 128, 134, 104, 111, 112, 113, 114, 115, 116, 130, 117, 131, 102, 101, 124, 125, 120, 100, 118, 129, 110, 135, 137, 139, 138, 136, 121, 122, 132, 133, 119, 127, 123, 126], //outfits not on the main list
 outfiter_names_sorted = [], //list will be auto populated alphabetically
 //outfits with irregular amount of sprites, regular is 1 standing, 8 walking
 outfiter_sprites_standing = {
 'Chaos_Acolyte': 8,
 'Evoker': 8,
 'Battle_Mage': 8,
 'Squid': 8,
 'Book': 8,
 'Guardian_of_Tales': 8,
 'Spectre_(A)': 8,
 'Spectre_(B)': 8,
 'Hireling_Banker': 13,
 'Hireling_Trader': 11,
 'Hireling_Cook': 11,
 'Hireling_Steward': 12,
 'Hireling_Servant': 5 //pingpong
 },
 outfiter_sprites_walking = {
 'CM': 2,
// 'None': 2,
 'Gnome': 2,
 'Corym_(C)': 2,
 'Hireling_Banker': 13,
 'Hireling_Trader': 11,
 'Hireling_Cook': 11,
 'Hireling_Steward': 12,
 'Hireling_Servant': 5 //pingpong
 },
 //outfits with different frame delays for some sprites
 outfiter_special_delays = {
 'Hireling_Banker': [2000, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
 'Hireling_Trader': [1000, 100, 300, 100, 100, 100, 100, 100, 1000, 100, 100],
 'Hireling_Cook': [2000, 100, 300, 100, 100, 100, 100, 100, 100, 200, 100],
 'Hireling_Steward': [1000, 100, 100, 100, 200, 100, 100, 100, 1000, 100, 300, 100],
 'Hireling_Servant': [2000, 100, 100, 100, 2000, 100, 100, 100] //pingpong
 },
 //outfits that use ping-pong animation. ping-pong animation means 5 unique sprites, middle ones repeat backwards (1-2-3-4-5-4-3-2)
 outfiter_pingpong_animation = {
 'Hireling_Servant': true
 },
 //mounts with irregular amount of sprites, regular is 1 standing, 8 walking
 outfiter_sprites_mount_standing = {
 'Flying_Divan': 8,
 'Magic_Carpet': 8,
 'Floating_Kashmir': 8,
 'Copper_Fly': 10,
 'Flamesteed': 8,
 'Glooth_Glider': 10,
 'Golden_Dragonfly': 10,
 'Nethersteed': 8,
 'Steel_Bee': 10,
 'Tempest': 8,
 'Flitterkatzen': 8,
 'Venompaw': 8,
 'Batcat': 8,
 'Sea Devil': 8,
 'Coralripper': 8,
 'Plumfish': 8,
 'Nightdweller': 8,
 'Frostflare': 8,
 'Cinderhoof': 8,
 'Fleeting_Knowledge': 8
 },
 //outfits limited to height 4096
 outfiter_4096h = {
 'Chaos_Acolyte': true,
 'Evoker': true
 },
 outfiter_sprites_mount_walking = {
 },
 //outfits and mounts with separator on list
 outfiter_separator = {
 None: true
 }, /*outfits with separator on list*/
 outfiter_mount_separator = {
 }, /*mounts with separator on list*/
 outfiter_f_names = {
 Nobleman: 'Noblewoman',
 'Retro_Nobleman': 'Retro_Noblewoman',
 Norseman: 'Norsewoman'
 }, /*names for female*/
 outfiter_u_names = {
 Archdemon: true,
 'Barbarian_(A)': true,
 'Barbarian_(B)': true,
 'Barbarian_(C)': true,
 'Barbarian_(D)': true,
 CM: true,
 'Corym_(A)': true,
 'Corym_(B)': true,
 'Corym_(C)': true,
 Cultist: true,
 Dwarf: true,
 Elf: true,
 Frog: true,
 'Demon_Hellfire': true,
 'Demon_Ram_(A)': true,
 'Destroyer_from_Beyond': true,
 'Galvanic_Terror': true,
 'Pit_Demon': true,
 Faun: true,
 'Orclops_Ravager': true,
 Shaper: true,
 'The_First_Dragon': true,
 'Falcon_(A)': true,
 'Falcon_(B)': true,
 'True_Asura': true,
 Squid: true,
 Book: true,
 'Guardian_of_Tales': true,
 'Demon_Ram_(B)': true,
 'Spectre_(A)': true,
 'Spectre_(B)': true,
 'Carnivora': true,
 None: true
 }, /*no female*/
 outfiter_m_names = {
 Archdemon: true,
 'Barbarian_(A)': true,
 'Barbarian_(B)': true,
 'Barbarian_(C)': true,
 'Barbarian_(D)': true,
 CM: true,
 'Corym_(A)': true,
 'Corym_(B)': true,
 'Corym_(C)': true,
 Cultist: true,
 Dwarf: true,
 Elf: true,
 Frog: true,
 Gnome: true,
 'Demon_Hellfire': true,
 'Demon_Ram_(A)': true,
 'Destroyer_from_Beyond': true,
 'Galvanic_Terror': true,
 'Pit_Demon': true,
 'Faun': true,
 'Orclops_Ravager': true,
 'Shaper': true,
 'The_First_Dragon': true,
 'Falcon_(A)': true,
 'Falcon_(B)': true,
 'True_Asura': true,
 Squid: true,
 Book: true,
 'Guardian_of_Tales': true,
 'Demon_Ram_(B)': true,
 'Dreamelf': true,
 'Spectre_(A)': true,
 'Spectre_(B)': true,
 'Carnivora': true,
 'Hireling_Banker': true,
 'Hireling_Trader': true,
 'Hireling_Cook': true,
 'Hireling_Steward': true,
 'Hireling_Servant': true
 }, /*no mount*/
 outfiter_a_names = {
 Archdemon: true,
 'Barbarian_(A)': true,
 'Barbarian_(B)': true,
 'Barbarian_(C)': true,
 'Barbarian_(D)': true,
 CM: true,
 'Corym_(A)': true,
 'Corym_(B)': true,
 'Corym_(C)': true,
 Cultist: true,
 Elf: true,
 Dwarf: true,
 Frog: true,
 Gnome: true,
 Jersey: true,
 Newly_Wed: true,
 None: true,
 'Retro_Warrior': true,
 'Retro_Summoner': true,
 'Retro_Nobleman': true,
 'Retro_Mage': true,
 'Retro_Knight': true,
 'Retro_Hunter': true,
 'Retro_Citizen': true,
 'Faun': true,
 'Orclops_Ravager': true,
 'Shaper': true,
 Squid: true,
 Book: true,
 'Spectre_(A)': true,
 'Spectre_(B)': true,
 'Hireling_Banker': true,
 'Hireling_Trader': true,
 'Hireling_Cook': true,
 'Hireling_Steward': true,
 'Hireling_Servant': true
 }, /*no addon*/
 outfiter_o_names = {
 Yalaharian: true
 }, /*one addon*/
 outfiter_no_ride_names = {
 Archdemon: true,
 'Barbarian_(A)': true,
 'Barbarian_(B)': true,
 'Barbarian_(C)': true,
 'Barbarian_(D)': true,
 CM: true,
 'Corym_(A)': true,
 'Corym_(B)': true,
 'Corym_(C)': true,
 Cultist: true,
 Elf: true,
 Dwarf: true,
 Frog: true,
 Gnome: true,
 None: true,
 'Demon_Hellfire': true,
 'Demon_Ram_(A)': true,
 'Destroyer_from_Beyond': true,
 'Galvanic_Terror': true,
 'Pit_Demon': true,
 'Faun': true,
 'Orclops_Ravager': true,
 'Shaper': true,
 'Falcon_(A)': true,
 'Falcon_(B)': true,
 'True_Asura': true,
 Squid: true,
 Book: true,
 'Guardian_of_Tales': true,
 'Demon_Ram_(B)': true,
 'Dreamelf': true,
 'Spectre_(A)': true,
 'Spectre_(B)': true,
 'Carnivora': true,
 'Hireling_Banker': true,
 'Hireling_Trader': true,
 'Hireling_Cook': true,
 'Hireling_Steward': true,
 'Hireling_Servant': true
 },/* no ride frame */
 outfiter_color_t = [
 [255, 255, 255], [255, 212, 191], [255, 233, 191], [255, 255, 191], [233, 255, 191], [212, 255, 191], [191, 255, 191], [191, 255, 212], [191, 255, 233], [191, 255, 255], [191, 233, 255], [191, 212, 255], [191, 191, 255], [212, 191, 255], [233, 191, 255], [255, 191, 255], [255, 191, 233], [255, 191, 212], [255, 191, 191],
 [218, 218, 218], [191, 159, 143], [191, 175, 143], [191, 191, 143], [175, 191, 143], [159, 191, 143], [143, 191, 143], [143, 191, 159], [143, 191, 175], [143, 191, 191], [143, 175, 191], [143, 159, 191], [143, 143, 191], [159, 143, 191], [175, 143, 191], [191, 143, 191], [191, 143, 175], [191, 143, 159], [191, 143, 143],
 [182, 182, 181], [191, 127, 95], [191, 159, 95], [191, 191, 95], [159, 191, 95], [127, 191, 95], [95, 191, 95], [95, 191, 127], [95, 191, 159], [95, 191, 191], [95, 159, 191], [95, 127, 191], [95, 95, 191], [127, 95, 191], [159, 95, 191], [191, 95, 191], [191, 95, 159], [191, 95, 127], [191, 95, 95],
 [145, 145, 144], [191, 106, 63], [191, 148, 63], [191, 191, 63], [148, 191, 63], [106, 191, 63], [63, 191, 63], [63, 191, 106], [63, 191, 148], [63, 191, 191], [63, 148, 191], [63, 106, 191], [63, 63, 191], [106, 63, 191], [148, 63, 191], [191, 63, 191], [191, 63, 148], [191, 63, 106], [191, 63, 63],
 [109, 109, 109], [255, 85, 0], [255, 170, 0], [255, 255, 0], [170, 255, 0], [84, 255, 0], [0, 255, 0], [0, 255, 84], [0, 255, 170], [0, 255, 255], [0, 169, 255], [0, 85, 255], [0, 0, 255], [85, 0, 255], [169, 0, 255], [254, 0, 255], [255, 0, 170], [255, 0, 85], [255, 0, 0],
 [72, 72, 68], [191, 63, 0], [191, 127, 0], [191, 191, 0], [127, 191, 0], [63, 191, 0], [0, 191, 0], [0, 191, 63], [0, 191, 127], [0, 191, 191], [0, 127, 191], [0, 63, 191], [0, 0, 191], [63, 0, 191], [127, 0, 191], [191, 0, 191], [191, 0, 127], [191, 0, 63], [191, 0, 0],
 [36, 36, 36], [127, 42, 0], [127, 85, 0], [127, 127, 0], [85, 127, 0], [42, 127, 0], [0, 127, 0], [0, 127, 42], [0, 127, 85], [0, 127, 127], [0, 84, 127], [0, 42, 127], [0, 0, 127], [42, 0, 127], [84, 0, 127], [127, 0, 127], [127, 0, 85], [127, 0, 42], [127, 0, 0]
 ],
 outfiter_GET = {},
 outfiter_aframes,
 outfiter_images_loaded = [false, false],
 outfiter_atime,
 outfiter_acurrent = 0,
 //default outfiter options
 outfiter_def = {outfit: 0, addon1: false, addon2: false, female: false, facing: 1, c1: 0, c2: 0, c3: 0, c4: 0, soft: true, animate: false, sanim: false, hpbar: false, charn: , mount: 0},
 outfiter_def_template = {outfit: 0, addon1: false, addon2: false, female: false, facing: 2, c1: 0, c2: 0, c3: 0, c4: 0, soft: false, animate: false, sanim: false, hpbar: false, charn: , mount: 0},
 //long name and short name options that can be used
 outfiter_opt_names = {outfit: 'o', addon1: 'a1', addon2: 'a2', female: 'fm', facing: 'f', c1: 'c1', c2: 'c2', c3: 'c3', c4: 'c4', soft: 's', animate: 'a', sanim: 'sa', hpbar: 'h', charn: 'n', mount: 'm'},
 outfiter_opt_namesr = {o: 'outfit', a1: 'addon1', a2: 'addon2', fm: 'female', f: 'facing', c1: 'c1', c2: 'c2', c3: 'c3', c4: 'c4', s: 'soft', a: 'animate', sa: 'sanim', h: 'hpbar', n: 'charn', m: 'mount'},
 outfiter_title = ,/*fix for wikia*/
 /*APNG support*/
 outfiter_apng_supported,
 ogebi = function (classname, all) { return $this_main.find(all === 1 ? classname : '.' + classname); },
 /* canvases */
 $canvas_main = ogebi('canvas_main'),
 $canvas_mount = ogebi('canvas_mount'),
 $canvas_work = ogebi('canvas_work'),
 $canvas_zoom = ogebi('canvas_zoom'),
 //get options from url "search"
 outfiter_get_get = function () {
 var
 i, key, assign, array = window.location.search.substring(1).split(/&|;/);
 /*URLs can be like either "sample.html?test1=hi&test2=bye" or "sample.html?test1=hi;test2=bye"*/
 for (i = 0; i < array.length; i++) {
 if (array[i] !== ) {/*if no data, keep going*/
 assign = array[i].indexOf('=');
 if (array[i].substr(0, 5) === 'title') { outfiter_title = array[i].substring(assign + 1); }/*fix for wikia*/
 else {
 key = assign === -1 ? array[i] : array[i].substring(0, assign);
 if (outfiter_opt_namesr[key] !== undefined || outfiter_def[key] === undefined) {
 if (outfiter_opt_namesr[key] !== 'undefined') { key = outfiter_opt_namesr[key]; }
 if (assign === -1) { outfiter_GET[key] = true; }/*if no value, treat as true*/
 else {
 outfiter_GET[key] = decodeURIComponent(decodeURI(array[i].substring(assign + 1)));
 if (outfiter_GET[key] === 'true') { outfiter_GET[key] = true; }
 else if (outfiter_GET[key] === 'false' || outfiter_GET[key] === '!') { outfiter_GET[key] = false; }
 }
 }
 }
 }
 }
 },
 //generate url for current options
 outfiter_gen_url = function () {
 var
 l = location.protocol + '//' + location.host + location.pathname + '?',
 basea = l.split('?'), base = basea[0],
 params = '?',
 opt;
 if (outfiter_title !== ) { params += 'title=' + outfiter_title + '&'; }/*fix for wikia*/
 for (opt in outfiter_def) { if (outfiter_def.hasOwnProperty(opt)) { if (outfiter_GET[opt] !== outfiter_def[opt]) {
 params += outfiter_opt_names[opt] +
 (typeof outfiter_GET[opt] === 'boolean' ? (outfiter_GET[opt] === true ? : '=!') : '=' + outfiter_GET[opt]) + '&';
 } } }
 while (params.substr(-1) === '&') { params = params.substr(0, params.length - 1); }
 ogebi('url_input').val(encodeURI(base + (params.length > 1 ? params : )));
 },
 //generate template code for current options
 outfiter_gen_template = function () {
 var
 params = [],
 opt;
 for (opt in outfiter_def_template) { if (outfiter_def_template.hasOwnProperty(opt)) { if (outfiter_GET[opt] !== outfiter_def_template[opt]) {
 params.push(opt + '=' + outfiter_GET[opt]);
 } } }
 params.push('height=' + (outfiter_GET.soft ? 128 : 64));
 params.push('width=' + $canvas_zoom.attr('width'));
 return params.join('|');
 },
 //get options from currently selected options
 outfiter_options_to_get = function () {
 var
 opt;
 for (opt in outfiter_GET) { if (outfiter_GET.hasOwnProperty(opt)) {
 if (typeof outfiter_GET[opt] === 'boolean') { outfiter_GET[opt] = ogebi(opt).is(':checked'); }
 else if (typeof outfiter_def[opt] === 'number') { outfiter_GET[opt] = parseInt(encodeURIComponent(ogebi(opt).val()), 10); }
 else { outfiter_GET[opt] = encodeURIComponent(ogebi(opt).val()); }
 } }
 },
 //help other functions to handle default parameters
 outfiter_parameters_get = function (defp, par) {
 var
 attrname;
 if ((typeof par) !== 'object') { par = defp; }
 else { for (attrname in defp) { if (defp.hasOwnProperty(attrname)) { if (!par.hasOwnProperty(attrname)) { par[attrname] = defp[attrname]; } } } }
 return par;
 },
 //get pixel data from canvases
 outfiter_pixels_get_sub = function (par) {
 par = outfiter_parameters_get({x: 0, y: 0, w: 64, h: 64, src: 'main', pink: true}, par);
 var
 big_canvas, context, r, p, m,
 is_4096h = outfiter_4096h[outfiter_names[outfiter_GET.outfit]] === true;
 big_canvas = ogebi('canvas_' + par.src)[0];
 context = big_canvas.getContext('2d');
 r = context.getImageData(
 (is_4096h && par.y >= 64 ? (Math.floor(par.y / 64) * 8) + par.x : par.x) * par.w,
 (is_4096h && par.y >= 64 ? par.y - 64 : par.y) * par.h,
 par.w,
 par.h
 );
 if (par.pink) {
 p = 0; m = r.width * r.height * 4;
 while (p < m) { if (r.data[p] === 255 && r.data[p + 1] === 0 && r.data[p + 2] === 255) { r.data[p + 3] = 0; } p += 4; }
 }
 return r;
 },
 //merge pixel data
 outfiter_pixels_merge = function (bottom, top) {
 if (bottom === false) { return top; }
 if (top === false) { return bottom; }
 var
 i,
 bpix = bottom.data,
 tpix = top.data,
 p = bottom.width * bottom.height,
 pixr = p * 4, pixg, pixb, pixa,
 r1, g1, b1, a1,
 res = $canvas_work[0].getContext('2d').createImageData(bottom.width, bottom.height),
 rpix;
 rpix = res.data;
 if (rpix.set) { rpix.set(bpix); }
 else { for (i = 0; i < bpix.length; i++) { rpix[i] = bpix[i];} }
 while (p--) {
 r1 = tpix[pixr -= 4];
 g1 = tpix[pixg = pixr + 1];
 b1 = tpix[pixb = pixr + 2];
 a1 = tpix[pixa = pixr + 3];
 if (a1 !== 0) {
 rpix[pixr] = r1;
 rpix[pixg] = g1;
 rpix[pixb] = b1;
 rpix[pixa] = a1;
 }
 }
 return res;
 },
 //apply colors to pixel data
 outfiter_pixels_blend = function (main, blend) {
 var
 color_t = outfiter_color_t,
 c1 = outfiter_GET.c1, c2 = outfiter_GET.c2, c3 = outfiter_GET.c3, c4 = outfiter_GET.c4,
 bpix = blend.data,
 mpix = main.data,
 p = blend.width * blend.height,
 pixr = p * 4, pixg, pixb,
 r1, g1, b1;
 while (p--) {
 r1 = bpix[pixr -= 4]; g1 = bpix[pixg = pixr + 1]; b1 = bpix[pixb = pixr + 2];
 /*change blend colors*/
 if (r1 === 255 && g1 === 255 && b1 === 0) { r1 = color_t[c1][0]; g1 = color_t[c1][1]; b1 = color_t[c1][2]; }
 else if (r1 === 255 && g1 === 0 && b1 === 0) { r1 = color_t[c2][0]; g1 = color_t[c2][1]; b1 = color_t[c2][2]; }
 else if (r1 === 0 && g1 === 255 && b1 === 0) { r1 = color_t[c3][0]; g1 = color_t[c3][1]; b1 = color_t[c3][2]; }
 else if (r1 === 0 && g1 === 0 && b1 === 255) { r1 = color_t[c4][0]; g1 = color_t[c4][1]; b1 = color_t[c4][2]; }
 if (mpix[pixr] === 255 && mpix[pixg] === 0 && mpix[pixb] === 255) { mpix[pixb + 1] = 0; }
 if (!(r1 === 255 && g1 === 0 && b1 === 255)) {
 /*Multiply*/
 mpix[pixr] = r1 * mpix[pixr] / 255;
 mpix[pixg] = g1 * mpix[pixg] / 255;
 mpix[pixb] = b1 * mpix[pixb] / 255;
 }
 }
 return main;
 },
 //get outfit pixel data merged and colored
 outfiter_pixels_get_out = function (anim) {
 var
 pixel_data = false,
 noaddons = outfiter_a_names[outfiter_names[outfiter_GET.outfit]] === true,
 noride = outfiter_no_ride_names[outfiter_names[outfiter_GET.outfit]] === true,
 pingpong = outfiter_pingpong_animation.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) === true, 
 // Don't treat "other" outfits differently
 //mult_y = outfiter_GET.outfit >= 100 ? 1 : (noaddons ? 2 : 6),
 mult_y = (noaddons ? 1 : 3) * (noride ? 1 : 2);
 anim = pingpong ? Math.abs(anim - (anim % (8 / 2)) * 2) : anim;
 var base_y = (outfiter_GET.mount ? (noaddons ? 1 : 3) : 0) + (anim * mult_y);
 base_y += (outfiter_GET.animate ?
 (!outfiter_GET.sanim && outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) ?
 outfiter_sprites_standing[outfiter_names[outfiter_GET.outfit]] : 0
 ) : 0) * mult_y;
 $.each([true, outfiter_GET.addon1, outfiter_GET.addon2], function (i, v) {
 if (v) {
 pixel_data = outfiter_pixels_merge(
 pixel_data,
 outfiter_pixels_blend(
 outfiter_pixels_get_sub({x: outfiter_GET.facing * 2, y: base_y + i}),
 outfiter_pixels_get_sub({x: outfiter_GET.facing * 2 + 1, y: base_y + i})
 )
 );
 }
 });
 return pixel_data;
 },
 //get mount pixel data merged and colored
 outfiter_pixels_get_mount = function (anim) {
 if (anim === undefined) { anim = 0; }
 var
 pixel_data = false,
 base_y_m;
 if (outfiter_GET.mount) {
 base_y_m = anim + (outfiter_GET.animate ?
 (!outfiter_GET.sanim && outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]) ?
 outfiter_sprites_mount_standing[outfiter_mount_names[outfiter_GET.mount]] : 0
 ) : 0
 );
 pixel_data = outfiter_pixels_get_sub({x: outfiter_GET.facing, y: base_y_m, src: 'mount'});
 }
 return pixel_data;
 },
 //draw pixel data to a canvas
 outfiter_pixels_draw = function (par) {
 par = outfiter_parameters_get({$canvas: $canvas_work, pixels: false, x: 0, y: 0, clear: false, resize: false}, par);
 if (par.pixels === false) { return; }
 if (par.resize) { par.$canvas.attr({width: par.pixels.width, height: par.pixels.height}); }
 if (par.clear) { par.$canvas.attr({width: par.$canvas.attr('width'), height: par.$canvas.attr('height')}); }
 par.$canvas[0].getContext('2d').putImageData(par.pixels, par.x, par.y);
 },
 //get the limits to horizontally crop pixel data
 outfiter_pixels_hlimits = function (pixels) {
 var
 ppix = pixels.data,
 x, y,
 pixr,
 startx = false,
 endx = false;
 for (x = 0; x < pixels.width; x++) {
 for (y = 0; y < pixels.height; y++) {
 pixr = (y * pixels.width + x) * 4;
 if (ppix[pixr + 3] !== 0) {
 startx = x;
 x = pixels.width; break;
 }
 }
 if (startx !== false) { break; }
 }
 for (x = pixels.width; x >= 0; x--) {
 for (y = pixels.height; y >= 0; y--) {
 pixr = (y * pixels.width + x) * 4;
 if (ppix[pixr + 3] !== 0) {
 endx = x;
 break;
 }
 }
 if (endx !== false) { break; }
 }
 return (startx === false || endx === false) ? [0, pixels.width] : [startx, endx];
 },
 //horizontally crops or extends area of pixel data
 outfiter_pixels_hcrop_expand = function (pixels, left, right, min_width) {
 if (min_width === undefined) { min_width = false; }
 var
 ppix = pixels.data,
 npix,
 x, y,
 pixr,
 npixr,
 new_pixels,
 neww = right - left,
 x_extra = min_width === false ? 0 : neww < min_width ? Math.floor((min_width - neww) / 2) : 0;
 new_pixels = $canvas_work[0].getContext('2d').createImageData(neww, pixels.height);
 npix = new_pixels.data;
 for (x = 0; x < neww; x++) {
 for (y = 0; y < pixels.height; y++) {
 pixr = (y * pixels.width + x + left) * 4;
 npixr = (y * neww + x) * 4;
 npix[npixr] = ppix[pixr];
 npix[npixr + 1] = ppix[pixr + 1];
 npix[npixr + 2] = ppix[pixr + 2];
 npix[npixr + 3] = ppix[pixr + 3];
 }
 }
 if (x_extra > 0) {
 $canvas_work.attr({width: min_width, height: pixels.height});
 $canvas_work[0].getContext('2d').putImageData(new_pixels, x_extra, 0);
 new_pixels = $canvas_work[0].getContext('2d').getImageData(0, 0, min_width, pixels.height);
 }
 return new_pixels;
 },
 //toggle loading and some controls usability
 outfiter_hide_body = function (h) {
 if (h === true) {
 try { clearInterval(outfiter_atime); } catch (ignore) { }
 var
 i = ogebi('.body_main_div .body_main', 1),
 s = 'http://images1.wikia.nocookie.net/tibia/en/images/8/81/Outfiter_Loading.gif';
 if (i.attr('src') !== s) {
 ogebi('input', 1).filter(':button, :checkbox, :radio').attr('disabled', 'disabled');
 i
 .attr('src', )/*Firefox fix*/
 .attr('src', s);
 }
 return;
 }
 ogebi('input:disabled', 1).filter(':button, :checkbox, :radio').prop('disabled', false);
 },
 //get mount or outfit images
 outfiter_get_ajax = function (name, type) {
 var
 rname = name,
 utype = type.substr(0, 1).toUpperCase() + type.substr(1),
 t;
 if (name === 'Gnome' || name === 'Dreamelf' || name === 'Hireling_Trader' || name === 'Hireling_Banker' || name === 'Hireling_Cook' || name === 'Hireling_Steward' || name === 'Hireling_Servant') { rname = name + (outfiter_GET.female ? '_Female' : ); }
 t = window.location.host.match(/(tibia|dantest)\.fandom\.com/) ?
 /*For wikia*/
 '/index.php?title=Outfiter/' + utype + '/' + rname + '&action=raw' :
 /*For local*/
 'base64/' + utype + '/' + rname + '.txt';
 $.ajax({url: t, dataType: 'text', success: function (text) {
 var
 r = text.match(new RegExp('id="' + (rname.replace(/\(/, '\\(').replace(/\)/, '\\)')) + '">' + '([\\w\\W]*)' + '</' + 'pre>', 'i'));
 if (r !== null) {
 text = r[1].replace(/\s+/g, );
 if (type === 'mount') { ogebi('mount_image').attr('src', ).attr('src', text); }
 else { ogebi('main_image').attr('src', ).attr('src', text); }
 }
 }});
 },
 outfiter_load_outfit = function (param) {
 outfiter_options_to_get();
 var
 outfit = outfiter_GET.outfit,
 mount = outfiter_GET.mount,
 outfiter_n = outfiter_names[outfit],
 mount_n = outfiter_mount_names[mount],
 has_standing_animation_any = outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) || outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]);
 if (outfiter_m_names[outfiter_n] === true || outfiter_mount_names[mount] === undefined) {
 mount = 0; ogebi('mount').val(0);
 mount_n = outfiter_mount_names[mount];
 ogebi('radio_mounts_0').click();
 if (param === 'mount') { return; }
 outfiter_options_to_get();
 }
 if (outfiter_u_names[outfiter_n] === true) {
 ogebi('female').prop('checked', false);
 if (param === 'female') { return; }
 outfiter_options_to_get();
 }
 if (!has_standing_animation_any) {
 ogebi('sanim').prop('checked', false);
 outfiter_options_to_get();
 }
 ogebi('radio_outfits_' + outfit).click();
 outfiter_hide_body(true);
 ogebi('outfit_name').html(
 ((outfiter_GET.female && outfiter_f_names[outfiter_n]) ?
 outfiter_f_names[outfiter_n] : outfiter_n).replace(/_/g, ' '));
 outfiter_images_loaded[1] = (mount === 0 ? true : false);
 outfiter_images_loaded[0] = false;
 if (mount !== 0) { outfiter_get_ajax(mount_n, 'mount'); }
 outfiter_get_ajax(outfiter_n, outfit >= 100 ? 'other' : (outfiter_GET.female ? 'female' : 'male'));
 },
 outfiter_do_outfit = function (i, absolute) {
 outfiter_options_to_get();
 var
 get_outfit_pos = function (outfit) {
 var
 x;
 for (x = 0; x < outfiter_names_sorted.length; x++) { if (outfit === outfiter_names_sorted[x]) { break; } }
 if (outfiter_names_sorted[x] !== undefined) { return x; }
 return -1;
 },
 get_mount_pos = function (mount) {
 var
 x;
 for (x = 0; x < outfiter_mount_names_sorted.length; x++) { if (mount === outfiter_mount_names_sorted[x]) { break; } }
 if (outfiter_mount_names_sorted[x] !== undefined) { return x; }
 return -1;
 },
 mount = outfiter_GET.mount,
 mount_pos = get_mount_pos(outfiter_GET.mount),
 outfit = parseInt(ogebi('outfit').val(), 10),
 outfit_pos = (absolute ? get_outfit_pos(i) : get_outfit_pos(outfit) + i),
 has_standing_animation;
 if (absolute === undefined) { absolute = false; }
 outfit = outfiter_names[outfiter_names_sorted[outfit_pos]];
 mount = outfiter_mount_names[outfiter_mount_names_sorted[mount_pos]];
 if (outfiter_names_sorted[outfit_pos] === undefined) {
 if (outfit_pos < 0) { outfit_pos = outfiter_names_sorted.length - 1; }
 else if (outfit_pos >= outfiter_names_sorted.length) { outfit_pos = 0; }
 }
 ogebi('outfit').val(outfiter_names_sorted[outfit_pos]);
 if (outfiter_a_names[outfit] === true) {
 ogebi('addon1').prop('checked', false);
 ogebi('addon2').prop('checked', false);
 }
 else if (outfiter_o_names[outfit] === true) {
 if (ogebi('addon1').is(':checked')) { ogebi('addon2').prop('checked', false); }
 else if (ogebi('addon2').is(':checked')) { ogebi('addon1').prop('checked', false); }
 }
 if (outfiter_m_names[outfit] === true || outfiter_mount_names[mount_pos] === undefined) {
 ogebi('radio_mounts_0').click();
 outfiter_options_to_get();
 mount = outfiter_GET.mount;
 mount_pos = get_mount_pos(mount);
 }
 if (ogebi('sanim').is(':checked')) {
 has_standing_animation = outfiter_sprites_standing.hasOwnProperty(outfit) ||
 outfiter_sprites_mount_standing.hasOwnProperty(mount);
 if (!has_standing_animation) { ogebi('sanim').prop('checked', false); }
 }
 outfiter_load_outfit();
 },
 outfiter_animate_char = function () {
 outfiter_acurrent++;
 if (
 outfiter_acurrent >= outfiter_aframes.length
 ) { outfiter_acurrent = 0; }
 if (!ogebi('animate').is(':checked')) { return; }
 ogebi('.body_main_div .body_main', 1).attr('src', ).attr('src', outfiter_aframes[outfiter_acurrent]);
 },
 greatest_common_factor = function (x, y) {
 var
 a = Math.max(x, y),
 b = Math.min(x, y),
 c = 1,
 res;
 do {
 c = a % b;
 // capture last value of $b as the potential last GCF result
 res = b;
 // if $c did not = 0 we need to repeat with the values held in $b and $c
 // at this point $b is higher than $c so we set up for the next iteration
 // set $a to the higher number and $b to the lower number
 a = b;
 b = c;
 }
 while (c !== 0);
 return res;
 },
 least_common_multiple = function (x, y) {
 return (x * y) / greatest_common_factor(x, y);
 },
 outfiter_outfit_speed = function (i) {
 var res = 100;
 if (outfiter_special_delays.hasOwnProperty(outfiter_names[outfiter_GET.outfit])) {
 res = outfiter_special_delays[outfiter_names[outfiter_GET.outfit]][i];
 } else {
 res = 800 / (outfiter_sprites_walking.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) ?
 outfiter_sprites_walking[outfiter_names[outfiter_GET.outfit]] :
 8
 );
 res = res < 100 ? 100 : res;
 }
 return res;
 },
 outfiter_do_display2 = function () {
 var
 outfiter_readCookie = function (name) { var i, c, cl = document.cookie.split(';'); for (i = 0; i < cl.length; i++) { c = $.trim(cl[i]); if (c.indexOf(name + '=') === 0) { return c.substring(name.length + 1); } } return null; },
 outfiter_letters = {
 'À': [0, 5, 9], 'Á': [1, 5, 9], 'Â': [2, 5, 9], 'Ã': [3, 5, 9], 'Ä': [4, 5, 9], 'Å': [5, 5, 9], 'Æ': [6, 5, 12], 'Ç': [7, 5, 8],
 'È': [8, 5, 8], 'É': [9, 5, 8], 'Ê': [10, 5, 8], 'Ë': [11, 5, 8], 'Ì': [12, 5, 6], 'Í': [13, 5, 6], 'Î': [14, 5, 6], 'Ï': [15, 5, 6],
 'Ð': [16, 5, 9], 'Ñ': [17, 5, 9], 'Ò': [18, 5, 9], 'Ó': [19, 5, 9], 'Ô': [20, 5, 9], 'Õ': [21, 5, 9], 'Ö': [22, 5, 9], '×': [23, 5, 10],
 'Ø': [24, 5, 9], 'Ù': [25, 5, 9], 'Ú': [26, 5, 9], 'Û': [27, 5, 9], 'Ü': [28, 5, 9], 'Ý': [29, 5, 8], 'Þ' : [30, 5, 8], 'ß': [31, 5, 8],
 'à': [0, 6, 8], 'á': [1, 6, 8], 'â': [2, 6, 8], 'ã': [3, 6, 8], 'ä': [4, 6, 8], 'å': [5, 6, 8], 'æ': [6, 6, 12], 'ç': [7, 6, 7],
 'è': [8, 6, 8], 'é': [9, 6, 8], 'ê': [10, 6, 8], 'ë': [11, 6, 8], 'ì': [12, 6, 4], 'í': [13, 6, 4], 'î': [14, 6, 4], 'ï': [15, 6, 4],
 'ð': [16, 6, 8], 'ñ': [17, 6, 8], 'ò': [18, 6, 8], 'ó': [19, 6, 8], 'ô': [20, 6, 8], 'õ': [21, 6, 8], 'ö': [22, 6, 8], '÷': [23, 6, 9],
 'ø': [24, 6, 8], 'ù': [25, 6, 8], 'ú': [26, 6, 8], 'û': [27, 6, 8], 'ü': [28, 6, 8], 'ý': [29, 6, 8], 'þ': [30, 6, 8], 'ÿ': [31, 6, 8],
 ' ': [0, 0, 4], '.': [14, 0, 4], '-': [13, 4, 6],
 '@': [0, 1, 9], 'A': [1, 1, 9], 'B': [2, 1, 8], 'C': [3, 1, 8], 'D': [4, 1, 9], 'E': [5, 1, 8], 'F': [6, 1, 8], 'G': [7, 1, 9],
 'H': [8, 1, 9], 'I': [9, 1, 6], 'J': [10, 1, 6], 'K': [11, 1, 8], 'L': [12, 1, 7], 'M': [13, 1, 10], 'N': [14, 1, 9], 'O': [15, 1, 9],
 'P': [16, 1, 8], 'Q': [17, 1, 9], 'R': [18, 1, 8], 'S': [19, 1, 8], 'T': [20, 1, 8], 'U': [21, 1, 9], 'V': [22, 1, 8], 'W': [23, 1, 12],
 'X': [24, 1, 8], 'Y': [25, 1, 8], 'Z': [26, 1, 8],
 "'": [7, 0, 4], 'a': [1, 2, 8], 'b': [2, 2, 8], 'c': [3, 2, 7], 'd': [4, 2, 8], 'e': [5, 2, 8], 'f': [6, 2, 5], 'g': [7, 2, 8],
 'h': [8, 2, 8], 'i': [9, 2, 4], 'j': [10, 2, 5], 'k': [11, 2, 8], 'l': [12, 2, 4], 'm': [13, 2, 12], 'n': [14, 2, 8], 'o': [15, 2, 8],
 'p': [16, 2, 8], 'q': [17, 2, 8], 'r': [18, 2, 6], 's': [19, 2, 7], 't': [20, 2, 5], 'u': [21, 2, 8], 'v': [22, 2, 8], 'w': [23, 2, 10],
 'x': [24, 2, 8], 'y': [25, 2, 8], 'z': [26, 2, 7]
 },
 af_o = outfiter_GET.animate ?
 (outfiter_GET.sanim ?
 (outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) ?
 outfiter_sprites_standing[outfiter_names[outfiter_GET.outfit]] + 
 (outfiter_pingpong_animation.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) ? 
 outfiter_sprites_standing[outfiter_names[outfiter_GET.outfit]] - 2 : 0) : 
 1
 ) :
 (outfiter_sprites_walking.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) ?
 outfiter_sprites_walking[outfiter_names[outfiter_GET.outfit]] +
 (outfiter_pingpong_animation.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) ? 
 outfiter_sprites_walking[outfiter_names[outfiter_GET.outfit]] - 2 : 0) : 
 8
 )
 ) : 0,
 af_m = outfiter_GET.mount ?
 (outfiter_GET.animate ?
 (outfiter_GET.sanim ?
 (outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]) ?
 outfiter_sprites_mount_standing[outfiter_mount_names[outfiter_GET.mount]] : 1
 ) :
 (outfiter_sprites_mount_walking.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]) ?
 outfiter_sprites_mount_walking[outfiter_mount_names[outfiter_GET.mount]] : 8
 )
 ) : 0
 ) : af_o,
 done = false,
 af = (af_o === 0 || af_m === 0) ? 0 : least_common_multiple(af_o, af_m),
 afi,
 frames = [],
 frames_o = [],
 frames_m = [],
 pos_o,
 pos_m,
 limit_left = false,
 limit_right = false,
 pixel_data,
 ctx_zoom,
 neww,
 output_image,
 //name vars
 bar_xpos = outfiter_GET.soft ? (outfiter_GET.outfit === 103 ? 44 : 82) : (outfiter_GET.outfit === 103 ? 16 : 34),
 namew,
 name_center = bar_xpos + 13,
 name_left,
 name_right,
 char_name = decodeURI(outfiter_GET.charn).split(),
 lastpos,
 has_standing_animation_o = outfiter_GET.animate && outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]),
 has_standing_animation_m = outfiter_GET.animate && outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]),
 has_standing_animation_any = outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) || outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]),
 draw_text_char = function (i) {
 var
 v = char_name[i];
 if (outfiter_letters.hasOwnProperty(v)) {
 ctx_zoom.drawImage(
 ogebi('letters_image')[0],
 outfiter_letters[v][0] * 16,
 outfiter_letters[v][1] * 16,
 outfiter_letters[v][2], 
 15,
 lastpos + 1,
 (outfiter_GET.soft ? 48 : 16) - 1,
 outfiter_letters[v][2],
 15
 );
 lastpos += outfiter_letters[v][2];
 }
 },
 namew_add = function (i) { if (outfiter_letters.hasOwnProperty(char_name[i])) { namew += outfiter_letters[char_name[i]][2]; } };
 //clean saved image frames
 outfiter_aframes = [];
 //clear canvases
 $canvas_main.attr({width: $canvas_main.attr('width'), height: $canvas_main.attr('height')});
 $canvas_mount.attr({width: $canvas_mount.attr('width'), height: $canvas_mount.attr('height')});
 //fill canvases with images
 try { $canvas_main[0].getContext('2d').drawImage(ogebi('main_image')[0], 0, 0); } catch (ignore) {/*Firefox fix*/}
 try { $canvas_mount[0].getContext('2d').drawImage(ogebi('mount_image')[0], 0, 0); } catch (ignore) {/*Firefox fix*/}
 ctx_zoom = $canvas_zoom[0].getContext('2d');
 //getting animation frames
 for (afi = 0; afi < af || (af === 0 && done === false); afi++) {
 //get basic data
 if (af === 0) {
 pixel_data = outfiter_pixels_merge(outfiter_pixels_get_mount(0), outfiter_pixels_get_out(0));
 done = true;
 }
 else {
 pos_o = (afi % af_o) + (has_standing_animation_o ? 0 : (outfiter_GET.sanim ? 0 : 1));
 pos_m = (afi % af_m) + (has_standing_animation_m ? 0 : (outfiter_GET.sanim ? 0 : 1));
//console.log({afi: afi, pos_o: pos_o, pos_m: pos_m});
 if (!frames_m[pos_m]) { frames_m[pos_m] = outfiter_pixels_get_mount(pos_m); }
 if (!frames_o[pos_o]) { frames_o[pos_o] = outfiter_pixels_get_out(pos_o); }
 pixel_data = outfiter_pixels_merge(frames_m[pos_m], frames_o[pos_o]);
 }
 //draw normal
 outfiter_pixels_draw({pixels: pixel_data, clear: true});
 //draw zoomed
 $canvas_zoom.attr({width: outfiter_GET.soft ? 128 : 64, height: outfiter_GET.soft ? 128 : 64});
 ctx_zoom.drawImage(
 $canvas_work[0],
 0, 0, 64, 64,
 0, 0, outfiter_GET.soft ? 128 : 64, outfiter_GET.soft ? 128 : 64
 );
 pixel_data = ctx_zoom.getImageData(0, 0, parseInt($canvas_zoom.attr('width'), 10), parseInt($canvas_zoom.attr('height'), 10));
 //hp bar
 if (outfiter_GET.hpbar) {
 ctx_zoom.drawImage(
 ogebi('hp_bar')[0],
 0, 0, 64, 64,
 bar_xpos, outfiter_GET.soft ? 60 : 28, 64, 64
 );
 pixel_data = ctx_zoom.getImageData(0, 0, parseInt($canvas_zoom.attr('width'), 10), parseInt($canvas_zoom.attr('height'), 10));
 }
 //name
 if (outfiter_GET.charn !== ) {
 namew = 0;
 name_left = 0;
 name_right = 0;
 //get total length
 $.each(char_name, namew_add);
 namew += 1;
 //resize canvas if needed and set start position
 if (parseInt($canvas_zoom.attr('width'), 10) - name_center < namew / 2) { name_right = Math.ceil((namew / 2) - (parseInt($canvas_zoom.attr('width'), 10) - name_center)); }
 if (name_center < namew / 2) { name_left = Math.ceil((namew / 2) - name_center); }
 $canvas_zoom.attr('width', parseInt($canvas_zoom.attr('width'), 10) + name_left + name_right);
 outfiter_pixels_draw({$canvas: $canvas_zoom, pixels: pixel_data, x: name_left, clear: false});
 lastpos = name_center + name_left - Math.floor(namew / 2);
 //draw the text
 $.each(char_name, draw_text_char);
 pixel_data = ctx_zoom.getImageData(0, 0, parseInt($canvas_zoom.attr('width'), 10), parseInt($canvas_zoom.attr('height'), 10));
 }
 //save frame pixel_data
 frames[afi] = pixel_data;
 }
 //get limits
 $.each(frames, function (i) {
 var
 limits = outfiter_pixels_hlimits(frames[i]);
 limit_left = limit_left === false ? limits[0] : Math.min(limits[0], limit_left);
 limit_right = limit_right === false ? limits[1] : Math.max(limits[1], limit_right);
 });
 //crop/expand to limits (frames & outfiter_aframes)
 $.each(frames, function (i) {
 frames[i] = outfiter_pixels_hcrop_expand(frames[i], limit_left, limit_right, outfiter_GET.soft ? 128 : 64);
 outfiter_pixels_draw({$canvas: $canvas_zoom, pixels: frames[i], resize: true});
 outfiter_aframes[i] = $canvas_zoom[0].toDataURL();
 });
 
 //output the image
 output_image = outfiter_aframes[0];
 if (outfiter_GET.animate) {
 if (outfiter_readCookie('outfiter_apng_warn') !== 'done') {
 if (outfiter_apng_supported) {
 alert("APNG has been enabled, you can save the animation as a single image but you can only see it animated on recent versions of Firefox/Chrome/Safari/Opera.");
 }
 else if (outfiter_apng_supported === ) {
 alert("APNG not enabled, you need to use a recent version of Firefox/Chrome/Safari/Opera to be able to save and view the animation as a single image.");
 }
 else {
 alert("APNG not supported, you need to use a recent version of Firefox/Chrome/Safari/Opera to be able to save and view the animation as a single image.");
 }
 var
 date = new Date(); date.setTime(date.getTime() + (10 * 24 * 60 * 60 * 1000));
 date = date.toGMTString();
 document.cookie = 'outfiter_apng_warn=done; expires=' + date + '; path=/';
 }
 if (outfiter_apng_supported) {
 /*APNG support functions*/
 var
 keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
 encode64 = function (b) { var c = []; var a, d, f; var e, j, h, i; var g = 0; do { a = b[g++]; d = b[g++]; f = b[g++]; e = a >> 2; j = ((a & 3) << 4) | (d >> 4); h = ((d & 15) << 2) | (f >> 6); i = f & 63; if (isNaN(d)) { h = i = 64; } else if (isNaN(f)) { i = 64; } c = c + keyStr.charAt(e) + keyStr.charAt(j) + keyStr.charAt(h) + keyStr.charAt(i); } while (g < b.length); return c; },
 decode64 = function (b) { var c = []; var a, d, f; var e, j, h, i; var g = 0; do {e = keyStr.indexOf(b[g++]); j = keyStr.indexOf(b[g++]); h = keyStr.indexOf(b[g++]); i = keyStr.indexOf(b[g++]); a = (e << 2) | (j >> 4); d = ((j & 15) << 4) | (h >> 2); f = ((h & 3) << 6) | i; c[c.length] = a; if (h !== 64) {c[c.length] = d; } if (i !== 64) { c[c.length] = f; } } while (g < b.length); return c; },
 bin2int = function (b) { var c, a, d = 0; for (a = c = b.length - 1; a >= 0; a--) {d += b[a] * Math.pow(256, c - a); } return d; },
 int2bin = function (b, c) { if (c === undefined) { c = 4; } var a = b, d = [], f = 0, e; while (a > 255) { a = Math.floor(a / 256); f++; } for (e = f; e >= 0; e--) { a = Math.floor(b / Math.pow(256, e)); d[d.length] = a; b = b - (a * Math.pow(256, e)); } while (d.length < c) { d = [0].concat(d); } return d; },
 crc32 = function (g) { var a, d = "00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D", c, e = 0, b = 0, h = 0; e = e ^ (-1); for (c = 0, a = g.length; c < a; c++) { h = (e ^ g[c]) & 255; b = "0x" + d.substr(h * 9, 8); e = (e >>> 8) ^ b; } e = e ^ (-1); return e < 0 ? 4294967296 + e : e; },
 chunks = {
 sign1: int2bin(2303741511),
 sign2: int2bin(218765834),
 ihdr1: int2bin(1229472850),
 actl: int2bin(1633899596),
 fctl: int2bin(1717785676),
 idat: int2bin(1229209940),
 fdat: int2bin(1717846356),
 iend: int2bin(1229278788)
 },
 head, ihdr, actl, pre_sprites, sprites = [], iend;
 head = chunks.sign1.concat(chunks.sign2);
 ihdr = chunks.ihdr1.concat(
 int2bin(frames[0].width),//width
 int2bin(frames[0].height),//height
 int2bin(8, 1),//8 bit depth
 int2bin(6, 1),//Truecolour with alpha
 int2bin(0, 1),//Compression method
 int2bin(0, 1),//Filter method
 int2bin(0, 1)//Interlace method, 0 = no interlace
 );
 ihdr = int2bin(13).concat(ihdr, int2bin(crc32(ihdr)));
 actl = chunks.actl.concat(
 int2bin(frames.length),//Number of frames
 int2bin(0)//Number of times to loop this APNG. 0 indicates infinite looping.
 );
 actl = int2bin(8).concat(actl, int2bin(crc32(actl)));
 pre_sprites = head.concat(ihdr, actl);
 $.each(outfiter_aframes, function (i, v) {
 var
 bytes_array = decode64(v.replace('data:image/png;base64,', )),
 idat_positions = [],
 fctl,
 data,
 idat_fdat,
 is_idat = i === 0;
 //find IDATs and add position
 $.each(bytes_array, function (j, this_byte) {
 if (this_byte === 73 && bytes_array[j + 1] === 68 && bytes_array[j + 2] === 65 && bytes_array[j + 3] === 84) { idat_positions.push(j); }
 });
 //frame control chunk
 fctl = chunks.fctl.concat(
 int2bin(Math.max(0, i * 2 - 1)),//Sequence number of the animation chunk
 int2bin(frames[0].width),//width
 int2bin(frames[0].height),//height
 int2bin(0),//x_offset
 int2bin(0),//_offset
 int2bin(outfiter_outfit_speed(i), 2),//Frame delay fraction numerator
 int2bin(1000, 2),//Frame delay fraction denominator
 int2bin(1, 1),//dispose_op: 1 = APNG_DISPOSE_OP_BACKGROUND
 int2bin(1, 1)//blend_op: 1 = APNG_BLEND_OP_OVER
 );
 fctl = int2bin(26).concat(fctl, int2bin(crc32(fctl)));
 //reading and merging IDATs
 data = [];
 $.each(idat_positions, function (k) {
 var
 size = bin2int(bytes_array.slice(idat_positions[k] - 4, idat_positions[k]));
 data = data.concat(bytes_array.slice(idat_positions[k] + 4, size + idat_positions[k] + 4));
 });
 //idat or fdat
 if (is_idat) { idat_fdat = chunks.idat.concat(data); }
 else {
 idat_fdat = chunks.fdat.concat(
 int2bin(i * 2),//Sequence number of the animation chunk
 data
 );
 }
 idat_fdat = int2bin(data.length + (is_idat ? 0 : 4)).concat(idat_fdat, int2bin(crc32(idat_fdat)));
 sprites = sprites.concat(fctl, idat_fdat);
 });
 iend = chunks.iend;
 iend = int2bin(0).concat(iend, int2bin(crc32(iend)));
 output_image = 'data:image/png;base64,' + encode64(pre_sprites.concat(sprites, iend));
 }
 else {
//console.log('running at interval: ' + outfiter_outfit_speed());
 outfiter_atime = setInterval(outfiter_animate_char, outfiter_outfit_speed());
 }
 }
 neww = frames[0].width * (outfiter_GET.soft ? 1 : 2);
 ogebi('body_main_div').css({width: neww + 10});
 ogebi('.body_main_div .body_main', 1)
 .attr('src', )/*Firefox fix*/
 .attr({
 src: output_image,
 width: neww
 })
 .css({width: neww});
 //template_code
 ogebi('template_code_code').remove();
 if (ogebi('template_code').is(':checked')) {
 ogebi('div0').append(
 $('<textarea />', {'class': 'div4 pushed template_code_code', rows: 3, cols: 40}).text(
 '{{Outfitter|' + outfiter_gen_template() + '}}'
 )
 );
 }
 //animation steps
 ogebi('anistep_step').remove();
 if (ogebi('anistep').is(':checked')) {
 $.each(outfiter_aframes, function (i, v) {
 ogebi('div0').append(
 $('', {'class': 'div4 pushed body_main anistep_step'}).append(
 $('<img />', {alt: 'Animation step ' + i, title: 'Animation step ' + i, width: 128, height: 128, src: v})
 )
 );
 });
 }
 //hide loading
 outfiter_hide_body(false);
 //update checkboxes
 ogebi('female').parent().toggleClass('disabled', outfiter_u_names[outfiter_names[outfiter_GET.outfit]] === true);
 ogebi('.addon1, .addon2', 1).parent().toggleClass('disabled', outfiter_a_names[outfiter_names[outfiter_GET.outfit]] === true);
 ogebi('sanim').parent().toggleClass('disabled', !has_standing_animation_any);
 //update url
 outfiter_gen_url();
 },
 outfiter_do_display = function () {
 var display2_delay;
 outfiter_options_to_get();
 outfiter_hide_body(true);
 try { clearInterval(outfiter_atime); } catch (ignore) { }
 display2_delay = (outfiter_GET.animate && outfiter_apng_supported === ) ? 1500 : 1; //delay the display if animated and apng support is still unknown
 setTimeout(function () {
 outfiter_do_display2();
 }, display2_delay);
 },
 outfiter_do_addon = function (id) {
 var
 tmp, has_standing_animation;
 if (outfiter_a_names[outfiter_names[outfiter_GET.outfit]] === true) {
 ogebi('addon1').prop('checked', false); ogebi('addon2').prop('checked', false);
 if (id > 0) { return; }
 }
 else if (outfiter_o_names[outfiter_names[outfiter_GET.outfit]] === true) {
 tmp = false;
 if (id > 0) { tmp = ogebi('addon' + id).is(':checked'); }
 ogebi('addon1').prop('checked', false); ogebi('addon2').prop('checked', false);
 if (tmp) { ogebi('addon' + id).attr('checked', 'checked'); }
 }
 if (ogebi('sanim').is(':checked')) {
 has_standing_animation = outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) ||
 outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]);
 if (!has_standing_animation) { ogebi('sanim').prop('checked', false); }
 if (!ogebi('animate').is(':checked')) {
 if ($(this).hasClass('animate')) { ogebi('sanim').prop('checked', false); }
 else if ($(this).hasClass('sanim')) { ogebi('animate').prop('checked', true); }
 }
 }
 if (outfiter_m_names[outfiter_names[outfiter_GET.outfit]] === true) { ogebi('mount').val(0); ogebi('radio_mounts_0').click(); }
 outfiter_do_display();
 },
 outfiter_do_facing = function (i) {
 var
 facing = parseInt(ogebi('facing').val(), 10) + parseInt(i, 10);
 if (facing < 0) { facing = 3; }
 else if (facing > 3) { facing = 0; }
 ogebi('facing').val(facing);
 outfiter_do_display();
 },
 outfiter_init = function () {
 /* Populating mounts list */
 $.each(outfiter_mount_names, function (i, v) { if ($.inArray(i, outfiter_mount_names_extra) === -1) { outfiter_mount_names_sorted.push([i, v]); } });
 outfiter_mount_names_sorted.sort(function (a, b) { if (a[1] < b[1] || a[0] === 0) { return -1; } if (a[1] > b[1] || b[0] === 0) { return 1; } return 0; });
 $.each(outfiter_mount_names_sorted, function (i, v) { outfiter_mount_names_sorted[i] = v[0]; });
 outfiter_mount_names_sorted = outfiter_mount_names_sorted.concat(outfiter_mount_names_extra);
 /* Populating outfits list */
 $.each(outfiter_names, function (i, v) {
 if (v !== undefined && $.inArray(i, outfiter_names_extra) === -1) { outfiter_names_sorted.push([i, v]); } });
 outfiter_names_sorted.sort(function (a, b) { if (a[1] < b[1]) { return -1; } if (a[1] > b[1]) { return 1; } return 0; });
 $.each(outfiter_names_sorted, function (i, v) { outfiter_names_sorted[i] = v[0]; });
 outfiter_names_sorted = outfiter_names_sorted.concat(outfiter_names_extra);
 /*Get options from url*/
 outfiter_get_get();
 var
 opt;
 for (opt in outfiter_def) { if (outfiter_def.hasOwnProperty(opt)) {
 if (!outfiter_GET.hasOwnProperty(opt)) { outfiter_GET[opt] = outfiter_def[opt]; }
 if (typeof outfiter_GET[opt] === 'boolean' && outfiter_GET[opt]) { ogebi(opt).attr('checked', 'checked'); }
 else { ogebi(opt).val(outfiter_GET[opt]); }
 } }
 /*Prepare color table*/
 var d2h = function (d) { d = d.toString(16); return d.length === 1 ? '0' + d : d; };
 // var h2d = function (h) { return parseInt(h, 16); };
 ogebi('dcolor_table div').removeClass('color_table_d_inv').addClass('color_table_d')
 .each(function (i) {
 $(this).css('background-color', '#' + d2h(outfiter_color_t[i][0]) + d2h(outfiter_color_t[i][1]) + d2h(outfiter_color_t[i][2]));
 });
 ogebi('.cb_1, .cb_2, .cb_3, .cb_4', 1).click(function () {
 ogebi('.cb_1, .cb_2, .cb_3, .cb_4', 1).removeClass('pushed').addClass('unpushed');
 $(this).removeClass('unpushed').addClass('pushed');
 var
 id = $(this).hasClass('cb_1') ? 1 : ($(this).hasClass('cb_2') ? 2 : ($(this).hasClass('cb_3') ? 3 : 4));
 ogebi('.dcolor_table div', 1).removeClass('color_table_d_inv').addClass('color_table_d')
 .filter(':eq(' + ogebi('.c' + id, 1).val() + ')').removeClass('color_table_d').addClass('color_table_d_inv');
 });
 ogebi('cb_1').click();
 /*Check browser support*/
 var
 comp = true,
 big_canvas = ogebi('canvas_main')[0],
 context;
 if (!big_canvas || !big_canvas.getContext) { comp = false; }
 else {
 context = big_canvas.getContext('2d');
 if (!context || !context.getImageData || !context.putImageData || !context.drawImage) { comp = false; }
 }
 if (!comp) {
 outfiter_hide_body(true);
 alert('Browser not compatible, try latest version of Firefox/Opera/Chrome');/*For wikia*/
 return false;
 }
 /*Prepare color table events*/
 ogebi('.dcolor_table div', 1).click(function () {
 var
 i = ogebi('cb_1').hasClass('pushed') ? 1 : (ogebi('cb_2').hasClass('pushed') ? 2 : (ogebi('cb_3').hasClass('pushed') ? 3 : 4));
 ogebi('.dcolor_table div', 1).removeClass('color_table_d_inv').addClass('color_table_d');
 $(this).removeClass('color_table_d').addClass('color_table_d_inv');
 ogebi('c' + i).val($(this).index());
 outfiter_do_addon();
 });
 /*APNG support*/
 outfiter_apng_supported = ; //unknown as default
 try {
 //will set outfiter_apng_supported after a few
 (function () {
 var canvas = document.createElement('canvas');
 if (!(canvas.getContext && canvas.getContext('2d'))) { outfiter_apng_supported = false; }
 var image = new Image();
 var ctx = canvas.getContext('2d');
 image.onload = function() {
 if (typeof canvas.getContext == 'undefined') { outfiter_apng_supported = false; }
 else {
 ctx.drawImage(image, 0, 0);
 outfiter_apng_supported = ctx.getImageData(0, 0, 1, 1).data[3] === 0;
 }
 };
 image.src = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACGFjVEwAAAABAAAAAcMq2TYAAAANSURBVAiZY2BgYPgPAAEEAQB9ssjfAAAAGmZjVEwAAAAAAAAAAQAAAAEAAAAAAAAAAAD6A+gBAbNU+2sAAAARZmRBVAAAAAEImWNgYGBgAAAABQAB6MzFdgAAAABJRU5ErkJggg==';
 }());
 } catch (ignore) { }
 /*Images event*/
 ogebi('.mount_image, .main_image', 1).each(function (i) {
 $(this).load(function () {
 outfiter_images_loaded[i] = true;
 //resize canvases
 ogebi(i === 0 ? 'canvas_main' : 'canvas_mount').attr({height: $(this).height(), width: $(this).width()});
 //process canvases
 if (outfiter_images_loaded[0] && outfiter_images_loaded[1]) { outfiter_do_display(); }
 return true;
 });
 });
 /*Prepare radio lists*/
 var
 x, t = $(), toggle = true, border_top = false;
 for (x = 0; x < outfiter_names_sorted.length; x++) {
 if (outfiter_separator[outfiter_names[outfiter_names_sorted[x]]]) { border_top = true; }
 toggle = !toggle;
 if (border_top) { t = t.add($('', {'class': 'border_top'})); }
 t = t.add(
 $('<label />', {'class': 'list_el'}).append(
 $('<input type="radio" />').attr({name: 'radio_outfits', 'class': 'darkchk radio_outfits_' + outfiter_names_sorted[x]}),
 $('', {'class': 't'}).text(outfiter_names[outfiter_names_sorted[x]].replace(/_/g, ' '))
 ).css({color: (toggle ? '#8F8F8F' : '#bfbfbf')})
 );
 border_top = false;
 }
 ogebi('radio_outfits').append(t).find('[name=radio_outfits]').click(function () {
 var
 cls = $(this).attr('class').split(/\s+/),
 id;
 $.each(cls, function (i) { if (cls[i].substr(0, 13) === 'radio_outfits') { id = parseInt(cls[i].split(/_/g)[2], 10); } });
 if (id !== parseInt(ogebi('outfit').val(), 10)) { outfiter_do_outfit(id, true); }
 });
 t = $(); toggle = true; border_top = false;
 for (x = 0; x < outfiter_mount_names_sorted.length; x++) {
 if (outfiter_mount_separator[outfiter_mount_names[outfiter_mount_names_sorted[x]]]) { border_top = true; }
 toggle = !toggle;
 if (border_top) { t = t.add($('', {'class': 'border_top'})); }
 t = t.add(
 $('<label />', {'class': 'list_el'}).append(
 $('<input type="radio" />').attr({name: 'radio_mounts', 'class': 'darkchk radio_mounts_' + outfiter_mount_names_sorted[x]})
 .attr('checked', (String(outfiter_mount_names_sorted[x]) === ogebi('mount').val() ? 'checked' : false)),
 $('', {'class': 't'}).text(outfiter_mount_names[outfiter_mount_names_sorted[x]].replace(/_/g, ' '))
 ).css({color: (toggle ? '#8F8F8F' : '#bfbfbf')})
 );
 border_top = false;
 }
 ogebi('radio_mounts').append(t).find('[name=radio_mounts]').click(function () {
 var
 cls = $(this).attr('class').split(/\s+/),
 id;
 $.each(cls, function (i) { if (cls[i].substr(0, 12) === 'radio_mounts') { id = parseInt(cls[i].split(/_/g)[2], 10); } });
 if (id !== parseInt(ogebi('mount').val(), 10)) { ogebi('mount').val(id); outfiter_load_outfit('mount'); }
 });
 /* Click events */
 ogebi('hpbar').change(outfiter_do_addon);
 ogebi('animate').change(outfiter_do_addon);
 ogebi('sanim').change(outfiter_do_addon);
 ogebi('soft').change(outfiter_do_addon);
 ogebi('anistep').change(outfiter_do_addon);
 ogebi('template_code').change(outfiter_do_addon);
 ogebi('addon1').change(function () { outfiter_do_addon(1); });
 ogebi('addon2').change(function () { outfiter_do_addon(2); });
 ogebi('female').change(function () { outfiter_load_outfit('female'); });
 ogebi('outfitm').click(function () { outfiter_do_outfit(-1); });
 ogebi('facingm').click(function () { outfiter_do_facing(-1); });
 ogebi('facingp').click(function () { outfiter_do_facing(1); });
 ogebi('outfitp').click(function () { outfiter_do_outfit(1); });
 ogebi('use_name').click(outfiter_do_addon);
 ogebi('clear_name').click(function () { ogebi('charn').val(); outfiter_do_addon(); });
 ogebi('url_input').click(function () { $(this).select(); });
 /* CSS images */
 var
 bgs = [
 'iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQW RvYmUgSW1hZ2VSZWFkeXHJZTwAAAQqSURBVHjaHFNLbxtlFJ3vMW/P2GM7duy6bUydOG6SBlFRKUGibcqGZoGQkBAS EmLBuouKDT+BLQs2SAghVUKpRBasskAthBYBSQW1HBJDGh552Y7n4ce8v+GWWYw0uvfcOefcc9Ht26tRFAkCzyFECH HHYxaOJRGrqi7KKpRCfzwc2p4fUVFHmHAJF8fQL3IcRxmL/cAPwwA/L0SqjLjUBS7VEPLVQSgNPaQYvhydou62298J IyTK6ZixsTsiAJiZmaGEIIQ9b5DRNaH46sUX367PL9tR5qBDuwPBDnSXTokTL2WypWT0LPAdWdYxQowxUq1W4ygmmF HCG5dW33zr3evXpp409x8+bhULmUKGWr2DJHScoRsrtWJl2us1fdcSZY3FMaaUer4b+O5k7caHd95/43r5k883vvrm l8gzp8raZF7hQodyIzHp28fN7siYaLwTMxQFLuV5DA9KYm2idvfOB4vT+nt3v9x48CSvBlkNySQUsC/zEfOsyLdk6v WPW0yaKtVuhP4I/S/VxVS49drri7OTH3389eaPv167UhGwx6MgDmz4v4gDRWTlgobZCIem2d1PlxaIqMdRgBMWpzOF V5Ze/mJt8979jQkt4rHXmKlUz+fss3/9Ye9iJTs7fS4lJaBcFmKz8wcszJiY8r3Rc9r12frB36effnZPJsOUGDq9f/ JpAQASDVQxmqufz2l0aB5ykRO4vWjci307bUzELKEJx/E8/fbh94tzLyzMzzKWdLpdxz5iXt/uHUISCDcKg/DqlVo+ n0cYt9t7w6Gp61rCYQqJMU3Tdu0LlYpMQ0xIpBEUE00V99tn4GbRqHo+1lQEzsEnYSNwQaISBJJGMeNYZKTknx4/2P 75O1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3TgQkAIRADwVxnlv6dxS5E3tkGAgOZJM 2h2k4ua5I034GlBeBigJcv0DYvBwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAADAT9pxtcWBahtSgAAAAABJRU5ErkJggg=='.replace(/\s+/, )
 ],
 css_text =
 '.outfiter .nesw { background:#757575 url(\'data:image/png;base64,' + bgs[0] + '\') !important; }\n' +
 '.outfiter .leftb, .outfiter .leftb[disabled]:active, .outfiter .rightb, .outfiter .rightb[disabled]:active {' +
 ' background: #757575 url(\'data:image/png;base64,' + bgs[1] + '\') !important;' +
 '}\n' +
 '.outfiter .url, .outfiter .div2 {' +
 ' background: #383838 url(\'data:image/png;base64,' + bgs[2] + '\') repeat;' +
 '}\n' +
 '.outfiter .nbutton, .outfiter .div4, .outfiter .div4list {' +
 ' background: #383838 url(\'data:image/png;base64,' + bgs[3] + '\') repeat !important;' +
 '}\n' +
 '.outfiter .leftb, .outfiter .leftb[disabled]:active { background-position: left top !important ; }\n' +
 '.outfiter .leftb:active { background-position: right top !important ; }\n' +
 '.outfiter .rightb, .outfiter .rightb[disabled]:active { background-position: left bottom !important ; }\n' +
 '.outfiter .rightb:active { background-position: right bottom !important ; }';
 if ($('head .outfiter_style').length === 0) {
 $('head').append('<style class="outfiter_style" type="text/css">' + css_text + '<\/style>');
 }
 ogebi('letters_image').attr('src', 'data:image/png;base64,' + bgs[4]);
 ogebi('hp_bar').attr('src', 'data:image/png;base64,' + bgs[5]);
 return true;
 };
 if (outfiter_init()) { outfiter_load_outfit(); }
 $('.outfiter_img').hide();
});
Category:Outfiter