Advertisement
gelmorph

Neopets - Bring back the Maps!! (Update: 4-15-22)

Jan 15th, 2021 (edited)
4,816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Neopets - Bring back the Maps!! (Update: 4-15-22)
  3. // @description  Displays interactable map images on World pages. Original map image and link mapping from Jellyneo: https://www.jellyneo.net/?go=guidetoneopia
  4. // @author       A lazy fool
  5. // @require      http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js
  6. // @match                *://www.neopets.com/explore.phtml*
  7. // @match                *://www.neopets.com/water/index.phtml
  8. // @match                *://www.neopets.com/water/index_ruins.phtml
  9. // @match                *://www.neopets.com/medieval/index_farm.phtml
  10. // @match                *://www.neopets.com/medieval/index_evil.phtml
  11. // @match                *://www.neopets.com/pirates/warfwharf.phtml
  12. // @match                *://www.neopets.com/worlds/index_geraptiku.phtml
  13. // @match                *://www.neopets.com/art/
  14. // @match                *://www.neopets.com/worlds/index_roo.phtml
  15. // @match                *://www.neopets.com/shenkuu/index.phtml
  16. // @match                *://www.neopets.com/desert/sakhmet.phtml
  17. // @match                *://www.neopets.com/desert/qasala.phtml
  18. // @match                *://www.neopets.com/prehistoric/index.phtml
  19. // @match                *://www.neopets.com/prehistoric/plateau.phtml
  20. // @match                *://www.neopets.com/space/index.phtml
  21. // @match                *://www.neopets.com/space/hangar.phtml
  22. // @match                *://www.neopets.com/space/recreation.phtml
  23.  
  24. // ==/UserScript==
  25.  
  26. $("<style type='text/css'>.page-title__2020 { display: inline; } .back-button-circle__2020{ z-index: 99;}</style>").appendTo("head");
  27.  
  28. /* Formatting */
  29.  
  30. var mapFormat, mapArea, mapImage = '';
  31. var credits = '<br><p>(Map from <a href="https://www.jellyneo.net">Jellyneo.net</a>)</p><br>';
  32.  
  33. var mapContainer = document.getElementsByClassName("page-title__2020");
  34. var currentUrl = location.pathname;
  35. determineMap();
  36.  
  37. var formatting = '<center><br>' + mapFormat + credits + '</center>';
  38. mapContainer[0].innerHTML += formatting;
  39.  
  40.  
  41. function determineMap() {
  42.  
  43.   /* Explore */
  44.   if(currentUrl == "/explore.phtml"){
  45.     $("<style type='text/css'>#mapContainer { overflow: hidden; width: 500px; height: 545px; margin-top: -70px;} .mapImageWrapper {padding-top: 70px;}</style>").appendTo("head");
  46.  
  47.         var firstMap = '<map name="oldMap"><area shape="POLY" href="/objects.phtml" alt="Neopia Central" coords="155,139, 153,118, 182,101, 202,101, 212,116, 173,143, 155,139, 155,139" target="_parent"><area shape="POLY" href="/worlds/index_kikolake.phtml" alt="Kiko Lake" coords="205,137, 203,165, 182,168, 182,139, 200,131, 206,135, 205,137" target="_parent"><area shape="POLY" href="/worlds/index_roo.phtml" alt="Roo Island" coords="213,113, 256,111, 257,94, 225,84, 211,102, 212,113, 213,113" target="_parent"><area shape="POLY" href="/medieval/index.phtml" alt="Meridell" coords="266,92, 254,119, 266,141, 301,146, 305,115, 288,92, 266,91, 266,92" target="_parent"><area shape="POLY" href="/medieval/brightvale.phtml" alt="Brightvale" coords="220,127, 209,135, 205,175, 251,175, 249,135, 220,127, 220,127" target="_parent"><area shape="POLY" href="/halloween/index.phtml" alt="Haunted Woods" coords="135,147,120,182,124,221,136,233,168,236,174,209,176,188,153,138" target="_parent"><area shape="POLY" href="/pirates/index.phtml" alt="Krawk Island" coords="331,240,360,255,366,278,360,301,321,301,315,281,318,251" target="_parent"><area shape="POLY" href="/faerieland/index.phtml" alt="Faerieland" coords="185,179,179,207,183,227,226,223,229,202,218,179" target="_parent"><area shape="POLY" href="/space/index.phtml" alt="Virtupets" coords="379,57, 384,98, 467,111, 486,61, 446,18, 380,49, 379,57" target="_parent"><area shape="POLY" href="/prehistoric/index.phtml" alt="Tyrannia" coords="342,57, 333,66, 306,73, 325,104, 384,113, 367,62, 345,55, 342,57" target="_parent"><area shape="POLY" href="/water/index.phtml" alt="Maraqua" coords="371,149, 355,187, 362,196, 400,194, 387,148, 372,148, 371,149" target="_parent"><area shape="POLY" href="/island/index.phtml" alt="Mystery Island" coords="395,217, 377,246, 378,289, 414,291, 431,253, 428,223, 397,217, 395,217" target="_parent"><area shape="POLY" href="/desert/index.phtml" alt="Lost Desert" coords="143,244, 181,271, 174,279, 122,277, 119,259, 144,244, 143,244" target="_parent"><area shape="POLY" href="/winter/index.phtml" alt="Terror Mountain" coords="175,59, 251,79, 336,62, 257,14, 174,57, 175,59" target="_parent"><area shape="CIRCLE" href="/moon/index.phtml" alt="Kreludor" coords="64,59,34" target="_parent"><area shape="CIRCLE" href="#map_pic2" alt="Rotate" coords="441,379,40"></map>';
  48.         var secondMap = '<map name="newMap"><area shape="POLY" href="/winter/index.phtml" alt="Terror Mountain" coords="175,59, 251,79, 336,62, 257,14, 174,57, 175,59" target="_parent"><area shape="POLY" href="/space/index.phtml" alt="Virtupets" coords="379,57, 384,98, 467,111, 486,61, 446,18, 380,49, 379,57" target="_parent"><area shape="RECT" href="/island/index.phtml" alt="Mystery Island" coords="63,211, 108,266" target="_parent"><area shape="RECT" href="/tropical/index.phtml" alt="Lutari Island" coords="146,251, 208,307" target="_parent"><area shape="RECT" href="/altador/index.phtml" alt="Altador" coords="267,206, 315,256" target="_parent"><area shape="CIRCLE" href="/moon/index.phtml" alt="Kreludor" coords="64,59,34" target="_parent"><area shape="POLY" href="/shenkuu/index.phtml" alt="Shenkuu" coords="273,116, 297,137, 334,147, 339,117, 341,81, 322,69, 290,68, 270,111, 271,113, 273,116" target="_parent"><area shape="POLY" href="/magma/index.phtml" alt="Moltara" coords="91,142, 125,151, 125,174, 115,196, 88,197, 77,177, 82,149, 91,142" target="_parent"><area shape="CIRCLE" href="#map_pic1" alt="Rotate" coords="441,379,40"></map>';
  49.         mapImage = '<div id="mapContainer"><div id="map_pic1" class="mapImageWrapper" style="padding-top: 70px;"><img src="https://www.jellyneo.net/images/tourguide/explore_1.png" name="map_pic1" usemap="#oldMap"></a><div id="map_pic2" class="mapImageWrapper"><img src="https://www.jellyneo.net/images/tourguide/explore_2.png" name="map_pic2" usemap="#newMap"></div></div>';
  50.         mapArea = firstMap + secondMap;}
  51.  
  52.   /* Faerieland
  53.     else if(currentUrl == "/faerieland/index.phtml"){
  54.     mapArea = '<map name="FL1"><area shape="rect" title="Jhudoras Bluff" coords="0,0,170,88" href="/faerieland/darkfaerie.phtml"><area shape="rect" title="Healing Springs" coords="19,236,242,431" href="/faerieland/springs.phtml"><area shape="poly" title="Faerie City" coords="173,0,173,89,133,89,133,176,292,176,292,138,313,138,313,92,225,92,225,1" href="/faerieland/faeriecity.phtml"><area shape="rect" title="Faerie Caverns" coords="291,1,401,89" href="/faerieland/caverns/index.phtml"><area shape="rect" title="Poogle Racing" coords="426,3,647,86" href="/faerieland/poogleracing.phtml"><area shape="rect" title="Wheel of Excitement" coords="381,189,511,266" href="/faerieland/wheel.phtml"><area shape="rect" title="Rainbow Fountain" coords="357,274,631,422" href="/faerieland/rainbowfountain.phtml"><area shape="rect" title="The Discarded Magical Blue Grundo Plushie of Prosperity" coords="324,231,337,242" href="/faerieland/tdmbgpop.phtml"></map>';
  55.         mapImage = '<img src="https://www.jellyneo.net/images/tourguide/faerieland_crashed.png" usemap="#FL1">';}
  56.  
  57.     else if (currentUrl == "/faerieland/faeriecity.phtml"){
  58.     mapArea= '<map name="FL2"><area shape="poly" title="Employment Agency" coords="8,44,128,44,129,164,8,164" href="/faerieland/employ/employment.phtml"><area shape="rect" title="Faerie Quests" coords="148,165,276,315" href="/quests.phtml"><area shape="rect" title="Faerie Paint Brushes" coords="8,169,146,437" href="/faerieland/brushes.phtml"><area shape="rect" title="Faerie Personality Quiz" coords="153,317,295,434" href="/faerieland/personality.phtml"><area shape="rect" title="The Hidden Tower" coords="258,37,277,151" href="?go=hidden_tower"><area shape="rect" title="Faerieland Colouring Pages" coords="484,11,640,77" href="/faerieland/faerie_colour.phtml"><area shape="rect" title="Faerie Weapon Shop" coords="400,78,510,137" href="/objects.phtml?type=shop&obj_type=93"><area shape="rect" title="Faerie Bubbles" coords="280,75,379,131" href="/games/game.phtml?game_id=358"><area shape="poly" title="Faerieland Bookshop" coords="529,294,469,393,469,432,639,432,638,174" href="/objects.phtml?type=shop&obj_type=38"><area shape="rect" title="Back to Faerieland" coords="304,358,421,418" href="?go=guidetoneopia&amp;world=5&amp;map=0"><area shape="rect" title="Faerie Foods" coords="349,229,429,357" href="/objects.phtml?type=shop&obj_type=39"><area shape="poly" title="Faerie Furniture" coords="474,139,430,226,430,381,474,382,525,296,593,218,568,152" href="/objects.phtml?type=shop&obj_type=75"><area shape="poly" title="Faerie Petpets" coords="349,139,299,262,299,349,346,351,346,227,426,228,439,205,412,139" href="/objects.phtml?type=shop&obj_type=40"></map>';
  59.         mapImage = '<img src="https://www.jellyneo.net/images/tourguide/faeriecity_crashed.png" usemap="#FL2">';} */
  60.  
  61.   /* Haunted Woods
  62.     else if (currentUrl == "/halloween/index.phtml"){
  63.         mapArea = '<map name="HW1"><area shape="poly" title="The Brain Tree" coords="27,25, 153,17, 155,72, 139,85, 140,134, 107,108, 91,78, 27,68, 27,25" href="/halloween/braintree.phtml"><area shape="rect" title="Stone Battledome Arena" coords="160,10, 287,75" href="/dome/index.phtml?&rndno=649"><area shape="rect" title="Deserted Fairgrounds" coords="316,10, 485,129" href="/halloween/index_fair.phtml"><area shape="rect" title="The Gypsy Camp (Neovia)" coords="505,18, 631,144" href="/halloween/hwp/gypsy_camp.phtml"><area shape="poly" title="Fetch!" coords="14,104, 111,118, 139,142, 115,167, 75,142, 14,138, 14,104" href="/games/maze/maze.phtml"><area shape="rect" title="Spooky Petpets" coords="146,85, 209,149" href="/objects.phtml?type=shop&obj_type=31"><area shape="poly" title="Eliv Thade" coords="186,202, 238,100, 283,94, 300,158, 347,158, 347,205, 300,205, 260,259, 186,254, 286,202" href="/games/game.phtml?game_id=230"><area shape="poly" title="Halloween Paint Brushes" coords="402,145, 487,145 487,191, 429,191, 412,237, 358,231, 357,184, 402,145" href="/halloween/costumes.phtml"><area shape="rect" title="Ednas Tower" coords="514,148, 620,300" href="/halloween/witchtower.phtml"><area shape="rect" title="MAGAX: Destroyer II" coords="10,170, 107,270" href="/games/game.phtml?game_id=763"><area shape="rect" title="Haunted Woods Colouring Pages" coords="121,174, 184,278" href="/halloween/colouring_page.phtml"><area shape="rect" title="The Esophagor" coords="178,283, 279,363" href="/halloween/esophagor.phtml"><area shape="rect" title="Game Graveyard" coords="282,240, 426,307" href="/halloween/gamegraveyard.phtml"><area shape="rect" title="Haunted House" coords="427,209, 500,398" href="/halloween/haunted_house.phtml"><area shape="rect" title="Neopet Masks" coords="538,313, 623,430" href="/halloween/spet_masks.phtml"></map>';
  64.         mapImage = '<img src="https://www.jellyneo.net/images/tourguide/gtn_hauntedwoods.gif" usemap="#HW1">';}
  65.  
  66.   else if (currentUrl == "/halloween/index_fair.phtml"){
  67.     mapArea = '<map name="HW2"><area shape="poly" title="Castle Nox" coords="10,8,188,10,188,51,125,51,125,65,109,65,109,99,10,99" href="/halloween/fortnox.phtml"><area shape="rect" title="Scratchcards" coords="16,111,137,243" href="/halloween/scratch.phtml"><area shape="rect" title="Cork Gun Gallery" coords="16,244,207,332" href="/halloween/corkgun.phtml"><area shape="rect" title="Spooky Food" coords="142,148,211,242" href="/objects.phtml?type=shop&obj_type=30"><area shape="rect" title="Bagatelle" coords="214,183,343,289" href="/halloween/bagatelle.phtml"><area shape="rect" title="Spooky Furniture" coords="249,294,441,418" href="/objects.phtml?type=shop&obj_type=60"><area shape="rect" title="Ghost Neopets" coords="444,308,572,408" href="/halloween/ghostpets.phtml"><area shape="rect" title="Haunted Weaponry" coords="496,187,637,306" href="/objects.phtml?type=shop&obj_type=59"><area shape="rect" title="Carnival of Terror" coords="400,16,634,126" href="/games/game.phtml?game_id=902"><area shape="rect" title="Carnival of Terror" coords="320,83,398,180" href="/games/game.phtml?game_id=902"><area shape="rect" title="Test Your Strength" coords="247,18,318,175" href="/halloween/strtest/index.phtml"><area shape="poly" title="Wheel of Misfortune" coords="124,70,124,108,181,107,181,143,245,143,245,69" href="/halloween/wheel/index.phtml"><area shape="poly" title="Coconut Shy" coords="399,130,399,201,383,201,383,275,489,275,490,184,525,184,525,130" href="/halloween/coconutshy.phtml"></map>';
  68.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/hauntedwoods2.png" usemap="#HW2">';}
  69.  
  70.   else if (currentUrl == "/halloween/neovia.phtml"){
  71.     mapArea = '<map name="HW3"><area shape="rect" title="Almost Abandoned Attic" coords="121,298,137,335" href="/halloween/garage.phtml"><area shape="poly" title="Apple Bobbing" coords="58,171,52,214,113,218,118,261,167,261,164,165" href="/halloween/applebobbing.phtml"><area shape="poly" title="The Crumpetmonger" coords="108,83,112,166,164,164,166,182,213,182,210,79" href="/objects.phtml?type=shop&obj_type=105"><area shape="poly" title="Chesterdrawers Antiques" coords="235,39,237,81,259,82,260,148,325,151,325,79,342,82,337,38" href="/objects.phtml?type=shop&obj_type=104"><area shape="poly" title="Neovian Printing Press" coords="328,92,327,210,406,210,406,162,470,162,469,116,371,120,371,92" href="/objects.phtml?type=shop&obj_type=106"><area shape="poly" title="Prigpants &amp; Swolthy, Tailors" coords="272,264,253,314,259,365,372,365,372,298,428,297,428,250,301,252" href="/objects.phtml?type=shop&obj_type=107"><area shape="poly" title="Grave Danger" coords="282,438,282,362,350,362,427,365,427,302,491,302,491,438,282,438" href="/halloween/gravedanger/"></map>';
  72.         mapImage = '<img src="https://www.jellyneo.net/images/tourguide/neovia.png" usemap="#HW3">';} */
  73.  
  74.   /* Kiko Lake */
  75.   /*else if (currentUrl == "/worlds/index_kikolake.phtml"){
  76.     mapArea = '<map name="KL"><area shape="poly" title="Kiko Lake Carpentry" href="/objects.phtml?type=shop&obj_type=67" coords="36,130, 238,228, 335,160, 107,0"><area shape="rect" title="Kiko Lake Treats" href="/objects.phtml?type=shop&obj_type=66" coords="550,0, 410,140"><area shape="poly" title="Glass Bottom Boat Tours" href="/worlds/kiko/glass_boat.phtml" coords="0,129, 209,217, 109,360, 0,378"><area shape="rect" title="Kiko Lake Colouring Pages" href="/worlds/kiko/colouring_page.phtml" coords="209,216, 420,420"></map>';
  77.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/kikolake.png" usemap="#KL">';}*/
  78.  
  79.   /* Krawk Island
  80.   else if (currentUrl == "/pirates/index.phtml"){
  81.     mapArea = '<map name="KI1"><area shape="poly" title="Keep Out!" coords="82,16,38,53,11,53,12,109,202,109,202,55,169,55,138,16" href="/pirates/keepout.phtml"><area shape="rect" title="Dubloon-O-Matic" coords="20,161,148,228" href="/pirates/dubloonomatic.phtml"><area shape="rect" title="Fungus Cave" coords="194,158,208,172" href="/pirates/funguscave.phtml"><area shape="rect" title="The Forgotten Shore" coords="222,132,247,157" href="/pirates/forgottenshore.phtml"><area shape="rect" title="Governors Mansion" coords="209,176,290,264" href="/pirates/mansion.phtml"><area shape="rect" title="Buried Treasure" coords="208,279,309,329" href="/pirates/buriedtreasure/index.phtml"><area shape="rect" title="Smugglers Cove" coords="236,59,414,146" href="/pirates/smugglerscove.phtml"><area shape="rect" title="The Golden Dubloon" coords="512,125,631,207" href="/pirates/restaurant.phtml"><area shape="rect" title="Armada" coords="350,249,431,327" href="/games/armada/armada.phtml"><area shape="poly" title="Warf Wharf" coords="337,157,303,220,303,243,425,242,425,157" href="/pirates/warfwharf.phtml"><area shape="poly" title="Swashbuckling Academy" coords="430,82,416,133,416,151,505,151,505,116,529,116,529,82" href="/pirates/academy.phtml"></map>';
  82.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/krawkisland_1.png" usemap="#KI1">';}*/
  83.  
  84.   else if (currentUrl == "/pirates/warfwharf.phtml"){
  85.     mapArea = '<map name="KI2"><area shape="rect" title="Krawk Island Colouring Pages" coords="17,129,153,301" href="/pirates/colouring.phtml"><area shape="poly" title="Krawps" coords="106,84,106,124,156,124,156,192,209,192,209,84" href="/pirates/krawps.phtml"><area shape="poly" title="Krawk Island Deckball Championships" coords="180,30,180,79,214,81,214,211,267,211,267,65,274,30" href="/pirates/championship.phtml"><area shape="poly" title="Bilge Dice" coords="271,65,271,220,324,234,337,233,337,126,357,126,374,83,375,26,295,27" href="/games/game.phtml?game_id=351"><area shape="poly" title="Krawk Island Fashions" coords="379,79,360,129,342,129,342,236,376,256,444,259,477,247,477,154,436,48,384,49" href="/pirates/fashion.phtml"><area shape="poly" title="Food Club" coords="486,17,450,76,461,106,633,108,633,17" href="/pirates/foodclub.phtml"><area shape="poly" title="Little Nippers" coords="478,114,478,248,633,250,633,114" href="/pirates/piratepets.phtml"></map>';
  86.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/krawkisland_2.png" usemap="#KI2">';}
  87.  
  88.   /* Kreludor
  89.   else if (currentUrl == "/moon/index.phtml"){
  90.     mapArea = '<map name="KRL"><area shape="circle" title="Back to Neopia" coords="63,46,40" href="/explore.phtml"><area shape="rect" title="Booktastic Books" coords="270,3,381,67" href="/objects.phtml?type=shop&obj_type=70"><area shape="rect" title="Cafe Kreludor" coords="406,2,487,43" href="/objects.phtml?type=shop&obj_type=72"><area shape="rect" title="Kreludan Mining Corporation" coords="121,33,253,155" href="/moon/mining.phtml"><area shape="rect" title="Neocola Machine" coords="295,98,366,177" href="/moon/neocola.phtml"><area shape="rect" title="Kreludan Homes" coords="402,80,497,159" href="/objects.phtml?type=shop&obj_type=71"><area shape="circle" title="Kreludor Colouring Pages" coords="415,245,60" href="/moon/colour.phtml"></map>';
  91.     mapImage = '<img src="http://images.neopets.com/maps/moon/kreludor_2005_01.gif" usemap="#KRL">';} */
  92.  
  93.     /* Maraqua */
  94.     else if (currentUrl == "/water/index.phtml"){
  95.     mapArea = '<map name="MRQ1"><area shape="rect" title="Maractite Marvels" coords="27,103, 152,229" href="/objects.phtml?type=shop&obj_type=87"><area shape="rect" title="Collectable Sea Shells" coords="7,233, 213,345" href="/objects.phtml?type=shop&obj_type=86"><area shape="rect" title="Maraquan Petpets" coords="308,68, 415,161" href="/objects.phtml?type=shop&obj_type=88"><area shape="rect" title="Kelp" coords="254,168, 410,268" href="/water/restaurant.phtml"><area shape="rect" title="Petpet Plunge" coords="533,44 642,145" href="/games/game.phtml?game_id=1078"><area shape="poly" title="Maraquan Neohomes" coords="440,87, 523,87, 523,170, 582,170, 582,212, 523,212, 523,260, 440,260, 440,87" href="/neohome"><area shape="rect" title="Jubble Bubble" coords="410,270, 625,365" href="/games/game.phtml?game_id=619"><area shape="rect" title="Maraquan Ruins" coords="426,369, 554,418" href="/water/index_ruins.phtml"></map>';
  96.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/maraqua.gif" usemap="#MRQ1">';}
  97.  
  98.     else if (currentUrl == "/water/index_ruins.phtml"){
  99.     mapArea = '<map name="MRQ2"><area shape="rect" title="Underwater Fishing" coords="90,36, 258,124" href="/water/fishing.phtml"><area shape="rect" title="Maraqua Colouring Pages" coords="310,85, 429,141" href="/water/maraqua_colour.phtml"><area shape="poly" title="Sea Slug" coords="508,16, 635,16, 635,266, 513,266, 407,215, 508,16" href="http://www.neopets.com/water/seaslug.phtml"><area shape="rect" title="Whirlpool" coords="26,138, 168,199" href="/games/game.phtml?game_id=927"><area shape="rect" title="Bubbling Pit" coords="237,225, 469,302" href="/water/bubblingpit.phtml"><area shape="rect" title="A Mysterious Statue" coords="100,245,135,278" href="/water/statue.phtml"><area shape="rect" title="Attack of the Revenge" coords="509,267, 630,377" href="/games/game.phtml?game_id=527"><area shape="rect" title="Back to Maraqua" coords="50,306, 218,368" href="/water/index.phtml"></map>';
  100.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/ruins.gif" usemap="#MRQ2">';}
  101.  
  102.   /* Meridell (Meri Acres Farm)*/
  103.   else if (currentUrl == "/medieval/index_farm.phtml"){
  104.     mapArea = '<map name="MD1"><area shape="rect" title="Pick Your Own" coords="5,191,171,292" href="/medieval/pickyourown_index.phtml"><area shape="rect" title="Attack of the Slorgs" coords="254,168,337,241" href="/games/game.phtml?game_id=386"><area shape="rect" title="EXTREME Potato Counter" coords="377,131,490,231" href="/games/game.phtml?game_id=226"><area shape="rect" title="Potato Counter" coords="18,322,191,426" href="/medieval/potatocounter.phtml"><area shape="rect" title="Guess the Marrow" coords="223,353,350,470" href="/medieval/guessmarrow.phtml"><area shape="rect" title="Rubbish Dump" coords="373,285,468,354" href="/medieval/rubbishdump.phtml"><area shape="rect" title="Back to Meridell" coords="55,432,146,498" href="/medieval/index.phtml"></map>';
  105.     mapImage = '<img src="http://images.neopets.com/maps/medieval/meriacresfarm_2004_02.gif" usemap="#MD1">';}
  106.  
  107.   /* Darigan Citadel */
  108.     else if (currentUrl == "/medieval/index_evil.phtml"){
  109.     mapArea = '<map name="DC"><area shape="poly" title="Lord Darigans Chambers" coords="301,42,305,75,294,81,296,97,305,108,304,128,302,157,304,173,328,173,343,173,348,137,344,112,348,97,357,89,349,75,359,69,385,71,432,72,466,68,487,65,497,56,493,41,490,35,365,34,343,34,322,30,310,33" href="/medieval/dariganschambers.phtml"><area shape="poly" title="Cellblock" coords="114,253,174,257,193,272,213,277,214,248,212,210,215,198,217,184,206,178,191,137" href="/cellblock/cellblock.phtml"><area shape="poly" title="Petpet Battles" coords="5,408,130,410,141,385,160,380,188,356,202,341,204,314,192,301,166,298,133,297,94,293,64,298,39,332,53,349,54,367,21,368,7,368" href="/games/petpet_battle/index.phtml"><area shape="poly" title="Darigan Toys" coords="204,308,205,351,241,351,282,352,305,346,311,335,311,316,286,306,260,294,242,285,221,277,210,286" href="/objects.phtml?type=shop&obj_type=74"><area shape="poly" title="Minions of Darigan" coords="330,300,325,339,422,343,420,304,407,296,402,278,391,265,375,265,353,272,335,276" href="/medieval/minions.phtml"><area shape="poly" title="Darigan Citadel Colouring Pages" coords="426,308,494,305,491,242,444,243,432,233,402,235,402,255,404,277,409,293" href="/medieval/colouring.phtml"></map>';
  110.     mapImage = '<img src="http://images.neopets.com/maps/medieval/citadel_2004_01.gif" usemap="#DC">';}
  111.  
  112.   /* Moltara
  113.   else if (currentUrl == "/magma/index.phtml"){
  114.     mapArea = '<map name="MLT1"><area shape="rect" title="Cave Glider" coords="249,10, 413,58" href="/games/game.phtml?game_id=1156"><area shape="poly" title="The Water Tower" coords="300,67,320,85,320,125,300,140,285,125,285,85,300,67" href="/magma/portal"><area shape="poly" title="Lampwycks Lights Fantastic" coords="356,83, 424,73,454,21,534,21,534,172,356,144,356,83" href="/objects.phtml?type=shop&obj_type=110"><area shape="rect" title="Tunnel Tumble" coords="540,66,602,177" href="/games/game.phtml?game_id=1175"><area shape="rect" title="Moltara Caves" coords="589,261,637,321" href="/magma/caves.phtml"><area shape="rect" title="Obsidian Quarry" coords="430,407,479,433" href="/magma/quarry.phtml"><area shape="poly" title="Obsidian Quarry" coords="11,200,31,211,46,291,87,318,90,398,199,381,356,430,11,430,13,200" href="/magma/quarry.phtml"><area shape="poly" title="Tangors Workshop" coords="14,51,108,51,108,250,47,250,40,200,14,185,14,51" href="/magma/workshop.phtml"><area shape="rect" title="Town Hall" coords="120,75,280,263" href="/magma/townhall.phtml"><area shape="poly" title="Cogs Togs" coords="100,376,256,376,256,326,136,274,55,263,57,286,93,309,100,376" href="/objects.phtml?type=shop&obj_type=111"><area shape="poly" title="Molten Morsels" coords="637,337,637,426,492,426,492,394,418,394,418,337,637,337" href="/objects.phtml?type=shop&obj_type=112"></map>';
  115.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/moltara.png" usemap="#MLT1">';}
  116.  
  117.   else if (currentUrl == "/magma/caves.phtml"){
  118.     mapArea = '<map name="MLT2"><area shape="rect" title="Igneots Cavern" coords="10,270,254,432" href="/magma/igneot.phtml"><area shape="rect" title="Moltara City" coords="265,375,520,435" href="/magma/index.phtml"><area shape="rect" title="The Magma Pool" coords="15,130,255,250" href="/magma/pool.phtml"><area shape="rect" title="Moltaran Petpets" coords="275,165,427,308" href="/objects.phtml?type=shop&obj_type=113"><area shape="rect" title="Moltaran Books" coords="440,40,617,166" href="/objects.phtml?type=shop&obj_type=114"><area shape="rect" title="Moltara Gilded Pages" coords="210,12,290,120" href="/magma/magma_colour.phtml"><area shape="rect" title="Dark Cave" coords="305,45,350,70" href="/magma/darkcave.phtml"></map>';
  119.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/moltaracaves.png" usemap="#MLT2">';}
  120.     */
  121.  
  122.   /* Lost City of Geraptiku (Mystery Island) */
  123.   else if (currentUrl == "/worlds/index_geraptiku.phtml"){
  124.     mapArea = '<map name="MI1"><area shape="rect" title="Deserted Tomb" href="/worlds/geraptiku/tomb.phtml" coords="37,1, 253,128"><area shape="rect" title="Geraptiku Petpets" coords="334,24, 482,139" href="/objects.phtml?type=shop&obj_type=89"><area shape="poly" title="Geraptiku Colouring Pages" href="/worlds/geraptiku/colouring.phtml" coords="239,133, 266,251, 378,269, 407,252, 397,197, 320,127, 237,130, 239,133"><area shape="poly" title="Back to Mystery Island" href="/island/index.phtml" coords="238,316, 259,337, 218,399, 307,399, 275,322, 242,317, 238,316"></map>';
  125.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/geraptiku.png" usemap="#MI1">';}
  126.  
  127.   /* Neopia Central
  128.   else if (currentUrl == "/objects.phtml"){
  129.     mapArea = '<map name="NC1"><area shape="poly" title="Auction House" coords="90,6, 57,21, 60,69, 93,84, 78,113, 127,124, 149,110, 139,89, 129,83, 127,38, 103,5, 90,6, 90,6" href="/auctions.phtml"><area shape="poly" title="The National Neopian Bank" coords="128,1, 174,1, 197,54, 194,95, 161,110, 145,96, 131,37, 127,1, 128,1" href="/bank.phtml"><area shape="rect" title="Fresh Foods" coords="201,2, 275,101" href="/objects.phtml?type=shop&obj_type=1"><area shape="rect" title="Magical Bookshop" coords="278,2, 339,92" href="/objects.phtml?type=shop&obj_type=7"><area shape="rect" title="Ever Stocked General Store" coords="341,4 419,102" href="/generalstore.phtml"><area shape="rect" title="Neopian Bazaar" coords="-1,121, 56,158" href="/market_bazaar.phtml"><area shape="rect" title="Neopian Plaza" coords="1,233, 55,269" href="/market_plaza.phtml"><area shape="poly" title="Petpet Shop" coords="89,135, 120,145, 141,192, 122,236, 69,233, 53,189, 57,144, 89,136, 89,135" href="/objects.phtml?type=shop&obj_type=25"><area shape="poly" title="The Money Tree" coords="164,111, 135,142, 149,206, 225,229, 232,200, 235,183, 258,158, 229,105, 163,111, 164,111" href="/donations.phtml"><area shape="poly" title="Rainbow Pool" coords="301,165, 334,179, 315,227, 266,240, 234,221, 233,195, 258,173, 302,166, 301,165" href="/pool/index.phtml"><area shape="poly" title="The Deep Catacombs" coords="360,138, 407,133, 424,172, 422,211, 353,214, 341,165, 358,139, 360,138" href="/art"><area shape="rect" title="NC Mall" coords="52,245 141,340" href="http://ncmall.neopets.com/mall/shop.phtml?"><area shape="rect" title="Post Office" coords="138,262, 232,342" href="/objects.phtml?type=shop&obj_type=58"><area shape="poly" title="Neolodge" coords="373,216, 340,276, 348,308, 323,333, 346,356, 370,358, 386,338, 423,335, 424,264, 395,213, 374,215, 373,216" href="/neolodge.phtml"><area shape="poly" title="Magic Shop" coords="67,359, 106,408, 104,441, 32,440, 30,417, 2,410, 2,382, 68,360, 67,359" href="/objects.phtml?type=shop&obj_type=2"><area shape="poly" title="Pharmacy" coords="106,339, 167,364, 181,388, 183,417, 143,439, 107,430, 109,390, 83,369, 80,352, 106,339, 106,339" href="/objects.phtml?type=shop&obj_type=13"><area shape="rect" title="Shop of Offers" coords="339,355, 421,447" href="/shop_of_offers.phtml?slorg_payout=yes"></map>';
  130.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/neopiacentral.gif" usemap="#NC1">';}
  131.  
  132.   else if (currentUrl == "/market_bazaar.phtml"){
  133.     mapArea = '<map name="NC2"><area shape="poly" title="Petpet Supplies" coords="40,23, 46,88, 101,84, 153,56, 149,28, 40,22, 40,23" href="/objects.phtml?type=shop&obj_type=69"><area shape="poly" title="Neohome NP Superstore" coords="168,21, 168,55, 202,64, 215,111, 256,124, 290,124, 290,21" href="/neohome/shop"><area shape="rect" title="Health Food Shop" coords="291,31, 382,114" href="/objects.phtml?type=shop&obj_type=16"><area shape="rect" title="Toy Shop" coords="386,12, 469,102" href="/objects.phtml?type=shop&obj_type=3"><area shape="poly" title="Wizards Shop" coords="24,85, 83,117, 88,152, 31,172, 0,153, 24,85" href="/tcg/home.phtml"><area shape="rect" title="Marketplace" coords="10,195, 83,262" href="/market_map.phtml"><area shape="rect" title="Grooming Parlour" coords="99,170, 203,240" href="/objects.phtml?type=shop&obj_type=5"><area shape="rect" title="Chocolate Factory" coords="288,119, 389,241" href="/objects.phtml?type=shop&obj_type=14"><area shape="rect" title="Main Shops" coords="421,192, 497,258" href="/objects.phtml"><area shape="poly" title="Defence Magic" coords="25,286, 7,299, 10,344, 25,373, 110,379, 120,328, 52,282, 25,287, 25,286" href="/objects.phtml?type=shop&obj_type=10"><area shape="poly" title="Usukiland" coords="103,283, 136,278, 192,295, 216,323, 208,368, 135,371, 135,332, 101,302, 106,282, 103,283" href="/objects.phtml?type=shop&obj_type=48"><area shape="poly" title="Huberts Hot Dogs" coords="210,276, 210,304, 248,317, 233,346, 272,366, 306,345, 269,278, 212,278, 210,276" href="/objects.phtml?type=shop&obj_type=46"><area shape="poly" title="Fresh Smoothies" coords="322,284, 322,361, 362,365, 369,318, 403,304, 399,279, 322,284, 322,284" href="/objects.phtml?type=shop&obj_type=18"><area shape="poly" title="Unis Clothing" coords="416,283, 410,321, 381,330, 372,353, 431,365, 478,347, 452,277, 415,283, 416,283" href="/objects.phtml?type=shop&obj_type=4"><area shape="poly" title="Gift Shop" coords="69,423, 61,452, 41,464, 19,454, 12,424, 29,391, 84,383, 109,396, 91,420, 69,423, 69,423" href="/objects.phtml?type=shop&obj_type=17"><area shape="poly" title="Gardening Centre" coords="124,388, 104,425, 105,458, 139,472, 168,452, 166,426, 193,421, 207,398, 167,380, 122,389, 124,388" href="/objects.phtml?type=shop&obj_type=12"><area shape="poly" title="The Bakery" coords="225,393, 245,433, 284,437, 287,463, 257,470, 187,467, 185,435, 226,394, 225,393" href="/objects.phtml?type=shop&obj_type=15"><area shape="rect" title="Battle Magic" coords="247,367, 319,430" href="/objects.phtml?type=shop&obj_type=9"><area shape="rect" title="Neopian Furniture" coords="323,380, 417,465" href="/objects.phtml?type=shop&obj_type=41"><area shape="rect" title="Collectable Card Shop" coords="421,382, 485,470" href="/objects.phtml?type=shop&obj_type=8"></map>';
  134.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/bazaar.gif" usemap="#NC2">';}
  135.  
  136.   else if (currentUrl == "/market_plaza.phtml"){
  137.     mapArea = '<map name="NC3"><area shape="poly" title="Kadoatery" coords="68,57, 130,64, 129,135, 95,146, 8,132, 12,111, 69,58, 68,57" href="/games/kadoatery/index.phtml"><area shape="poly" title="Wishing Well" coords="110,48, 156,57, 158,103, 220,106, 222,24, 118,11, 107,45, 110,48" href="/wishing.phtml"><area shape="rect" title="Plushie Palace" coords="454,151, 330,75" href="/objects.phtml?type=shop&obj_type=98"><area shape="poly" title="Alien Aisha Vending Machine" coords="368,12, 369,48, 407,58, 426,104, 482,101, 496,50, 475,12, 366,13, 368,12" href="/vending.phtml"><area shape="rect" title="Back to the Main Shops" coords="2,197, 65,245" href="/objects.phtml"><area shape="rect" title="Welcome Center" coords="263,160, 399,258" href="/petcentral.phtml"><area shape="rect" title="Hospital" coords="7,258, 130,359" href="/hospital.phtml"><area shape="poly" title="Defenders of Neopia HQ" coords="131,283, 269,283, 269,318, 203,318, 203,362, 131,362, 131,283" href="/games/defenders_choose.phtml"><area shape="poly" title="Second-Hand Shoppe" coords="225,333, 288,325, 295,308, 315,308, 316,317, 356,318, 358,350, 376,357, 371,392, 330,396, 308,392, 269,386, 259,367, 225,358, 225,331, 225,333" href="/thriftshoppe/index.phtml"><area shape="rect" title="Pizzaroo" coords="358,273, 474,337" href="/objects.phtml?type=shop&obj_type=47"><area shape="rect" title="The Pound" coords="68,386, 204,467" href="/pound/index.phtml"><area shape="rect" title="Music Shop" coords="274,400, 392,474" href="/objects.phtml?type=shop&obj_type=84"><area shape="rect" title="School Supplies" coords="382,342, 485,438" href="/objects.phtml?type=shop&obj_type=53"></map>';
  138.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/plaza.gif" usemap="#NC3">'; }*/
  139.  
  140.   else if (currentUrl == "/art/"){
  141.     mapArea = '<map name="NC4"><area shape="rect" title="How to Draw" coords="195,12,314,93" href="/art/drawing.phtml"><area shape="rect" title="Art Gallery" coords="5,21,157,132" href="/art/gallery.phtml"><area shape="rect" title="Poetry Contest" coords="229,105,388,174" href="/contributions_poems.phtml"><area shape="rect" title="Coffee Cave" coords="5,150,163,254" href="/objects.phtml?type=shop&obj_type=34"><area shape="rect" title="Collectable Coins" coords="264,190,396,282" href="/objects.phtml?type=shop&obj_type=68"><area shape="rect" title="Neopian Times" coords="32,276,168,368" href="/ntimes/index.phtml"><area shape="rect" title="Storytelling Competition" coords="203,294,390,391" href="/art/storytell.phtml"></map>';
  142.     mapImage = '<img src="http://images.neopets.com/images/shops/catacombs_3.gif" usemap="#NC4">';}
  143.  
  144.   /* Roo Island */
  145.   else if (currentUrl == "/worlds/index_roo.phtml"){
  146.     mapArea = '<map name="RI"><area shape="rect" title="Dice-A-Roo" href="/games/dicearoo.phtml" coords="130,171,228,217"><area shape="rect" title="Games Room" href="/games/" coords="468,249,580,303"><area shape="rect" title="Storytelling" href="/art/storytell.phtml" coords="555,182,630,232"><area shape="rect" title="Colouring Pages" href="/worlds/roo/colouring_page.phtml" coords="540,81,630,114"><area shape="rect" title="Art Gallery" href="/art/gallery.phtml" coords="497,29,572,66"><area shape="rect" title="Poetry Contest" href="/contributions_poems.phtml" coords="405,101,505,130"><area shape="rect" title="Merry Go Round" href="/worlds/roo/merrygoround.phtml" coords="298,132,420,182"><area shape="rect" title="Souvenirs" href="/objects.phtml?type=shop&obj_type=76" coords="144,238,265,298"><area shape="rect" title="Deadly Dice" href="/worlds/deadlydice.phtml" coords="14,198,117,259"><area shape="poly" title="Roo Island Properties" href="/neohome/" coords="315,60,292,121,396,124,396,59"><area shape="rect" title="Coffee Shop" href="/objects.phtml?type=shop&obj_type=34" coords="557,118,636,170"><area shape="rect" title="How to Draw" href="/art/drawing.phtml" coords="531,340,623,386"><area shape="poly" title="Spring Shop" href="/objects.phtml?type=shop&obj_type=116" coords="288,230,280,293,324,298,388,266,391,227"></map>';
  147.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/rooisland.png" usemap="#RI">';}
  148.  
  149.   /* Shenkuu */
  150.   else if (currentUrl == "/shenkuu/index.phtml"){
  151.     mapArea = '<map name="SHK"><area shape="rect" title="Lunar Temple" href="/shenkuu/lunar/" coords="196,41, 293,143"><area shape="rect" title="Remarkable Restoratives" href="/objects.phtml?type=shop&obj_type=102" coords="37,119, 125,251"><area shape="rect" title="Faunciful Fauna" href="/objects.phtml?type=shop&obj_type=103" coords="438,144, 479,248"><area shape="rect" title="Kou-Jong" href="/games/game.phtml?game_id=707" coords="34,258, 81,371"><area shape="rect" title="Culinary Concoctions" href="/shenkuu/cooking.phtml" coords="188,219, 264,314"><area shape="rect" title="Exotic Foods" href="/objects.phtml?type=shop&obj_type=101" coords="276,203, 334,301"><area shape="rect" title="Wondrous Weaponry" href="/objects.phtml?type=shop&obj_type=100" coords="350,254, 446,380"><area shape="rect" title="Negg Cave" href="/shenkuu/neggcave/index.phtml" coords="2,97, 56,197"></map>';
  152.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/shenkuu.png" usemap="#SHK">';}
  153.  
  154.     /* Terror Mountain
  155.   else if (currentUrl == "/winter/index.phtml"){
  156.     mapArea = '<map name="TM1"><area shape="rect" title="Top of the Mountain" coords="31,19, 118,60" href="/winter/terrormountain.phtml"><area shape="rect" title="Advent Calendar" coords="358,22, 453,67" href="/winter/adventcalendar.phtml"><area shape="rect" title="Ice Caves" coords="479,18, 565,59" href="/winter/icecaves.phtml"><area shape="rect" title="Scratchcard Kiosk" coords="9,76, 100,220" href="/winter/kiosk.phtml"><area shape="rect" title="Gift Tags" coords="188,92, 278,135" href="/winter/present_tags.phtml"><area shape="rect" title="Snowball Fight" coords="446,80, 552,144" href="/games/game.phtml?game_id=633"><area shape="rect" title="Ice Cream Machine" coords="247,137, 417,236" href="/games/game.phtml?game_id=507"><area shape="rect" title="Slushie Shop" coords="476,156, 634,265" href="/objects.phtml?type=shop&obj_type=35"><area shape="rect" title="Rink Runner" coords="123,236, 217,283" href="/games/game.phtml?game_id=220"><area shape="rect" title="Ice Cream Cart" coords="341,237, 438,313" href="/winter/icecream.phtml"><area shape="rect" title="Merry Outfits" coords="162,346, 248,386" href="/winter/merryoutfits.phtml"><area shape="poly" title="Wintery Petpets" coords="431,320, 516,320, 581,267, 634,267, 634,403, 516,403, 516,365, 431,365" href="/objects.phtml?type=shop&obj_type=61"></map>';
  157.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/happyvalley.gif" usemap="#TM1">';}
  158.  
  159.   else if (currentUrl == "/winter/icecaves.phtml"){
  160.     mapArea = '<map name="TM2"><area shape="rect" title="Snowager" coords="97,16, 232,84" href="/winter/snowager.phtml"><area shape="rect" title="Top of the Mountain" coords="293,11, 435,58" href="/winter/terrormountain.phtml"><area shape="rect" title="Snowmuncher" coords="458,22, 626,95" href="/games/game.phtml?game_id=412"><area shape="rect" title="Ice Battledome Arena" coords="19,103, 203,278" href="/battledome/battledome.phtml?battle_location=2"><area shape="rect" title="Terror Mountain Colouring Pages" coords="344,124, 492,215" href="/winter/colouring.phtml"><area shape="rect" title="Hannah and the Ice Caves" coords="530,117, 636,219" href="/games/game.phtml?game_id=473"><area shape="rect" title="Let It Slide" coords="19, 286, 203,379" href="/games/game.phtml?game_id=970"><area shape="rect" title="Ice Crystal Shop" coords="301,265, 494,364" href="/objects.phtml?type=shop&obj_type=36"><area shape="rect" title="The Neggery" coords="514,242, 639,368" href="/winter/neggery.phtml"><area shape="rect" title="Back to Happy Valley" coords="381,372, 524,427" href="/winter/index.phtml"></map>';
  161.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/icecaves.gif" usemap="#TM2">';}
  162.  
  163.   else if (currentUrl == "/winter/terrormountain.phtml"){
  164.     mapArea = '<map name="TM3"> <area shape="rect" title="DAR-BLAT!!!" coords="173,27, 264,101" href="/games/game.phtml?game_id=895"><area shape="poly" title="Snow Faerie Quests" coords="266,53, 426,53, 426,221, 395,221, 395,188, 266,188, 266,53" href="/winter/snowfaerie.phtml"><area shape="rect" title="Terror Mountain Tilt" coords="429,20, 555,97" href="/games/game.phtml?game_id=925"><area shape="rect" title="Snowbeast Snackrifice" coords="111,114, 214,195" href="/games/game.phtml?game_id=818"><area shape="rect" title="Super Happy Icy Fun Snow Shop" coords="470,101, 613,190" href="/objects.phtml?type=shop&obj_type=37"><area shape="poly" title="Snow Wars 2" coords="92,219, 235,219, 235,280, 160,280, 160,320, 128,320, 128,280, 92,280, 92,219" href="/games/game.phtml?game_id=544"><area shape="rect" title="Toy Repair Shop" coords="253,195, 378,271" href="/winter/brokentoys.phtml"><area shape="rect" title="Garage Sale Game" coords="532,193, 637,230" href="/games/game.phtml?game_id=676"><area shape="rect" title="Snow Roller" coords="25,283, 120,405" href="/games/game.phtml?game_id=1076"><area shape="rect" title="Shop Of Mystery" coords="279,273, 422,361" href="/winter/shopofmystery.phtml"><area shape="rect" title="Igloo Garage Sale" coords="476,240, 637,305" href="/winter/igloo.phtml"><area shape="rect" title="Back to Happy Valley" coords="391,365, 485,431" href="/winter/index.phtml"><area shape="rect" title="Back to Ice Caves" coords="542,312, 638,417" href="/winter/icecaves.phtml"></map>';
  165.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/terrormountain.gif" usemap="#TM3">';}*/
  166.  
  167.   /* Sakhmet City (Lost Desert) */
  168.   else if (currentUrl == "/desert/sakhmet.phtml"){
  169.     mapArea = '<map name="LD1"><area shape="poly" title="Peopatras Petpets" coords="60,74, 63,103, 85,114, 124,112, 114,55, 161,53, 158,19, 84,22, 60,75, 60,74" href="/objects.phtml?type=shop&obj_type=50"><area shape="rect" title="Lost Desert Foods" coords="138,67, 214,141" href="/objects.phtml?type=shop&obj_type=49"><area shape="poly" title="Lost Desert Colouring Pages" coords="247,124, 248,153, 288,154, 284,176, 331,189, 346,168, 321,120, 248,123, 247,124" href="/desert/colouringpages.phtml"><area shape="rect" title="Scarab 21" coords="356,155, 447,231" href="/games/scarab21/"><area shape="poly" title="Osiris Pottery" coords="5,218, 62,219, 64,188, 34,118, 5,122, 4,215, 5,218" href="/objects.phtml?type=shop&obj_type=55"><area shape="poly" title="Sakhmet Solitaire" coords="98,120, 173,176, 171,202, 97,201, 97,175, 63,167, 97,121, 98,120" href="/games/sakhmet_solitaire/index.phtml"><area shape="circle" title="Lost Desert Medicine" coords="307,239,50" href="/objects.phtml?type=shop&obj_type=85"><area shape="poly" title="Geos" coords="372,239, 440,237, 430,324, 396,328, 382,320, 380,302, 372,239, 372,239" href="/games/lobby/mp_lobby.phtml"><area shape="poly" title="Battle Supplies" coords="121,238, 202,240, 219,288, 178,323, 126,300, 122,240, 121,238" href="/objects.phtml?type=shop&obj_type=54"><area shape="rect" title="Suteks Scrolls" coords="221,286, 297,379" href="/objects.phtml?type=shop&obj_type=51"><area shape="poly" title="Paintbrush Stall" coords="301,296, 309,367, 367,399, 411,373, 420,338, 379,326, 375,297, 304,297, 301,296" href="/desert/paintbrushes.phtml"><area shape="poly" title="Fruit Machine" coords="21,284, 89,285, 128,344, 125,372, 77,382, 49,349, 22,286, 21,284" href="/desert/fruit/index.phtml"><area shape="rect" title="Desert Scratchcards" coords="132,333, 217,406" href="/desert/sc/kiosk.phtml"></map>';
  170.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/sakhmet.png" usemap="#LD1">';}
  171.  
  172.     /* Qasala (Lost Desert) */
  173.   else if (currentUrl == "/desert/qasala.phtml"){
  174.     mapArea = '<map name="LD2"><area shape="poly" title="Words of Antiquity" coords="24,67, 109,67, 106,125, 172,193, 160,221, 125,236, 87,226, 76,203, 42,185, 39,121, 26,93, 25,67, 24,67" href="/objects.phtml?type=shop&obj_type=92"><area shape="rect" title="Desert Arms" coords="319,120, 404,245" href="/objects.phtml?type=shop&obj_type=91"><area shape="poly" title="Qasalan Delights" coords="70,247, 36,283, 39,307, 23,312, 26,354, 107,354, 106,319, 142,313, 159,292, 153,250, 112,237, 79,237, 70,245, 70,247" href="/objects.phtml?type=shop&obj_type=90"><area shape="poly" title="Mystical Surroundings" coords="171,264, 153,295, 150,333, 179,350, 194,339, 230,346, 240,308, 279,305, 281,263, 172,263, 171,264" href="/objects.phtml?type=shop&obj_type=108"><area shape="rect" title="Wheel of Extravagance" coords="364,354,388,379" href="/desert/extravagance.phtml"></map>';
  175.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/qasala.png" usemap="#LD2">';}
  176.  
  177.   /* Tyrannia */
  178.   else if (currentUrl == "/prehistoric/index.phtml"){
  179.     mapArea = '<map name="TYR1"> <area shape="rect" title="To the Plateau" coords="92,22,173,63" href="/prehistoric/plateau.phtml"><area shape="rect" title="Tyrannian Cave Paintings" coords="19,126,166,166" href="/prehistoric/painting.phtml"><area shape="rect" title="Tyrannian Petpets" coords="196,96,295,142" href="/objects.phtml?type=shop&obj_type=44"><area shape="rect" title="Wheel of Mediocrity" coords="322,78,432,126" href="/prehistoric/mediocrity.phtml"><area shape="rect" title="Tyrannian Weaponry" coords="441,104,542,148" href="/objects.phtml?type=shop&obj_type=45"><area shape="rect" title="Tyrannian Furniture" coords="534,63,635,104" href="/objects.phtml?type=shop&obj_type=433"><area shape="rect" title="Tyrammet Village" coords="124,236,200,274" href="/prehistoric/village.phtml"><area shape="rect" title="Ugga Shinies" coords="421,373,552,413" href="/objects.phtml?type=shop&obj_type=117"></map>';
  180.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/tyrannianjungle_2013.png" usemap="#TYR1">'; }
  181.  
  182.   else if (currentUrl == "/prehistoric/plateau.phtml"){
  183.     mapArea = '<map name="TYR2"><area shape="rect" title="Lair of the Beast" coords="78,22,173,63" href="/prehistoric/thebeast.phtml"><area shape="rect" title="Giant Omelette" coords="188,18,274,59" href="/prehistoric/omelette.phtml?"><area shape="rect" title="Concert Hall" coords="30,86,135,125" href="/prehistoric/monotony/monotony.phtml"><area shape="rect" title="Tyrannian Invasion Memorial" coords="52,163,189,206" href="/neopedia.phtml?neopedia_id=291"><area shape="rect" title="Ticket Booth" coords="33,257,113,301" href="/prehistoric/ticketbooth.phtml"><area shape="rect" title="Wheel of Monotony" coords="289,35,383,77" href="/prehistoric/monotony/monotony.phtml"><area shape="rect" title="Town Hall" coords="235,179,332,221" href="/prehistoric/townhall.phtml"><area shape="rect" title="Tyrannian Battledome Arena" coords="475,71,579,113" href="/battledome/battledome.phtml?battle_location=6"><area shape="rect" title="Battleground" coords="521,12,641,50" href="/prehistoric/battleground/"><area shape="rect" title="Destruct-O-Match III" coords="408,326,550,354" href="/games/game.phtml?game_id=999"><area shape="rect" title="Back to Jungle" coords="254,382,337,418" href="/prehistoric/index.phtml"><area shape="rect" title="Tyrannian Foods" coords="464,393,610,427" href="/objects.phtml?type=shop&obj_type=42"></map>';
  184.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/tyrannianplateau_2013.png" usemap="#TYR2">';}
  185.  
  186.   /* Virtupets Space Station */
  187.   else if (currentUrl == "/space/index.phtml"){
  188.     mapArea = '<map name="VP1"><area shape="rectangle" title="Space Weaponry" coords="16,21, 221,159" href="/objects.phtml?type=shop&obj_type=23"><area shape="rect" title="Grundo Warehouse" coords="92,272, 210,329" href="/space/warehouse/prizecodes.phtml"><area shape="rectangle" title="Lever of Doom" coords="335,21, 433,94" href="/space/strangelever.phtml"><area shape="polygon" title="Space Armour" coords="239,21, 325,21, 325,97, 350,97, 350,135, 239,135, 239,21" href="/objects.phtml?type=shop&obj_type=24"><area shape="rect" title="Adopt a Grundo" coords="273,262, 442,412" href="/space/spaceadoption.phtml"><area shape="rectangle" title="Back to Recreation Deck" coords="506,55, 605,88" href="/space/recreation.phtml"><area shape="rectangle" title="Back to Hangar" coords="536,91, 634,124" href="/space/hangar.phtml"><area shape="rectangle" title="Space Petpets" coords="489,152, 632,248" href="/objects.phtml?type=shop&obj_type=26"></map>';
  189.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/supplydeck.gif" usemap="#VP1">';}
  190.  
  191.   else if (currentUrl == "/space/recreation.phtml"){
  192.     mapArea = '<map name="VP2"><area shape="rectangle" title="Gormball" coords="14,40, 90,134" href="/space/gormball.phtml"><area shape="rectangle" title="Splat-A-Sloth" coords="92,83, 190,176" href="/games/game.phtml?game_id=81"><area shape="rectangle" title="Spell or Starve" coords="60,194, 157,303" href="/games/game.phtml?game_id=202"><area shape="rect" title="Space Battledome Arena" coords="238,20, 400,142" href="/dome/index.phtml?battle_location=4"><area shape="rect" title="Grundos Cafe" coords="224,278, 413,426" href="/objects.phtml?type=shop&obj_type=22"><area shape="rectangle" title="Back to Supply Deck" coords="440,27, 542,63" href="/space/index.phtml"><area shape="rectangle" title="Back to Hangar" coords="472,66, 571,99" href="/space/hangar.phtml"><area shape="polygon" title="Evil Fuzzles from Beyond the Stars" coords="368,187, 498,187, 557,144, 624,187 624,356, 458,305, 458,230, 368,230, 368,187" href="/games/game.phtml?game_id=585"></map>';
  193.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/recdeck.gif" usemap="#VP2">';}
  194.  
  195.   else if (currentUrl == "/space/hangar.phtml"){
  196.     mapArea = '<map name="VP3"><area shape="rect" title="Back to Recreation Deck" coords="530,79, 630,114" href="/space/recreation.phtml"><area shape="rect" title="Back to Supply Deck" coords="510,115, 609,149" href="/space/index.phtml"><area shape="rect" title="The Return of the Return of Dr. Sloth" coords="256,185, 394,224" href="/games/game.phtml?game_id=480"><area shape="rect" title="Neverending Boss Battle" coords="360,258, 495,294" href="/games/game.phtml?game_id=552"><area shape="rect" title="Typing Terror" coords="427,380, 511,417" href="/games/game.phtml?game_id=574"></map>';
  197.     mapImage = '<img src="https://www.jellyneo.net/images/tourguide/hangar.gif" usemap="#VP3">';}
  198.  
  199.     mapFormat = mapArea + mapImage;
  200.  
  201. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement