/*
Script by Marketing Success, LLC
webmaster@marketingsuccess.com

All site materials Copyright Marketing Success, LLC, All Rights Reserved. 
All content contained herein is the sole copyrighted property
of Marketing Success, LLC, all rights reserved.

Reverse engineering, modification, or re-use of any part
in any form, of any material contained within the aforementioned
site, including, but not limited to, imaging, databases, scripting,
or source code without the express written consent of
Marketing Success, LLC, or its assigned officers,
is EXPRESSLY PROHIBITED.

Any such use will constitute infringement of copyright, as well
as piracy of software as defined under US Codes 17 & 18, and
will be prosecuted to the fullest extent of all applicable
local/state/federal laws.

*/

function getAppVersion() {
        appstr = navigator.userAgent;
        if( (appstr.substring(0, 11) == "Mozilla/3.0") )
                return 1;
        if (appstr.substring(0, 11) == "Mozilla/4.0")
                return 1;
        if (appstr.substring(0, 11) == "Mozilla/4.5")
                return 1;
        if (appstr.substring(0, 11) == "Mozilla/4.6")
                return 1;
        if (appstr.substring(0, 11) == "Mozilla/4.7")
                return 1;
        if (appstr.substring(0, 11) == "Mozilla/5.0")
                return 1;
        if (appstr.substring(0, 11) == "Mozilla/6.0")
                return 1;
        if (appstr.substring(0, 11) == "Mozilla/7.0")
                return 1;
        if (appstr.substring(0, 11) == "Mozilla/7.1")
                return 1;
        return 0;
}

function swtch(num, imgname) {
        if (getAppVersion())
                imgname.src = img[num].src;
}

imgsrc = new Array();
imgsrc[0] = "images/cm2_2_about.jpg";
imgsrc[1] = "images/cm2_2_about_1.jpg";
imgsrc[2] = "images/cm2_3_evidence.jpg";
imgsrc[3] = "images/cm2_3_evidence_1.jpg";
imgsrc[4] = "images/cm2_4_faq.jpg";
imgsrc[5] = "images/cm2_4_faq_1.jpg";
imgsrc[6] = "images/cm2_5_testimonials.jpg";
imgsrc[7] = "images/cm2_5_testimonials_1.jpg";
imgsrc[8] = "images/cm2_6_guarantee.jpg";
imgsrc[9] = "images/cm2_6_guarantee_1.jpg";
imgsrc[10] = "images/cm2_7_aboutus.jpg";
imgsrc[11] = "images/cm2_7_aboutus_1.jpg";
imgsrc[12] = "images/cm2_8_contact.jpg";
imgsrc[13] = "images/cm2_8_contact_1.jpg";

if (getAppVersion()) {
        img = new Array();
        for (i = 0; i < imgsrc.length; i++) {
                img[i] = new Image();
                img[i].src = imgsrc[i];
        }
}