<!------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();

aboutOn = new Image(97, 21);
aboutOn.src = 'images/about_on.gif';
aboutOff = new Image(97, 21);
aboutOff.src = 'images/about_off.gif';

servicesOn = new Image(97, 21);
servicesOn.src = 'images/services_on.gif';
servicesOff = new Image(97, 21);
servicesOff.src = 'images/services_off.gif';

lprocessOn = new Image(97, 21);
lprocessOn.src = 'images/lprocess_on.gif';
lprocessOff = new Image(97, 21);
lprocessOff.src = 'images/lprocess_off.gif';

ltypeOn = new Image(97, 21);
ltypeOn.src = 'images/ltype_on.gif';
ltypeOff = new Image(97, 21);
ltypeOff.src = 'images/ltype_off.gif';

contactOn = new Image(97, 21);
contactOn.src = 'images/contact_on.gif';
contactOff = new Image(97, 21);
contactOff.src = 'images/contact_off.gif';

bprogramsOn = new Image(100, 102);
bprogramsOn.src = 'images/bprograms_on.gif';
bprogramsOff = new Image(100, 102);
bprogramsOff.src = 'images/bprograms_off.gif';

infoOn = new Image(100, 102);
infoOn.src = 'images/info_on.gif';
infoOff = new Image(100, 102);
infoOff.src = 'images/info_off.gif';

newsOn = new Image(100, 102);
newsOn.src = 'images/news_on.gif';
newsOff = new Image(100, 102);
newsOff.src = 'images/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;
                }
}