function loadMaps() {
    if  (document.getElementById("2016AlaskaTrip") != null) loadScript("http://smallparadise.com/scripts/2016AlaskaTrip.js");
    if  (document.getElementById("2015Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2015RideMap_v3.js");
    if  (document.getElementById("2014Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2014RideMap_v3.js");
    if  (document.getElementById("2014hog_abc_v3") != null) loadScript("http://smallparadise.com/scripts/2014hog_abc.js");
    if  (document.getElementById("2013RFK_v3") != null) loadScript("http://smallparadise.com/scripts/2013RFK_v3.js");
    if  (document.getElementById("2013CF1K_v3") != null) loadScript("http://smallparadise.com/scripts/2013cf1k_v3.js");
    if  (document.getElementById("SCGT13_v3") != null) loadScript("http://smallparadise.com/scripts/scgt13_v3.js");
    if  (document.getElementById("2013Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2013RideMap_v3.js");
    if  (document.getElementById("2012CF1K_v3") != null) loadScript("http://smallparadise.com/scripts/2012cf1k_v3.js");
    if  (document.getElementById("SCGT12_v3") != null) loadScript("http://smallparadise.com/scripts/scgt12_v3.js");
    if  (document.getElementById("WHGT12_v3") != null) loadScript("http://smallparadise.com/scripts/whgt12_v3.js");
    if  (document.getElementById("2012Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2012RideMap_v3.js");
    if  (document.getElementById("2011Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2011RideMap_v3.js");
    if  (document.getElementById("2010Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2010RideMap_v3.js");
    if  (document.getElementById("2009Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2009RideMap_v3.js");
    if  (document.getElementById("2008rides_v3") != null) loadScript("http://smallparadise.com/scripts/2008RideMap_v3.js");
    if  (document.getElementById("2008blueridge_v3") != null) loadScript("http://smallparadise.com/scripts/2008BlueRidgeParkway_v3.js");
    if  (document.getElementById("2007rides_v3") != null) loadScript("http://smallparadise.com/scripts/2007RideMap_v3.js");
    if  (document.getElementById("2007tailofthedragon_v3") != null) loadScript("http://smallparadise.com/scripts/2007TailOfTheDragonMap_v3.js");
    if  (document.getElementById("2006rides_v3") != null) loadScript("http://smallparadise.com/scripts/2006RideMap_v3.js");
    if  (document.getElementById("sturgis2006PlannedMap_v3") != null) loadScript("http://smallparadise.com/scripts/sturgis2006PlannedMap_v3.js");
    if  (document.getElementById("2005rides_v3") != null) loadScript("http://smallparadise.com/scripts/2005RideMap_v3.js");
    if  (document.getElementById("testMap_v3") != null) loadScript("http://smallparadise.com/scripts/firstMap_v3.js");
}
//loads the maps if the element is on the page

loads the maps if the element is on the page
loads the maps if the element is on the page
function loadMaps() {
    if  (document.getElementById("2016AlaskaTrip") != null) loadScript("http://smallparadise.com/scripts/2016AlaskaTrip.js");
    if  (document.getElementById("2015Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2015RideMap_v3.js");
    if  (document.getElementById("2014Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2014RideMap_v3.js");
    if  (document.getElementById("2014hog_abc_v3") != null) loadScript("http://smallparadise.com/scripts/2014hog_abc.js");
    if  (document.getElementById("2013RFK_v3") != null) loadScript("http://smallparadise.com/scripts/2013RFK_v3.js");
    if  (document.getElementById("2013CF1K_v3") != null) loadScript("http://smallparadise.com/scripts/2013cf1k_v3.js");
    if  (document.getElementById("SCGT13_v3") != null) loadScript("http://smallparadise.com/scripts/scgt13_v3.js");
    if  (document.getElementById("2013Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2013RideMap_v3.js");
    if  (document.getElementById("2012CF1K_v3") != null) loadScript("http://smallparadise.com/scripts/2012cf1k_v3.js");
    if  (document.getElementById("SCGT12_v3") != null) loadScript("http://smallparadise.com/scripts/scgt12_v3.js");
    if  (document.getElementById("WHGT12_v3") != null) loadScript("http://smallparadise.com/scripts/whgt12_v3.js");
    if  (document.getElementById("2012Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2012RideMap_v3.js");
    if  (document.getElementById("2011Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2011RideMap_v3.js");
    if  (document.getElementById("2010Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2010RideMap_v3.js");
    if  (document.getElementById("2009Rides_v3") != null) loadScript("http://smallparadise.com/scripts/2009RideMap_v3.js");
    if  (document.getElementById("2008rides_v3") != null) loadScript("http://smallparadise.com/scripts/2008RideMap_v3.js");
    if  (document.getElementById("2008blueridge_v3") != null) loadScript("http://smallparadise.com/scripts/2008BlueRidgeParkway_v3.js");
    if  (document.getElementById("2007rides_v3") != null) loadScript("http://smallparadise.com/scripts/2007RideMap_v3.js");
    if  (document.getElementById("2007tailofthedragon_v3") != null) loadScript("http://smallparadise.com/scripts/2007TailOfTheDragonMap_v3.js");
    if  (document.getElementById("2006rides_v3") != null) loadScript("http://smallparadise.com/scripts/2006RideMap_v3.js");
    if  (document.getElementById("sturgis2006PlannedMap_v3") != null) loadScript("http://smallparadise.com/scripts/sturgis2006PlannedMap_v3.js");
    if  (document.getElementById("2005rides_v3") != null) loadScript("http://smallparadise.com/scripts/2005RideMap_v3.js");
    if  (document.getElementById("testMap_v3") != null) loadScript("http://smallparadise.com/scripts/firstMap_v3.js");
}
function loadMaps ( ) { if ( document . getElementById ( "2016AlaskaTrip" ) != null ) loadScript ( "http://smallparadise.com/scripts/2016AlaskaTrip.js" ) ; if ( document . getElementById ( "2015Rides_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2015RideMap_v3.js" ) ; if ( document . getElementById ( "2014Rides_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2014RideMap_v3.js" ) ; if ( document . getElementById ( "2014hog_abc_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2014hog_abc.js" ) ; if ( document . getElementById ( "2013RFK_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2013RFK_v3.js" ) ; if ( document . getElementById ( "2013CF1K_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2013cf1k_v3.js" ) ; if ( document . getElementById ( "SCGT13_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/scgt13_v3.js" ) ; if ( document . getElementById ( "2013Rides_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2013RideMap_v3.js" ) ; if ( document . getElementById ( "2012CF1K_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2012cf1k_v3.js" ) ; if ( document . getElementById ( "SCGT12_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/scgt12_v3.js" ) ; if ( document . getElementById ( "WHGT12_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/whgt12_v3.js" ) ; if ( document . getElementById ( "2012Rides_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2012RideMap_v3.js" ) ; if ( document . getElementById ( "2011Rides_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2011RideMap_v3.js" ) ; if ( document . getElementById ( "2010Rides_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2010RideMap_v3.js" ) ; if ( document . getElementById ( "2009Rides_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2009RideMap_v3.js" ) ; if ( document . getElementById ( "2008rides_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2008RideMap_v3.js" ) ; if ( document . getElementById ( "2008blueridge_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2008BlueRidgeParkway_v3.js" ) ; if ( document . getElementById ( "2007rides_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2007RideMap_v3.js" ) ; if ( document . getElementById ( "2007tailofthedragon_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2007TailOfTheDragonMap_v3.js" ) ; if ( document . getElementById ( "2006rides_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2006RideMap_v3.js" ) ; if ( document . getElementById ( "sturgis2006PlannedMap_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/sturgis2006PlannedMap_v3.js" ) ; if ( document . getElementById ( "2005rides_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/2005RideMap_v3.js" ) ; if ( document . getElementById ( "testMap_v3" ) != null ) loadScript ( "http://smallparadise.com/scripts/firstMap_v3.js" ) ; }
loads the maps if the element is on the page
loads the maps if the element is on the page