var $j = jQuery.noConflict();
isLoaded = false;

var main_nav = new Array("main_nav_what_is_repreve","main_nav_how_green_is_repreve","main_nav_repreve_gives_back","main_nav_in_the_news","main_nav_business_center");

var mainnav = function() {
    var lis = document.getElementById("main_nav");
    if (lis)
        lis = lis.getElementsByTagName("LI");
        
    for (var i=0; i<lis.length; i++) {
        lis[i].onmouseenter=function() {
            this.className+=" iehover";
        }
        lis[i].onmouseleave=function() {
            this.className=this.className.replace(new RegExp(" iehover\\b"), "");
        }
    }
}

if (window.attachEvent) window.attachEvent("onload", mainnav);

$j(document).ready(function(){
    $j('#what_is_repreve_ul').mouseenter(function(){
        $j(this).prev().addClass('on');
    });
    $j('#what_is_repreve_ul').mouseleave(function(){
        $j(this).prev().removeClass('on');
    });

    $j('#how_green_is_it_ul').mouseenter(function(){
        $j(this).prev().addClass('on');
    });
    $j('#how_green_is_it_ul').mouseleave(function(){
        $j(this).prev().removeClass('on');
    });

    $j('#find_repreve_ul').mouseenter(function(){
        $j(this).prev().addClass('on');
    });
    $j('#find_repreve_ul').mouseleave(function(){
        $j(this).prev().removeClass('on');
    });

    $j('#in_the_news_ul').mouseenter(function(){
        $j(this).prev().addClass('on');
    });
    $j('#in_the_news_ul').mouseleave(function(){
        $j(this).prev().removeClass('on');
    });

    $j('#business_center_ul').mouseenter(function(){
        $j(this).prev().addClass('on');
    });
    $j('#business_center_ul').mouseleave(function(){
        $j(this).prev().removeClass('on');
    });
});

function set_main_off()
{

	if (!isLoaded)
	{
		return true;
	}

	for(var t = 0; t < main_nav.length; t++)
	{
		var p = main_nav[t];
		if(p != page)
		{
			document.images[p].src = window[p+"_off"].src;
		}
		else
		{
			document.images[p].src = window[p+"_on"].src;
		}
	}
}

function onStart()
{
	set_main_off();
}


//window.onload = onStart;

function swap_image(in_object,in_name,in_state) {
	if (!isLoaded) {
		return true;
	}
    in_object.src = eval(in_name + "_" + in_state + ".src");
}

function swap_separator(sep_left,sep_right,sep_state){
	document.getElementById(sep_left).src = eval("main_nav_sep_" + sep_state + ".src");
	document.getElementById(sep_right).src = eval("main_nav_sep_" + sep_state + ".src");
}

function random_image() {

    var ran_number=Math.floor(Math.random()*5);
	document.getElementById("random_image_" + ran_number).style.display = 'inline';
}

function open_popup(page_url, page_name, params)
{
    window.open(page_url, page_name, params);
}

/* ******************************** Main Navigation *********************************** */

main_nav_what_is_repreve_off = new Image;
main_nav_what_is_repreve_roll = new Image;
main_nav_what_is_repreve_on = new Image;
main_nav_what_is_repreve_off.src = pathToRoot + "/images/main_nav_what_is_repreve_off.gif";
main_nav_what_is_repreve_roll.src = pathToRoot + "/images/main_nav_what_is_repreve_roll.gif";
main_nav_what_is_repreve_on.src = pathToRoot + "/images/main_nav_what_is_repreve_on.gif";

main_nav_how_green_is_repreve_off = new Image;
main_nav_how_green_is_repreve_roll = new Image;
main_nav_how_green_is_repreve_on = new Image;
main_nav_how_green_is_repreve_off.src = pathToRoot + "/images/main_nav_how_green_is_repreve_off.gif";
main_nav_how_green_is_repreve_roll.src = pathToRoot + "/images/main_nav_how_green_is_repreve_roll.gif";
main_nav_how_green_is_repreve_on.src = pathToRoot + "/images/main_nav_how_green_is_repreve_on.gif";

main_nav_repreve_gives_back_off = new Image;
main_nav_repreve_gives_back_roll = new Image;
main_nav_repreve_gives_back_on = new Image;
main_nav_repreve_gives_back_off.src = pathToRoot + "/images/main_nav_repreve_gives_back_off.gif";
main_nav_repreve_gives_back_roll.src = pathToRoot + "/images/main_nav_repreve_gives_back_roll.gif";
main_nav_repreve_gives_back_on.src = pathToRoot + "/images/main_nav_repreve_gives_back_on.gif";

main_nav_sustainability_off = new Image;
main_nav_sustainability_roll = new Image;
main_nav_sustainability_on = new Image;
main_nav_sustainability_off.src = pathToRoot + "/images/main_nav_sustainability_off.gif";
main_nav_sustainability_roll.src = pathToRoot + "/images/main_nav_sustainability_roll.gif";
main_nav_sustainability_on.src = pathToRoot + "/images/main_nav_sustainability_on.gif";

main_nav_in_the_news_off = new Image;
main_nav_in_the_news_roll = new Image;
main_nav_in_the_news_on = new Image;
main_nav_in_the_news_off.src = pathToRoot + "/images/main_nav_in_the_news_off.gif";
main_nav_in_the_news_roll.src = pathToRoot + "/images/main_nav_in_the_news_roll.gif";
main_nav_in_the_news_on.src = pathToRoot + "/images/main_nav_in_the_news_on.gif";

main_nav_sep_off = new Image;
main_nav_sep_roll = new Image;
main_nav_sep_off.src = pathToRoot + "/images/main_nav_sep_off.gif";
main_nav_sep_roll.src = pathToRoot + "/images/main_nav_sep_roll.gif";

/* ******************************** Main Navigation *********************************** */


/* ******************************** Sub Navigation *********************************** */

sub_nav_eco_benefits_off = new Image;
sub_nav_eco_benefits_roll = new Image;
sub_nav_eco_benefits_on = new Image;
sub_nav_eco_benefits_off.src = pathToRoot + "/images/sub_nav_eco_benefits_off.gif";
sub_nav_eco_benefits_roll.src = pathToRoot + "/images/sub_nav_eco_benefits_roll.gif";
sub_nav_eco_benefits_on.src = pathToRoot + "/images/sub_nav_eco_benefits_on.gif";

sub_nav_u_trust_off = new Image;
sub_nav_u_trust_roll = new Image;
sub_nav_u_trust_on = new Image;
sub_nav_u_trust_off.src = pathToRoot + "/images/sub_nav_u_trust_off.gif";
sub_nav_u_trust_roll.src = pathToRoot + "/images/sub_nav_u_trust_roll.gif";
sub_nav_u_trust_on.src = pathToRoot + "/images/sub_nav_u_trust_on.gif";

sub_nav_end_uses_off = new Image;
sub_nav_end_uses_roll = new Image;
sub_nav_end_uses_on = new Image;
sub_nav_end_uses_off.src = pathToRoot + "/images/sub_nav_end_uses_off.gif";
sub_nav_end_uses_roll.src = pathToRoot + "/images/sub_nav_end_uses_roll.gif";
sub_nav_end_uses_on.src = pathToRoot + "/images/sub_nav_end_uses_on.gif";

sub_nav_who_makes_repreve_off = new Image;
sub_nav_who_makes_repreve_roll = new Image;
sub_nav_who_makes_repreve_on = new Image;
sub_nav_who_makes_repreve_off.src = pathToRoot + "/images/sub_nav_who_makes_repreve_off.png";
sub_nav_who_makes_repreve_roll.src = pathToRoot + "/images/sub_nav_who_makes_repreve_roll.png";
sub_nav_who_makes_repreve_on.src = pathToRoot + "/images/sub_nav_who_makes_repreve_on.png";

sub_nav_a_unique_recycled_fiber_off = new Image;
sub_nav_a_unique_recycled_fiber_roll = new Image;
sub_nav_a_unique_recycled_fiber_on = new Image;
sub_nav_a_unique_recycled_fiber_off.src = pathToRoot + "/images/sub_nav_a_unique_recycled_fiber_off.png";
sub_nav_a_unique_recycled_fiber_roll.src = pathToRoot + "/images/sub_nav_a_unique_recycled_fiber_roll.png";
sub_nav_a_unique_recycled_fiber_on.src = pathToRoot + "/images/sub_nav_a_unique_recycled_fiber_on.png";

sub_nav_making_repreve_polyester_off = new Image;
sub_nav_making_repreve_polyester_roll = new Image;
sub_nav_making_repreve_polyester_on = new Image;
sub_nav_making_repreve_polyester_off.src = pathToRoot + "/images/sub_nav_making_repreve_polyester_off.png";
sub_nav_making_repreve_polyester_roll.src = pathToRoot + "/images/sub_nav_making_repreve_polyester_roll.png";
sub_nav_making_repreve_polyester_on.src = pathToRoot + "/images/sub_nav_making_repreve_polyester_on.png";

sub_nav_making_repreve_nylon_off = new Image;
sub_nav_making_repreve_nylon_roll = new Image;
sub_nav_making_repreve_nylon_on = new Image;
sub_nav_making_repreve_nylon_off.src = pathToRoot + "/images/sub_nav_making_repreve_nylon_off.png";
sub_nav_making_repreve_nylon_roll.src = pathToRoot + "/images/sub_nav_making_repreve_nylon_roll.png";
sub_nav_making_repreve_nylon_on.src = pathToRoot + "/images/sub_nav_making_repreve_nylon_on.png";

sub_nav_making_repreve_staple_fibre_off = new Image;
sub_nav_making_repreve_staple_fibre_roll = new Image;
sub_nav_making_repreve_staple_fibre_on = new Image;
sub_nav_making_repreve_staple_fibre_off.src = pathToRoot + "/images/sub_nav_making_repreve_staple_fibre_off.png";
sub_nav_making_repreve_staple_fibre_roll.src = pathToRoot + "/images/sub_nav_making_repreve_staple_fibre_roll.png";
sub_nav_making_repreve_staple_fibre_on.src = pathToRoot + "/images/sub_nav_making_repreve_staple_fibre_on.png";

sub_nav_repreve_performance_fibers_off = new Image;
sub_nav_repreve_performance_fibers_roll = new Image;
sub_nav_repreve_performance_fibers_on = new Image;
sub_nav_repreve_performance_fibers_off.src = pathToRoot + "/images/sub_nav_repreve_performance_fibers_off.png";
sub_nav_repreve_performance_fibers_roll.src = pathToRoot + "/images/sub_nav_repreve_performance_fibers_roll.png";
sub_nav_repreve_performance_fibers_on.src = pathToRoot + "/images/sub_nav_repreve_performance_fibers_on.png";

sub_nav_corporate_sustainability_off = new Image;
sub_nav_corporate_sustainability_roll = new Image;
sub_nav_corporate_sustainability_on = new Image;
sub_nav_corporate_sustainability_off.src = pathToRoot + "/images/sub_nav_corporate_sustainability_off.gif";
sub_nav_corporate_sustainability_roll.src = pathToRoot + "/images/sub_nav_corporate_sustainability_roll.gif";
sub_nav_corporate_sustainability_on.src = pathToRoot + "/images/sub_nav_corporate_sustainability_on.gif";

sub_nav_press_releases_off = new Image;
sub_nav_press_releases_roll = new Image;
sub_nav_press_releases_on = new Image;
sub_nav_press_releases_off.src = pathToRoot + "/images/sub_nav_press_releases_off.gif";
sub_nav_press_releases_roll.src = pathToRoot + "/images/sub_nav_press_releases_roll.gif";
sub_nav_press_releases_on.src = pathToRoot + "/images/sub_nav_press_releases_on.gif";

sub_nav_articles_off = new Image;
sub_nav_articles_roll = new Image;
sub_nav_articles_on = new Image;
sub_nav_articles_off.src = pathToRoot + "/images/sub_nav_articles_off.gif";
sub_nav_articles_roll.src = pathToRoot + "/images/sub_nav_articles_roll.gif";
sub_nav_articles_on.src = pathToRoot + "/images/sub_nav_articles_on.gif";

/* ******************************** Sub Navigation *********************************** */

/* ************************************* Links ***************************************** */
link_i_choose_this_one_off = new Image;
link_i_choose_this_one_roll = new Image;
link_i_choose_this_one_off.src = pathToRoot + "/images/link_i_choose_this_one_off.gif";
link_i_choose_this_one_roll.src = pathToRoot + "/images/link_i_choose_this_one_roll.gif";

link_learn_more_about_resource_conversation_off = new Image;
link_learn_more_about_resource_conversation_roll = new Image;
link_learn_more_about_resource_conversation_off.src = pathToRoot + "/images/link_learn_more_about_resource_conversation_off.gif";
link_learn_more_about_resource_conversation_roll.src = pathToRoot + "/images/link_learn_more_about_resource_conversation_roll.gif";

link_learn_more_about_our_recycled_content_off = new Image;
link_learn_more_about_our_recycled_content_roll = new Image;
link_learn_more_about_our_recycled_content_off.src = pathToRoot + "/images/link_learn_more_about_our_recycled_content_off.gif";
link_learn_more_about_our_recycled_content_roll.src = pathToRoot + "/images/link_learn_more_about_our_recycled_content_roll.gif";

link_learn_about_making_repreve_recycled_polyester_off = new Image;
link_learn_about_making_repreve_recycled_polyester_roll = new Image;
link_learn_about_making_repreve_recycled_polyester_off.src = pathToRoot + "/images/link_learn_about_making_repreve_recycled_polyester_off.gif";
link_learn_about_making_repreve_recycled_polyester_roll.src = pathToRoot + "/images/link_learn_about_making_repreve_recycled_polyester_roll.gif";

link_learn_about_making_repreve_recycled_nylon_off = new Image;
link_learn_about_making_repreve_recycled_nylon_roll = new Image;
link_learn_about_making_repreve_recycled_nylon_off.src = pathToRoot + "/images/link_learn_about_making_repreve_recycled_nylon_off.gif";
link_learn_about_making_repreve_recycled_nylon_roll.src = pathToRoot + "/images/link_learn_about_making_repreve_recycled_nylon_roll.gif";

link_learn_about_making_repreve_fibers_off = new Image;
link_learn_about_making_repreve_fibers_roll = new Image;
link_learn_about_making_repreve_fibers_off.src = pathToRoot + "/images/link_learn_about_making_repreve_fibers_off.gif";
link_learn_about_making_repreve_fibers_roll.src = pathToRoot + "/images/link_learn_about_making_repreve_fibers_roll.gif";

link_here_are_brands_that_off = new Image;
link_here_are_brands_that_roll = new Image;
link_here_are_brands_that_off.src = pathToRoot + "/images/link_here_are_brands_that_off.gif";
link_here_are_brands_that_roll.src = pathToRoot + "/images/link_here_are_brands_that_roll.gif";

link_what_happens_next_off = new Image;
link_what_happens_next_roll = new Image;
link_what_happens_next_off.src = pathToRoot + "/images/link_what_happens_next_off.gif";
link_what_happens_next_roll.src = pathToRoot + "/images/link_what_happens_next_roll.gif";

link_what_is_repreve_off = new Image;
link_what_is_repreve_roll = new Image;
link_what_is_repreve_on = new Image;
link_what_is_repreve_off.src = pathToRoot + "/images/link_what_is_repreve_off.gif";
link_what_is_repreve_roll.src = pathToRoot + "/images/link_what_is_repreve_roll.gif";
link_what_is_repreve_on.src = pathToRoot + "/images/link_what_is_repreve_on.gif";

link_how_green_is_repreve_off = new Image;
link_how_green_is_repreve_roll = new Image;
link_how_green_is_repreve_on = new Image;
link_how_green_is_repreve_off.src = pathToRoot + "/images/link_how_green_is_repreve_off.gif";
link_how_green_is_repreve_roll.src = pathToRoot + "/images/link_how_green_is_repreve_roll.gif";
link_how_green_is_repreve_on.src = pathToRoot + "/images/link_how_green_is_repreve_on.gif";

link_how_green_is_it_off = new Image;
link_how_green_is_it_roll = new Image;
link_how_green_is_it_on = new Image;
link_how_green_is_it_off.src = pathToRoot + "/images/link_how_green_is_it_off.gif";
link_how_green_is_it_roll.src = pathToRoot + "/images/link_how_green_is_it_roll.gif";
link_how_green_is_it_on.src = pathToRoot + "/images/link_how_green_is_it_on.gif";

link_repreve_gives_back_off = new Image;
link_repreve_gives_back_roll = new Image;
link_repreve_gives_back_on = new Image;
link_repreve_gives_back_off.src = pathToRoot + "/images/link_repreve_gives_back_off.gif";
link_repreve_gives_back_roll.src = pathToRoot + "/images/link_repreve_gives_back_roll.gif";
link_repreve_gives_back_on.src = pathToRoot + "/images/link_repreve_gives_back_on.gif";

link_find_repreve_off = new Image;
link_find_repreve_roll = new Image;
link_find_repreve_on = new Image;
link_find_repreve_off.src = pathToRoot + "/images/link_find_repreve_off.gif";
link_find_repreve_roll.src = pathToRoot + "/images/link_find_repreve_roll.gif";
link_find_repreve_on.src = pathToRoot + "/images/link_find_repreve_on.gif";

link_in_the_news_off = new Image;
link_in_the_news_roll = new Image;
link_in_the_news_on = new Image;
link_in_the_news_off.src = pathToRoot + "/images/link_in_the_news_off.gif";
link_in_the_news_roll.src = pathToRoot + "/images/link_in_the_news_roll.gif";
link_in_the_news_on.src = pathToRoot + "/images/link_in_the_news_on.gif";

link_business_center_off = new Image;
link_business_center_roll = new Image;
link_business_center_on = new Image;
link_business_center_off.src = pathToRoot + "/images/link_business_center_off.gif";
link_business_center_roll.src = pathToRoot + "/images/link_business_center_roll.gif";
link_business_center_on.src = pathToRoot + "/images/link_business_center_on.gif";

link_learn_why_we_choose_these_causes_off = new Image;
link_learn_why_we_choose_these_causes_roll = new Image;
link_learn_why_we_choose_these_causes_off.src = pathToRoot + "/images/link_learn_why_we_choose_these_causes_off.gif";
link_learn_why_we_choose_these_causes_roll.src = pathToRoot + "/images/link_learn_why_we_choose_these_causes_roll.gif";

link_please_contact_us_off = new Image;
link_please_contact_us_roll = new Image;
link_please_contact_us_off.src = pathToRoot + "/images/link_please_contact_us_off.gif";
link_please_contact_us_roll.src = pathToRoot + "/images/link_please_contact_us_roll.gif";

link_see_the_vest_at_patagonia_off = new Image;
link_see_the_vest_at_patagonia_roll = new Image;
link_see_the_vest_at_patagonia_off.src = pathToRoot + "/images/link_see_the_vest_at_patagonia_off.gif";
link_see_the_vest_at_patagonia_roll.src = pathToRoot + "/images/link_see_the_vest_at_patagonia_roll.gif";

link_see_kanata_off = new Image;
link_see_kanata_roll = new Image;
link_see_kanata_off.src = pathToRoot + "/images/link_see_kanata_off.gif";
link_see_kanata_roll.src = pathToRoot + "/images/link_see_kanata_roll.gif";

link_see_the_eco_fleece_sleepsack_off = new Image;
link_see_the_eco_fleece_sleepsack_roll = new Image;
link_see_the_eco_fleece_sleepsack_off.src = pathToRoot + "/images/link_see_the_eco_fleece_sleepsack_off.gif";
link_see_the_eco_fleece_sleepsack_roll.src = pathToRoot + "/images/link_see_the_eco_fleece_sleepsack_roll.gif";

link_learn_about_our_sustainability_practices_off = new Image;
link_learn_about_our_sustainability_practices_roll = new Image;
link_learn_about_our_sustainability_practices_off.src = pathToRoot + "/images/link_learn_about_our_sustainability_practices_off.gif";
link_learn_about_our_sustainability_practices_roll.src = pathToRoot + "/images/link_learn_about_our_sustainability_practices_roll.gif";

link_learn_how_we_make_recycled_polyester_off = new Image;
link_learn_how_we_make_recycled_polyester_roll = new Image;
link_learn_how_we_make_recycled_polyester_off.src = pathToRoot + "/images/link_learn_how_we_make_recycled_polyester_off.gif";
link_learn_how_we_make_recycled_polyester_roll.src = pathToRoot + "/images/link_learn_how_we_make_recycled_polyester_roll.gif";

link_learn_how_we_make_recycled_nylon_off = new Image;
link_learn_how_we_make_recycled_nylon_roll = new Image;
link_learn_how_we_make_recycled_nylon_off.src = pathToRoot + "/images/link_learn_how_we_make_recycled_nylon_off.gif";
link_learn_how_we_make_recycled_nylon_roll.src = pathToRoot + "/images/link_learn_how_we_make_recycled_nylon_roll.gif";
/*
link_learn_more_about_our_environmental_certifications_off = new Image;
link_learn_more_about_our_environmental_certifications_roll = new Image;
link_learn_more_about_our_environmental_certifications_off.src = pathToRoot + "/images/link_learn_more_about_our_environmental_certifications_off.gif";
link_learn_more_about_our_environmental_certifications_roll.src = pathToRoot + "/images/link_learn_more_about_our_environmental_certifications_roll.gif";
*/
link_learn_more_about_unifi_off = new Image;
link_learn_more_about_unifi_roll = new Image;
link_learn_more_about_unifi_off.src = pathToRoot + "/images/link_learn_more_about_unifi_off.gif";
link_learn_more_about_unifi_roll.src = pathToRoot + "/images/link_learn_more_about_unifi_roll.gif";

link_i_vote_for_this_one_off = new Image;
link_i_vote_for_this_one_roll = new Image;
link_i_vote_for_this_one_off.src = pathToRoot + "/images/link_i_vote_for_this_one_off.gif";
link_i_vote_for_this_one_roll.src = pathToRoot + "/images/link_i_vote_for_this_one_roll.gif";

repreve_banner_off = new Image;
repreve_banner_roll = new Image;
repreve_banner_off.src = pathToRoot + "/images/repreve_banner_off.gif";
repreve_banner_roll.src = pathToRoot + "/images/repreve_banner_roll.gif";

link_learn_more_about_unifi_sustainability_initiatives_off = new Image;
link_learn_more_about_unifi_sustainability_initiatives_roll = new Image;
link_learn_more_about_unifi_sustainability_initiatives_off.src = pathToRoot + "/images/link_learn_more_about_unifi_sustainability_initiatives_off.gif";
link_learn_more_about_unifi_sustainability_initiatives_roll.src = pathToRoot + "/images/link_learn_more_about_unifi_sustainability_initiatives_roll.gif";

link_Learn_more_about_the_environmental_causes_we_selected_off = new Image;
link_Learn_more_about_the_environmental_causes_we_selected_roll = new Image;
link_Learn_more_about_the_environmental_causes_we_selected_off.src = pathToRoot + "/images/link_Learn_more_about_the_environmental_causes_we_selected_off.gif";
link_Learn_more_about_the_environmental_causes_we_selected_roll.src = pathToRoot + "/images/link_Learn_more_about_the_environmental_causes_we_selected_roll.gif";

link_frequently_asked_questions_off = new Image;
link_frequently_asked_questions_roll = new Image;
link_frequently_asked_questions_off.src = pathToRoot + "/images/link_frequently_asked_questions_off.gif";
link_frequently_asked_questions_roll.src = pathToRoot + "/images/link_frequently_asked_questions_roll.gif";

link_learn_more_about_our_pledge_off = new Image;
link_learn_more_about_our_pledge_roll = new Image;
link_learn_more_about_our_pledge_off.src = pathToRoot + "/images/link_learn_more_about_our_pledge_off.gif";
link_learn_more_about_our_pledge_roll.src = pathToRoot + "/images/link_learn_more_about_our_pledge_roll.gif";

link_all_news_and_events_off = new Image;
link_all_news_and_events_roll = new Image;
link_all_news_and_events_off.src = pathToRoot + "/images/link_all_news_and_events_off.gif";
link_all_news_and_events_roll.src = pathToRoot + "/images/link_all_news_and_events_roll.gif";

link_learn_more_about_our_sustainability_ideals_off = new Image;
link_learn_more_about_our_sustainability_ideals_roll = new Image;
link_learn_more_about_our_sustainability_ideals_off.src = pathToRoot + "/images/link_learn_more_about_our_sustainability_ideals_off.gif";
link_learn_more_about_our_sustainability_ideals_roll.src = pathToRoot + "/images/link_learn_more_about_our_sustainability_ideals_roll.gif";

link_read_more_off = new Image;
link_read_more_roll = new Image;
link_read_more_off.src = pathToRoot + "/images/link_read_more_off.gif";
link_read_more_roll.src = pathToRoot + "/images/link_read_more_roll.gif";

link_all_press_mentions_off = new Image;
link_all_press_mentions_roll = new Image;
link_all_press_mentions_off.src = pathToRoot + "/images/link_all_press_mentions_off.gif";
link_all_press_mentions_roll.src = pathToRoot + "/images/link_all_press_mentions_roll.gif";

link_all_press_releases_off = new Image;
link_all_press_releases_roll = new Image;
link_all_press_releases_off.src = pathToRoot + "/images/link_all_press_releases_off.gif";
link_all_press_releases_roll.src = pathToRoot + "/images/link_all_press_releases_roll.gif";

link_link_to_specific_article_off = new Image;
link_link_to_specific_article_roll = new Image;
link_link_to_specific_article_off.src = pathToRoot + "/images/link_link_to_specific_article_off.gif";
link_link_to_specific_article_roll.src = pathToRoot + "/images/link_link_to_specific_article_roll.gif";

link_learn_more_about_repreve_and_patagonia_off = new Image;
link_learn_more_about_repreve_and_patagonia_roll = new Image;
link_learn_more_about_repreve_and_patagonia_off.src = pathToRoot + "/images/link_learn_more_about_repreve_and_patagonia_off.gif";
link_learn_more_about_repreve_and_patagonia_roll.src = pathToRoot + "/images/link_learn_more_about_repreve_and_patagonia_roll.gif";

link_find_out_more_about_making_repreve_off = new Image;
link_find_out_more_about_making_repreve_roll = new Image;
link_find_out_more_about_making_repreve_off.src = pathToRoot + "/images/link_find_out_more_about_making_repreve_off.gif";
link_find_out_more_about_making_repreve_roll.src = pathToRoot + "/images/link_find_out_more_about_making_repreve_roll.gif";

link_learn_about_repreve_environmental_benefits_off = new Image;
link_learn_about_repreve_environmental_benefits_roll = new Image;
link_learn_about_repreve_environmental_benefits_off.src = pathToRoot + "/images/link_learn_about_repreve_environmental_benefits_off.gif";
link_learn_about_repreve_environmental_benefits_roll.src = pathToRoot + "/images/link_learn_about_repreve_environmental_benefits_roll.gif";

link_learn_more_about_our_sustainability_initiatives_off = new Image;
link_learn_more_about_our_sustainability_initiatives_roll = new Image;
link_learn_more_about_our_sustainability_initiatives_off.src = pathToRoot + "/images/link_learn_more_about_our_sustainability_initiatives_off.gif";
link_learn_more_about_our_sustainability_initiatives_roll.src = pathToRoot + "/images/link_learn_more_about_our_sustainability_initiatives_roll.gif";

link_get_the_full_story_off = new Image;
link_get_the_full_story_roll = new Image;
link_get_the_full_story_off.src = pathToRoot + "/images/link_get_the_full_story_off.gif";
link_get_the_full_story_roll.src = pathToRoot + "/images/link_get_the_full_story_roll.gif";

link_learn_more_about_our_sustainability_initiatives_sus_off = new Image;
link_learn_more_about_our_sustainability_initiatives_sus_roll = new Image;
link_learn_more_about_our_sustainability_initiatives_sus_off.src = pathToRoot + "/images/link_learn_more_about_our_sustainability_initiatives_sus_off.gif";
link_learn_more_about_our_sustainability_initiatives_sus_roll.src = pathToRoot + "/images/link_learn_more_about_our_sustainability_initiatives_sus_roll.gif";

link_this_is_how_we_make_it_recycled_off = new Image;
link_this_is_how_we_make_it_recycled_roll = new Image;
link_this_is_how_we_make_it_recycled_off.src = pathToRoot + "/images/link_this_is_how_we_make_it_recycled_off.gif";
link_this_is_how_we_make_it_recycled_roll.src = pathToRoot + "/images/link_this_is_how_we_make_it_recycled_roll.gif";

link_and_this_is_how_it_benefits_you_off = new Image;
link_and_this_is_how_it_benefits_you_roll = new Image;
link_and_this_is_how_it_benefits_you_off.src = pathToRoot + "/images/link_and_this_is_how_it_benefits_you_off.gif";
link_and_this_is_how_it_benefits_you_roll.src = pathToRoot + "/images/link_and_this_is_how_it_benefits_you_roll.gif";

link_read_full_release_off = new Image;
link_read_full_release_roll = new Image;
link_read_full_release_off.src = pathToRoot + "/images/link_read_full_release_off.gif";
link_read_full_release_roll.src = pathToRoot + "/images/link_read_full_release_roll.gif";

link_view_full_article_off = new Image;
link_view_full_article_roll = new Image;
link_view_full_article_off.src = pathToRoot + "/images/link_view_full_article_off.gif";
link_view_full_article_roll.src = pathToRoot + "/images/link_view_full_article_roll.gif";

link_view_all_press_releases_off = new Image;
link_view_all_press_releases_roll = new Image;
link_view_all_press_releases_off.src = pathToRoot + "/images/link_view_all_press_releases_off.gif";
link_view_all_press_releases_roll.src = pathToRoot + "/images/link_view_all_press_releases_roll.gif";

link_download_press_release_off = new Image;
link_download_press_release_roll = new Image;
link_download_press_release_off.src = pathToRoot + "/images/link_download_press_release_off.gif";
link_download_press_release_roll.src = pathToRoot + "/images/link_download_press_release_roll.gif";

link_visit_the_footprint_chronicles_by_patagonia_off = new Image;
link_visit_the_footprint_chronicles_by_patagonia_roll = new Image;
link_visit_the_footprint_chronicles_by_patagonia_off.src = pathToRoot + "/images/link_visit_the_footprint_chronicles_by_patagonia_off.gif";
link_visit_the_footprint_chronicles_by_patagonia_roll.src = pathToRoot + "/images/link_visit_the_footprint_chronicles_by_patagonia_roll.gif";

link_view_full_article_pdf_off = new Image;
link_view_full_article_pdf_roll = new Image;
link_view_full_article_pdf_off.src = pathToRoot + "/images/link_view_full_article_pdf_off.gif";
link_view_full_article_pdf_roll.src = pathToRoot + "/images/link_view_full_article_pdf_roll.gif";

link_all_news_articles_off = new Image;
link_all_news_articles_roll = new Image;
link_all_news_articles_off.src = pathToRoot + "/images/link_all_news_articles_off.gif";
link_all_news_articles_roll.src = pathToRoot + "/images/link_all_news_articles_roll.gif";

link_click_here_for_video_segment_off = new Image;
link_click_here_for_video_segment_roll = new Image;
link_click_here_for_video_segment_off.src = pathToRoot + "/images/link_click_here_for_video_segment_off.gif";
link_click_here_for_video_segment_roll.src = pathToRoot + "/images/link_click_here_for_video_segment_roll.gif";

link_see_the_eco_fleece_sleepsack_and_more_off = new Image;
link_see_the_eco_fleece_sleepsack_and_more_roll = new Image;
link_see_the_eco_fleece_sleepsack_and_more_off.src = pathToRoot + "/images/link_see_the_eco_fleece_sleepsack_and_more_off.gif";
link_see_the_eco_fleece_sleepsack_and_more_roll.src = pathToRoot + "/images/link_see_the_eco_fleece_sleepsack_and_more_roll.gif";

link_download_the_full_pdf_off = new Image;
link_download_the_full_pdf_roll = new Image;
link_download_the_full_pdf_off.src = pathToRoot + "/images/link_download_the_full_pdf_off.gif";
link_download_the_full_pdf_roll.src = pathToRoot + "/images/link_download_the_full_pdf_roll.gif";

title_unifis_repreve_yarn_selected_for_the_television_series_off = new Image;
title_unifis_repreve_yarn_selected_for_the_television_series_roll = new Image;
title_unifis_repreve_yarn_selected_for_the_television_series_off.src = pathToRoot + "/images/title_unifis_repreve_yarn_selected_for_the_television_series_off.gif";
title_unifis_repreve_yarn_selected_for_the_television_series_roll.src = pathToRoot + "/images/title_unifis_repreve_yarn_selected_for_the_television_series_roll.gif";

title_repreve_yarn_by_unifi_to_be_featured_on_discovery_channel_off = new Image;
title_repreve_yarn_by_unifi_to_be_featured_on_discovery_channel_roll = new Image;
title_repreve_yarn_by_unifi_to_be_featured_on_discovery_channel_off.src = pathToRoot + "/images/title_repreve_yarn_by_unifi_to_be_featured_on_discovery_channel_off.gif";
title_repreve_yarn_by_unifi_to_be_featured_on_discovery_channel_roll.src = pathToRoot + "/images/title_repreve_yarn_by_unifi_to_be_featured_on_discovery_channel_roll.gif";

input_button_go_off = new Image;
input_button_go_roll = new Image;
input_button_go_off.src = pathToRoot + "/images/input_button_go_off.gif";
input_button_go_roll.src = pathToRoot + "/images/input_button_go_roll.gif";

link_existing_customers_log_in_now_off = new Image;
link_existing_customers_log_in_now_roll = new Image;
link_existing_customers_log_in_now_off.src = "../images/link_existing_customers_log_in_now_off.gif";
link_existing_customers_log_in_now_roll.src = "../images/link_existing_customers_log_in_now_roll.gif";

link_new_customers_apply_for_log_in_off = new Image;
link_new_customers_apply_for_log_in_roll = new Image;
link_new_customers_apply_for_log_in_off.src = "../images/link_new_customers_apply_for_log_in_off.gif";
link_new_customers_apply_for_log_in_roll.src = "../images/link_new_customers_apply_for_log_in_roll.gif";

link_find_out_about_fabric_certification_off = new Image;
link_find_out_about_fabric_certification_roll = new Image;
link_find_out_about_fabric_certification_off.src = "../images/link_find_out_about_fabric_certification_off.gif";
link_find_out_about_fabric_certification_roll.src = "../images/link_find_out_about_fabric_certification_roll.gif";

link_see_this_outfit_and_more_at_restore_clothing_off = new Image;
link_see_this_outfit_and_more_at_restore_clothing_roll = new Image;
link_see_this_outfit_and_more_at_restore_clothing_off.src = "../images/link_see_this_outfit_and_more_at_restore_clothing_off.gif";
link_see_this_outfit_and_more_at_restore_clothing_roll.src = "../images/link_see_this_outfit_and_more_at_restore_clothing_roll.gif";

link_see_a_video_clip_on_how_off = new Image;
link_see_a_video_clip_on_how_roll = new Image;
link_see_a_video_clip_on_how_off.src = "../images/link_see_a_video_clip_on_how_off.gif";
link_see_a_video_clip_on_how_roll.src = "../images/link_see_a_video_clip_on_how_roll.gif";

img_repreve_appears_on_how_Its_made_off = new Image;
img_repreve_appears_on_how_Its_made_roll = new Image;
img_repreve_appears_on_how_Its_made_off.src = "../images/img_repreve_appears_on_how_Its_made_off.jpg";
img_repreve_appears_on_how_Its_made_roll.src = "../images/img_repreve_appears_on_how_Its_made_roll.jpg";

link_see_repreve_on_how_It_s_made_off = new Image;
link_see_repreve_on_how_It_s_made_roll = new Image;
link_see_repreve_on_how_It_s_made_off.src = "images/link_see_repreve_on_how_It_s_made_off.gif";
link_see_repreve_on_how_It_s_made_roll.src = "images/link_see_repreve_on_how_It_s_made_roll.gif";

link_read_more_about_repreve_on_off = new Image;
link_read_more_about_repreve_on_roll = new Image;
link_read_more_about_repreve_on_off.src = "images/link_read_more_about_repreve_on_off.gif";
link_read_more_about_repreve_on_roll.src = "images/link_read_more_about_repreve_on_roll.gif";

link_check_out_this_free_resource_tool_off = new Image;
link_check_out_this_free_resource_tool_roll = new Image;
link_check_out_this_free_resource_tool_off.src = "images/link_check_out_this_free_resource_tool_off.gif";
link_check_out_this_free_resource_tool_roll.src = "images/link_check_out_this_free_resource_tool_roll.gif";

/*
_off = new Image;
_roll = new Image;
_off.src = "/images/_off.gif";
_roll.src = "/images/_roll.gif";
*/

isLoaded = true;
