<!------Checking Browser Compatibility------>

function BrowserCheck() {
        bVer=parseInt(navigator.appVersion);
        bType=navigator.userAgent;

        if((bType.indexOf('MSIE') != -1 ) && ( 4 <= bVer )) 
                { return true; } 
        if ((bType.indexOf('Mozilla') != -1) && ( 3 <= bVer )) 
                { return true; }
        return false;
}

jvGood=BrowserCheck();

bagwalletOn = new Image(140, 18);
bagwalletOn.src = 'images/bagwallet_on.gif';
bagwalletOff = new Image(140, 18);
bagwalletOff.src = 'images/bagwallet_off.gif';

pinspatchesOn = new Image(140, 18);
pinspatchesOn.src = 'images/pinspatches_on.gif';
pinspatchesOff = new Image(140, 18);
pinspatchesOff.src = 'images/pinspatches_off.gif';

signsOn = new Image(140, 18);
signsOn.src = 'images/signs_on.gif';
signsOff = new Image(140, 18);
signsOff.src = 'images/signs_off.gif';

barwareOn = new Image(140, 18);
barwareOn.src = 'images/barware_on.gif';
barwareOff = new Image(140, 18);
barwareOff.src = 'images/barware_off.gif';

bathOn = new Image(140, 18);
bathOn.src = 'images/bath_on.gif';
bathOff = new Image(140, 18);
bathOff.src = 'images/bath_off.gif';

jewelryOn = new Image(140, 18);
jewelryOn.src = 'images/jewelry_on.gif';
jewelryOff = new Image(140, 18);
jewelryOff.src = 'images/jewelry_off.gif';

specialsOn = new Image(140, 18);
specialsOn.src = 'images/specials_on.gif';
specialsOff = new Image(140, 18);
specialsOff.src = 'images/specials_off.gif';

neonOn = new Image(140, 18);
neonOn.src = 'images/neon_on.gif';
neonOff = new Image(140, 18);
neonOff.src = 'images/neon_off.gif';

furnishingOn = new Image(140, 18);
furnishingOn.src = 'images/furnishing_on.gif';
furnishingOff = new Image(140, 18);
furnishingOff.src = 'images/furnishing_off.gif';

lightingOn = new Image(120, 18);
lightingOn.src = 'images/lighting_on.gif';
lightingOff = new Image(120, 18);
lightingOff.src = 'images/lighting_off.gif';

clocksOn = new Image(120, 18);
clocksOn.src = 'images/clocks_on.gif';
clocksOff = new Image(120, 18);
clocksOff.src = 'images/clocks_off.gif';

anniversaryOn = new Image(120, 18);
anniversaryOn.src = 'images/anniversary_on.gif';
anniversaryOff = new Image(120, 18);
anniversaryOff.src = 'images/anniversary_off.gif';

keychainsOn = new Image(120, 18);
keychainsOn.src = 'images/keychains_on.gif';
keychainsOff = new Image(120, 18);
keychainsOff.src = 'images/keychains_off.gif';

moneyclipsOn = new Image(120, 18);
moneyclipsOn.src = 'images/money_clips_on.gif';
moneyclipsOff = new Image(120, 18);
moneyclipsOff.src = 'images/money_clips_off.gif';

lanyardsOn = new Image(120, 18);
lanyardsOn.src = 'images/lanyards_on.gif';
lanyardsOff = new Image(120, 18);
lanyardsOff.src = 'images/lanyards_off.gif';

rugsOn = new Image(120, 18);
rugsOn.src = 'images/rugs_on.gif';
rugsOff = new Image(120, 18);
rugsOff.src = 'images/rugs_off.gif';

metalsignsOn = new Image(120, 18);
metalsignsOn.src = 'images/metalsigns_on.gif';
metalsignsOff = new Image(120, 18);
metalsignsOff.src = 'images/metalsigns_off.gif';

mirrorsOn = new Image(120, 18);
mirrorsOn.src = 'images/mirrors_on.gif';
mirrorsOff = new Image(120, 18);
mirrorsOff.src = 'images/mirrors_off.gif';

flasksOn = new Image(120, 18);
flasksOn.src = 'images/flasks_on.gif';
flasksOff = new Image(120, 18);
flasksOff.src = 'images/flasks_off.gif';

accessoriesOn = new Image(120, 18);
accessoriesOn.src = 'images/accessories_on.gif';
accessoriesOff = new Image(120, 18);
accessoriesOff.src = 'images/accessories_off.gif';

towelsOn = new Image(120, 18);
towelsOn.src = 'images/towels_on.gif';
towelsOff = new Image(120, 18);
towelsOff.src = 'images/towels_off.gif';

aboutOn = new Image(97, 19);
aboutOn.src = 'images/about_on.gif';
aboutOff = new Image(97, 19);
aboutOff.src = 'images/about_off.gif';

formsOn = new Image(97, 21);
formsOn.src = 'images/forms_on.gif';
formsOff = new Image(97, 21);
formsOff.src = 'images/forms_off.gif';

catalogsOn = new Image(97, 21);
catalogsOn.src = 'images/catalogs_on.gif';
catalogsOff = new Image(97, 21);
catalogsOff.src = 'images/catalogs_off.gif';

contactOn = new Image(97, 19);
contactOn.src = 'images/contact_on.gif';
contactOff = new Image(97, 19);
contactOff.src = 'images/contact_off.gif';

newsOn = new Image(97, 21);
newsOn.src = 'images/news_on.gif';
newsOff = new Image(97, 21);
newsOff.src = 'images/news_off.gif';

sourcingOn = new Image(100, 101);
sourcingOn.src = 'images/sourcing_on.gif';
sourcingOff = new Image(100, 101);
sourcingOff.src = 'images/sourcing_off.gif';

licensedOn = new Image(100, 101);
licensedOn.src = 'images/licensed_on.gif';
licensedOff = new Image(100, 101);
licensedOff.src = 'images/licensed_off.gif';

manufacturingOn = new Image(100, 101);
manufacturingOn.src = 'images/manufacturing_on.gif';
manufacturingOff = new Image(100, 101);
manufacturingOff.src = 'images/manufacturing_off.gif';

news_titleOn = new Image(95, 15);
news_titleOn.src = 'images/news_title_events_on.gif';
news_titleOff = new Image(95, 15);
news_titleOff.src = 'images/news_title_events_off.gif';

events_titleOn = new Image(95, 15);
events_titleOn.src = 'images/events_title_news_on.gif';
events_titleOff = new Image(95, 15);
events_titleOff.src = 'images/events_title_news_off.gif';

function ClapOn(imgName)
{
        if (jvGood) {
                imgFlip = eval(imgName+"On");
                document[imgName].src = imgFlip.src;
                }
}

function ClapOff(imgName)
{
        if (jvGood) {
                imgFlip = eval(imgName+"Off");
                document[imgName].src = imgFlip.src;
                }
}
