<!------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();

homeOn = new Image(175, 28);
homeOn.src = 'images/home_on.gif';
homeOff = new Image(175, 28);
homeOff.src = 'images/home.gif';

aboutusOn = new Image(175, 28);
aboutusOn.src = 'images/aboutus_on.gif';
aboutusOff = new Image(175, 28);
aboutusOff.src = 'images/aboutus.gif';

goalsOn = new Image(175, 28);
goalsOn.src = 'images/goals_on.gif';
goalsOff = new Image(175, 28);
goalsOff.src = 'images/goals.gif';

productsOn = new Image(175, 28);
productsOn.src = 'images/products_on.gif';
productsOff = new Image(175, 28);
productsOff.src = 'images/products.gif';

newproductsOn = new Image(175, 28);
newproductsOn.src = 'images/newproducts_on.gif';
newproductsOff = new Image(175, 28);
newproductsOff.src = 'images/newproducts.gif';

sitemapOn = new Image(175, 28);
sitemapOn.src = 'images/sitemap_on.gif';
sitemapOff = new Image(175, 28);
sitemapOff.src = 'images/sitemap.gif';

eshopOn = new Image(175, 28);
eshopOn.src = 'images/eshop_on.gif';
eshopOff = new Image(175, 28);
eshopOff.src = 'images/eshop.gif';

mailorderOn = new Image(175, 28);
mailorderOn.src = 'images/mailorder_on.gif';
mailorderOff = new Image(175, 28);
mailorderOff.src = 'images/mailorder.gif';

businessunitOn = new Image(175, 28);
businessunitOn.src = 'images/businessunit_on.gif';
businessunitOff = new Image(175, 28);
businessunitOff.src = 'images/businessunit.gif';

parentcompanyOn = new Image(175, 28);
parentcompanyOn.src = 'images/parentcompany_on.gif';
parentcompanyOff = new Image(175, 28);
parentcompanyOff.src = 'images/parentcompany.gif';

sisterOn = new Image(175, 28);
sisterOn.src = 'images/sister_on.gif';
sisterOff = new Image(175, 28);
sisterOff.src = 'images/sister.gif';

contactOn = new Image(175, 28);
contactOn.src = 'images/contact_on.gif';
contactOff = new Image(175, 28);
contactOff.src = 'images/contact.gif';

aboutOn = new Image(122, 106);
aboutOn.src = 'images/spl_about_on.gif';
aboutOff = new Image(122, 106);
aboutOff.src = 'images/spl_about_off.gif';

goalOn = new Image(135, 85);
goalOn.src = 'images/spl_goals_on.gif';
goalOff = new Image(135, 85);
goalOff.src = 'images/spl_goals_off.gif';

smailorderOn = new Image(180, 75);
smailorderOn.src = 'images/spl_mailorder_on.gif';
smailorderOff = new Image(180, 75);
smailorderOff.src = 'images/spl_mailorder_off.gif';

sproductsOn = new Image(115, 90);
sproductsOn.src = 'images/spl_products_on.gif';
sproductsOff = new Image(115, 90);
sproductsOff.src = 'images/spl_products_off.gif';

businessOn = new Image(182, 73);
businessOn.src = 'images/spl_businessunit_on.gif';
businessOff = new Image(182, 73);
businessOff.src = 'images/spl_businessunit_off.gif';

parentOn = new Image(163, 100);
parentOn.src = 'images/spl_parent_on.gif';
parentOff = new Image(163, 100);
parentOff.src = 'images/spl_parent_off.gif';

ssisterOn = new Image(160, 122);
ssisterOn.src = 'images/spl_sister_on.gif';
ssisterOff = new Image(160, 122);
ssisterOff.src = 'images/spl_sister_off.gif';

scontactOn = new Image(155, 122);
scontactOn.src = 'images/spl_contact_on.gif';
scontactOff = new Image(155, 122);
scontactOff.src = 'images/spl_contact_off.gif';

pharwordOn = new Image(303, 65);
pharwordOn.src = 'images/pharmwords.gif';

vitawordOn = new Image(303, 65);
vitawordOn.src = 'images/vitawords.gif';

surgwordOn = new Image(303, 65);
surgwordOn.src = 'images/surgwords.gif';

diagwordOn = new Image(303, 65);
diagwordOn.src = 'images/diagwords.gif';

diagword2aOn = new Image(175, 60);
diagword2aOn.src = 'images/diagwords2a.gif';

diagword2bOn = new Image(97, 45);
diagword2bOn.src = 'images/diagwords2b.gif';

healthwordOn = new Image(303, 65);
healthwordOn.src = 'images/healthwords.gif';

healthword2aOn = new Image(175, 60);
healthword2aOn.src = 'images/healthwords2a.gif';

healthword2bOn = new Image(97, 45);
healthword2bOn.src = 'images/healthwords2b.gif';

rawwordOn = new Image(303, 65);
rawwordOn.src = 'images/rawwords.gif';

rawword2bOn = new Image(97, 45);
rawword2bOn.src = 'images/rawwords2b.gif';

botwordOn = new Image(303, 65);
botwordOn.src = 'images/botwords.gif';

botword2aOn = new Image(175, 60);
botword2aOn.src = 'images/botwords2a.gif';

botword2bOn = new Image(97, 45);
botword2bOn.src = 'images/botwords2b.gif';

medwordOn = new Image(303, 65);
medwordOn.src = 'images/medwords.gif';

medword2bOn = new Image(97, 45);
medword2bOn.src = 'images/medwords2b.gif';

hoswordOn = new Image(303, 65);
hoswordOn.src = 'images/hoswords.gif';

foodwordOn = new Image(303, 65);
foodwordOn.src = 'images/foodwords.gif';

pharpicOn = new Image(73, 65);
pharpicOn.src = 'images/pharmpic.gif';

vitapicOn = new Image(73, 65);
vitapicOn.src = 'images/vitapic.gif';

vitaword2bOn = new Image(97, 45);
vitaword2bOn.src = 'images/vitawords2b.gif';

surgpicOn = new Image(73, 65);
surgpicOn.src = 'images/surgpic.gif';

diagpicOn = new Image(73, 65);
diagpicOn.src = 'images/diagpic.gif';

healthpicOn = new Image(73, 65);
healthpicOn.src = 'images/eldpic.gif';

rawpicOn = new Image(73, 65);
rawpicOn.src = 'images/rawpic.gif';

botpicOn = new Image(73, 65);
botpicOn.src = 'images/botpic.gif';

medpicOn = new Image(73, 65);
medpicOn.src = 'images/medpic.gif';

hospicOn = new Image(73, 65);
hospicOn.src = 'images/hospic.gif';

foodpicOn = new Image(73, 65);
foodpicOn.src = 'images/foodpic.gif';

nopicOn = new Image(73, 65);
nopicOn.src = 'images/nopic.gif';

nowordOn = new Image(303, 65);
nowordOn.src = 'images/nowords.gif';

noword2aOn = new Image(175, 60);
noword2aOn.src = 'images/prodname.gif';

noword2bOn = new Image(97, 45);
noword2bOn.src = 'images/blankword.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;
                }
}

function Image_Swap(image_ID,image_Name)
{	
	document.images[image_ID].src = eval(image_Name+ ".src");
}

function openPage(x)
{ 
	window.open(x, 'info', config='height=200,width=350,toolbar=no,scrollbars=yes,menubar=no');
}