﻿Image1 = new Image(960, 281);
Image1.src = "/images/2012HomeSlides/slide1.jpg";

Image2 = new Image(960, 281);
Image2.src = "/images/2012HomeSlides/slide2.jpg";

Image3 = new Image(960, 281);
Image3.src = "/images/2012HomeSlides/slide3.jpg";

Image4 = new Image(960, 281);
Image4.src = "/images/2012HomeSlides/slide4.jpg";

Image5 = new Image(960, 281);
Image5.src = "/images/2012HomeSlides/slide5.jpg";

Image6 = new Image(960, 281);
Image6.src = "/images/2012HomeSlides/slide6.jpg";

//image 1 
function oneswitch1() {
    document.nf1.src = Image1.src;
    document.getElementById("more1").href = "/ProductsandSolutions/EnterpriseBuyer.aspx";

}

function oneswitch2() {
    document.nf1.src = Image2.src;
    document.getElementById("more1").href = "/ProductsandSolutions/EnterpriseSeller.aspx";
    return true;
}

function oneswitch3() {
    document.nf1.src = Image3.src;
    document.getElementById("more1").href = "/productsandsolutions.aspx";
    return true;

}

function oneswitch4() {
    document.nf1.src = Image4.src;
    document.getElementById("more1").href = "/partners.aspx";
    return true;
}

function oneswitch5() {
    document.nf1.src = Image5.src;
    document.getElementById("more1").href = "/Partners/SoftwarePartners.aspx";
    return true;
}

function oneswitch6() {
    document.nf1.src = Image6.src;
    document.getElementById("more1").href = "/docs/solutions/NetfiraSolution-Dealer-ElectroluxSuccessStory.pdf";
    return true;
}
//image 2

function twoswitch1() {
    document.nf2.src = Image1.src; 
    document.getElementById("more2").href = "/solutions.aspx";
    return true;
}

function twoswitch2() {
    document.nf2.src = Image2.src;
    document.getElementById("more2").href = "/ProductsandSolutions/EnterpriseSeller.aspx";

    return true;
}

function twoswitch3() {
    document.nf2.src = Image3.src;
    document.getElementById("more2").href = "/productsandsolutions.aspx";

    return true;
}

function twoswitch4() {
    document.nf2.src = Image4.src;
    document.getElementById("more2").href = "/partners.aspx";

    return true;
}

function twoswitch5() {
    document.nf2.src = Image5.src;
    document.getElementById("more2").href = "/Partners/SoftwarePartners.aspx";
    return true;
}

function twoswitch6() {
    document.nf2.src = Image6.src;
    document.getElementById("more2").href = "/docs/solutions/NetfiraSolution-Dealer-ElectroluxSuccessStory.pdf";

    return true;
}
//image 3

function threeswitch1() {
    document.nf3.src = Image1.src;
    document.getElementById("more3").href = "/productsandsolutions.aspx";
    return true;
}

function threeswitch2() {
    document.nf3.src = Image2.src;
    document.getElementById("more3").href = "/ProductsandSolutions/EnterpriseSeller.aspx";
    return true;
}

function threeswitch3() {
    document.nf3.src = Image3.src;
    document.getElementById("more3").href = "/productsandsolutions.aspx";
    return true;
}

function threeswitch4() {
    document.nf3.src = Image4.src;
    document.getElementById("more3").href = "/partners.aspx";

    return true;
}

function threeswitch5() {
    document.nf3.src = Image5.src;
    document.getElementById("more3").href = "/Partners/SoftwarePartners.aspx";

    return true;
}

function threeswitch6() {
    document.nf3.src = Image6.src;
    document.getElementById("more3").href = "/docs/solutions/NetfiraSolution-Dealer-ElectroluxSuccessStory.pdf";

    return true;
}

//image 4

function fourswitch1() {
    document.nf4.src = Image1.src;
    document.getElementById("more4").href = "/productsandsolutions.aspx";
    return true;
}

function fourswitch2() {
    document.nf4.src = Image2.src;
    document.getElementById("more4").href = "/ProductsandSolutions/EnterpriseSeller.aspx";
    return true;
}

function fourswitch3() {
    document.nf4.src = Image3.src;
    document.getElementById("more4").href = "/productsandsolutions.aspx";
    return true;
}

function fourswitch4() {
    document.nf4.src = Image4.src;
    document.getElementById("more4").href = "/partners.aspx";
    return true;
}

function fourswitch5() {
    document.nf4.src = Image5.src;
    document.getElementById("more4").href = "/Partners/SoftwarePartners.aspx";
    return true;
}

function fourswitch6() {
    document.nf4.src = Image6.src;
    document.getElementById("more4").href = "/docs/solutions/NetfiraSolution-Dealer-ElectroluxSuccessStory.pdf";
    return true;
}

//image 5

function fiveswitch1() {
    document.nf5.src = Image1.src;
    document.getElementById("more5").href = "/productsandsolutions.aspx";

    return true;
}

function fiveswitch2() {
    document.nf5.src = Image2.src;
    document.getElementById("more5").href = "/ProductsandSolutions/EnterpriseSeller.aspx";

    return true;
}

function fiveswitch3() {
    document.nf5.src = Image3.src;
    document.getElementById("more5").href = "/productsandsolutions.aspx";

    return true;
}

function fiveswitch4() {
    document.nf5.src = Image4.src;
    document.getElementById("more5").href = "/partners.aspx";
    return true;
}

function fiveswitch5() {
    document.nf5.src = Image5.src;
    document.getElementById("more5").href = "/Partners/SoftwarePartners.aspx";
    return true;
}

function fiveswitch6() {
    document.nf5.src = Image6.src;
    document.getElementById("more5").href = "/docs/solutions/NetfiraSolution-Dealer-ElectroluxSuccessStory.pdf";

    return true;
}

//image 6

function sixswitch1() {
    document.nf6.src = Image1.src;
    document.getElementById("more6").href = "/productsandsolutions.aspx";
    return true;
}

function sixswitch2() {
    document.nf6.src = Image2.src;
    document.getElementById("more6").href = "/ProductsandSolutions/EnterpriseSeller.aspx";
    return true;
}

function sixswitch3() {
    document.nf6.src = Image3.src;
    document.getElementById("more6").href = "/productsandsolutions.aspx";

    return true;
}

function sixswitch4() {
    document.nf6.src = Image4.src;
    document.getElementById("more6").href = "/partners.aspx";
    return true;
}

function sixswitch5() {
    document.nf6.src = Image5.src;
    document.getElementById("more6").href = "/Partners/SoftwarePartners.aspx";
    return true;
}

function sixswitch6() {
    document.nf6.src = Image6.src;
    document.getElementById("more6").href = "/docs/solutions/NetfiraSolution-Dealer-ElectroluxSuccessStory.pdf";

    return true;
}

    function onBefore() {
        var name = $(this).attr('alt');
        var moretext = document.getElementById('moretext');

        switch (name) {

            case "nf1":
                moretext.value = "/productsandsolutions.aspx";
                break;

            case "nf2":
                moretext.value = "/productsandsolutions/enterprise_seller.aspx";
                break;

            case "nf3":
                moretext.value = "/productsandsolutions.aspx";
                break;

            case "nf4":
                moretext.value = "/partners.aspx";
                break;

            case "nf5":
                moretext.value = "/productsandsolutions/technology.aspx";
                break;

            case "nf6":
                moretext.value = "/docs/solutions/NetfiraSolution-Dealer-ElectroluxSuccessStory.pdf";
                break;

            default:
                break;
        }
    }



