// JavaScript Document
function testLinkFix(){
    allLinks = $('a');
    $(allLinks).each(function(){
       var linkDest = this.href;
       linkDest = linkDest.replace(/www.beallstx.com/i,"192.168.9.15");
       linkDest = linkDest.replace(/www.goodysonline.com/i,"192.168.9.16");
       linkDest = linkDest.replace(/www.palaisroyal.com/i,"192.168.9.17");
       linkDest = linkDest.replace(/www.peebles.com/i,"192.168.9.10");
       linkDest = linkDest.replace(/www.stagestores.com/i,"192.168.9.18");
       linkDest = linkDest.replace(/www.stagestoresinc.com/i,"192.168.9.19");
       this.href = linkDest;
    });
}

function fixButtons(elements){
    if(elements.length == 0){
        return;
    }
    $(elements).parent("p").css("padding-top","20px");

}
