var vanityTable = 
 {
     jennyandmike: "http://lagirasolita.smugmug.com/gallery/8141082_etFpw#531054974_zcryE",
kalijones:  "http://lagirasolita.smugmug.com/gallery/8879023_PVGdA#588690757_b5dAC",
joseluis:  "http://lagirasolita.smugmug.com/gallery/8271163_k8Qee#541385558_zgxZo",
elkin:  "http://lagirasolita.smugmug.com/gallery/7865997_EtCV2#509942071_S222a",
hult: "http://www.christinepagan.com/gallery/9096862_pQgRu",
lolita: "http://lagirasolita.smugmug.com/gallery/9330054_PkGJE",
chance: "http://www.christinepagan.com/Portraits/Chance/10211645_PaJt4#703734060_QPA5J",
luzvictoria: "http://lagirasolita.smugmug.com/gallery/8860501_Y4iuN#587257803_7HStq"

 };

function CheckRedirects()
 {
     if (YD.hasClass(document.body, 'homepage'))    // only run this code on the home page
     {
         // get the path from the current URL, 
         // convert it to lowercase and remove the leading slash
         var path = window.location.pathname.toLowerCase().substr(1);
         
         var newURL = vanityTable[path];        // look it up in our table
         
         // if we found it in the table && newURL is different than where we are
         if (newURL && (newURL != window.location))
         {
             window.location.replace(newURL);        // go to the new URL
         }
     }
 }