
var picBottomList = 
      [["banner-bottom/Default/ansell01.jpg",  			"Ansell Gloves",					"index.jsp?ID=,Ansell&path=mfr&ds=mfr"],
       ["banner-bottom/Default/cadweld01.jpg",			"Cadweld - Exothermic Welding",		"index.jsp?ID=,Cadweld&path=mfr&ds=mfr"],
	 ["banner-bottom/Default/dewalt_01.gif",			"Dewalt - Corded Power Tools",		"index.jsp?ID=,Dewalt,Power.Tools&path=mfr"],
	 ["banner-bottom/Default/dewalt_02.gif",			"Dewalt - Corded Power Tools",		"index.jsp?ID=,Dewalt,Power.Tools&path=mfr"],
	 ["banner-bottom/Default/dewalt_06.gif",			"Dewalt - Cordless Tools",			"index.jsp?ID=,Dewalt,Cordless.Tools&path=mfr&ds=mfr"],
       ["banner-bottom/Default/dewalt_accessories.gif",	"Dewalt - Accessories",				"index.jsp?ID=,Dewalt,Supplies...Accessories&path=mfr"],
       ["banner-bottom/Default/dewalt_dwd460.gif",		"Dewalt - DWD460 Stud & Joist Drill",	"index.jsp?path=product&part=6953041&ds=mfr&process=search&ID=,Dewalt,Power.Tools,Drills...Fastening,Angle"],
       ["banner-bottom/Default/dewalt_dwm120.gif",		"Dewalt - DWM120 Bandsaw",			"index.jsp?path=product&part=6953038&ds=mfr&process=search&ID=,Dewalt,Power.Tools,Cutting,Band.Saws"],
       ["banner-bottom/Default/dewalt01.jpg",			"Dewalt - Put our tools to the test",	"index.jsp?ID=,Dewalt&path=mfr&ds=mfr"],
       ["banner-bottom/Default/dewalt_nano.jpg",		"Dewalt Nano Lithion",					"index.jsp?ID=,Dewalt,Cordless.Tools,Nano.18v.System&path=find&m=1&ds=mfr&a=1"],
       ["banner-bottom/Default/fall_protection.jpg",		"Fall Protection Equipment",				"index.jsp?ID=,Safety,Fall.Protection&path=to&ds=dept"],
       ["banner-bottom/Default/firestop.jpg",			"Fire Stop Products",					"index.jsp?ID=,Fire.Stop&path=to&ds=dept"],
       ["banner-bottom/Default/fluke01.jpg",			"Fluke",							"index.jsp?ID=,Fluke&path=mfr&ds=mfr"],
       ["banner-bottom/Default/fluke_thermal.jpg",		"Fluke Thermal Imaging",			"index.jsp?ID=,Fluke,Thermal.Imaging&path=find&m=1&ds=mfr&a=1"],
       ["banner-bottom/Default/greenlee01.jpg",			"Greenlee Products",				"index.jsp?ID=,Greenlee&path=mfr&ds=mfr"],
       ["banner-bottom/Default/greenlee02.jpg",			"Greenlee Products",				"index.jsp?ID=,Greenlee&path=mfr&ds=mfr"],
       ["banner-bottom/Default/hvac01.jpg",			"HVAC Product Ratings",				"http://www.hvacproductratings.com"],
       ["banner-bottom/Default/klein01.jpg",			"Klein Hand Tools",				"index.jsp?ID=,Klein&path=mfr&ds=mfr"],
       ["banner-bottom/Default/knaack01.jpg",			"Knaack - Jobsite Storage",			"index.jsp?ID=,Knaack&path=mfr&ds=mfr"],
       ["banner-bottom/Default/laser_shark.jpg",		"Lasers",						"index.jsp?ID=,Hand.Tools,Lasers&path=to&ds=dept"],
       ["banner-bottom/Default/makita01.jpg",			"Makita Power Tools",				"index.jsp?ID=,Makita&path=mfr&ds=mfr"],
       ["banner-bottom/Default/Makita_LXT_Logo.jpg",	"Makita LXT Cordless System",			"index.jsp?ID=,Makita,Cordless.Tools,LXT.18v.System&path=find&m=1&ds=mfr&a=1"],
       ["banner-bottom/Default/maxis01.jpg",		"Maxis Cable Pullers",				"index.jsp?ID=,Maxis&path=mfr&ds=mfr"],
       ["banner-bottom/Default/milwaukee01.jpg",	"Milwaukee Power Tools",			"index.jsp?ID=,Milwaukee&path=mfr&ds=mfr"],
       ["banner-bottom/Default/milwaukee_m12.jpg",	"Milwaukee M12 Cordless Tools",		"index.jsp?path=find&a=1&ds=mfr&prev=mfradmin&ID=,Milwaukee,Cordless.Tools,M12.System&a=1"],
       ["banner-bottom/Default/motorola_radios.jpg",	"Motorola Radios",				"index.jsp?ID=,Hand.Tools,Radios.(Walkie.Talkies)&path=to&ds=dept"],
       ["banner-bottom/Default/msa01.jpg",		"MSA Safety Products",				"index.jsp?ID=,MSA&path=mfr&ds=mfr"],
       ["banner-bottom/Default/msa_fall.jpg",		"Fall Protection Harnesses",			"index.jsp?ID=,Safety,Fall.Protection,Harnesses&path=to&ds=dept"],
       ["banner-bottom/Default/msa_gas.jpg",		"Gas Detection Equipment",			"index.jsp?ID=,Safety,Confined.Space,Gas.Detection&path=find&ds=dept&a=1"],
       ["banner-bottom/Default/msa_hearing.jpg",	"Head Protection",				"index.jsp?ID=,Safety,Head&path=to&ds=dept"],
       ["banner-bottom/Default/msa_respiratory.jpg",	"Respiratory Protection",			"index.jsp?ID=,Safety,Respiratory&path=to&ds=dept"],
       ["banner-bottom/Default/powerstud1.jpg",		"Cracked Concrete Approved Wedge Anchor",	"index.jsp?ID=,Anchors...Fasteners,Cracked.Concrete.Approved&path=to&ds=dept"],
       ["banner-bottom/Default/ridgid01.jpg",		"Ridgid Tools & Equipment",			"index.jsp?ID=,Ridgid&path=mfr&ds=mfr"]];

imgCtBottom = picBottomList.length;

randomBottomNum1 = Math.floor((Math.random() * imgCtBottom));

randomBottomNum2 = Math.floor((Math.random() * imgCtBottom));
while (randomBottomNum1 == randomBottomNum2 && imgCtBottom >= 2)
    randomBottomNum2 = Math.floor((Math.random() * imgCtBottom));

randomBottomNum3 = Math.floor((Math.random() * imgCtBottom));
while ((randomBottomNum1 == randomBottomNum3 || randomBottomNum2 == randomBottomNum3) && imgCtBottom >= 3)
    randomBottomNum3 = Math.floor((Math.random() * imgCtBottom));

randomBottomNum4 = Math.floor((Math.random() * imgCtBottom));
while ((randomBottomNum1 == randomBottomNum4 || randomBottomNum2 == randomBottomNum4 || randomBottomNum3 == randomBottomNum4) && imgCtBottom >= 4)
    randomBottomNum4 = Math.floor((Math.random() * imgCtBottom));

randomBottomNum5 = Math.floor((Math.random() * imgCtBottom));
while ((randomBottomNum1 == randomBottomNum5 || randomBottomNum2 == randomBottomNum5 || randomBottomNum3 == randomBottomNum5 || randomBottomNum4 == randomBottomNum5) && imgCtBottom >= 5)
    randomBottomNum5 = Math.floor((Math.random() * imgCtBottom));

randomBottomNum6 = Math.floor((Math.random() * imgCtBottom));
while ((randomBottomNum1 == randomBottomNum6 || randomBottomNum2 == randomBottomNum6 || randomBottomNum3 == randomBottomNum6 || randomBottomNum4 == randomBottomNum6 || randomBottomNum5 == randomBottomNum6) && imgCtBottom >= 6)
    randomBottomNum6 = Math.floor((Math.random() * imgCtBottom));

randomBottomNum7 = Math.floor((Math.random() * imgCtBottom));
while ((randomBottomNum1 == randomBottomNum7 || randomBottomNum2 == randomBottomNum7 || randomBottomNum3 == randomBottomNum7 || randomBottomNum4 == randomBottomNum7 || randomBottomNum5 == randomBottomNum7 || randomBottomNum6 == randomBottomNum7) && imgCtBottom >= 7)
    randomBottomNum7 = Math.floor((Math.random() * imgCtBottom));

randomBottomNum8 = Math.floor((Math.random() * imgCtBottom));
while ((randomBottomNum1 == randomBottomNum8 || randomBottomNum2 == randomBottomNum8 || randomBottomNum3 == randomBottomNum8 || randomBottomNum4 == randomBottomNum8 || randomBottomNum5 == randomBottomNum8 || randomBottomNum6 == randomBottomNum8 || randomBottomNum7 == randomBottomNum8) && imgCtBottom >= 8)
    randomBottomNum8 = Math.floor((Math.random() * imgCtBottom));

randomBottomNum9 = Math.floor((Math.random() * imgCtBottom));
while ((randomBottomNum1 == randomBottomNum9 || randomBottomNum2 == randomBottomNum9 || randomBottomNum3 == randomBottomNum9 || randomBottomNum4 == randomBottomNum9 || randomBottomNum5 == randomBottomNum9 || randomBottomNum6 == randomBottomNum9 || randomBottomNum7 == randomBottomNum9 || randomBottomNum8 == randomBottomNum9) && imgCtBottom >= 9)
    randomBottomNum9 = Math.floor((Math.random() * imgCtBottom));

randomBottomNum10 = Math.floor((Math.random() * imgCtBottom));
while ((randomBottomNum1 == randomBottomNum10 || randomBottomNum2 == randomBottomNum10 || randomBottomNum3 == randomBottomNum10 || randomBottomNum4 == randomBottomNum10 || randomBottomNum5 == randomBottomNum10 || randomBottomNum6 == randomBottomNum10 || randomBottomNum7 == randomBottomNum10 || randomBottomNum8 == randomBottomNum10 || randomBottomNum9 == randomBottomNum10) && imgCtBottom >= 10)
    randomBottomNum10 = Math.floor((Math.random() * imgCtBottom));

function chooseBottomPic1() {
	if (document.images) {
                // choose first pic randomly
                if (document.bottomPic1 != null) {
                  //randomBottomNum = Math.floor((Math.random() * imgCtBottom));
                  document.bottomPic1.src = picBottomList[randomBottomNum1][0];
                  document.bottomPic1.alt = picBottomList[randomBottomNum1][1];
                  document.bottomPic1.title = picBottomList[randomBottomNum1][1];
                }

                // rotate pic every 15 seconds
                //setTimeout("chooseBottomPic1()", 15 * 1000); 
	}
}
function chooseBottomPic2() {
	if (document.images) {
                // choose first pic randomly
                if (document.bottomPic2 != null) {
                  //randomBottomNum = Math.floor((Math.random() * imgCtBottom));
                  document.bottomPic2.src = picBottomList[randomBottomNum2][0];
                  document.bottomPic2.alt = picBottomList[randomBottomNum2][1];
                  document.bottomPic2.title = picBottomList[randomBottomNum2][1];
                }

                // rotate pic every 15 seconds
                //setTimeout("chooseBottomPic2()", 15 * 1000); 
	}
}
function chooseBottomPic3() {
	if (document.images) {
                // choose first pic randomly
                if (document.bottomPic3 != null) {
                  //randomBottomNum = Math.floor((Math.random() * imgCtBottom));
                  document.bottomPic3.src = picBottomList[randomBottomNum3][0];
                  document.bottomPic3.alt = picBottomList[randomBottomNum3][1];
                  document.bottomPic3.title = picBottomList[randomBottomNum3][1];
                }

                // rotate pic every 15 seconds
                //setTimeout("chooseBottomPic3()", 15 * 1000); 
	}
}
function chooseBottomPic4() {
	if (document.images) {
                // choose first pic randomly 		
                if (document.bottomPic4 != null) {
                  //randomBottomNum = Math.floor((Math.random() * imgCtBottom));
                  document.bottomPic4.src = picBottomList[randomBottomNum4][0];
                  document.bottomPic4.alt = picBottomList[randomBottomNum4][1];
                  document.bottomPic4.title = picBottomList[randomBottomNum4][1];
                }

                // rotate pic every 15 seconds
                //setTimeout("chooseBottomPic4()", 15 * 1000); 
	}
}
function chooseBottomPic5() {
	if (document.images) {
                // choose first pic randomly
                if (document.bottomPic5 != null) {
                  //randomBottomNum = Math.floor((Math.random() * imgCtBottom));
                  document.bottomPic5.src = picBottomList[randomBottomNum5][0];
                  document.bottomPic5.alt = picBottomList[randomBottomNum5][1];
                  document.bottomPic5.title = picBottomList[randomBottomNum5][1];
                }

                // rotate pic every 15 seconds
                //setTimeout("chooseBottomPic5()", 15 * 1000); 
	}
}
function chooseBottomPic6() {
	if (document.images) {
                // choose first pic randomly
                if (document.bottomPic6 != null) {
                  //randomBottomNum = Math.floor((Math.random() * imgCtBottom));
                  document.bottomPic6.src = picBottomList[randomBottomNum6][0];
                  document.bottomPic6.alt = picBottomList[randomBottomNum6][1];
                  document.bottomPic6.title = picBottomList[randomBottomNum6][1];
                }

                // rotate pic every 15 seconds
                //setTimeout("chooseBottomPic6()", 15 * 1000); 
	}
}
function chooseBottomPic7() {
	if (document.images) {
                // choose first pic randomly
                if (document.bottomPic7 != null) {
                  //randomBottomNum = Math.floor((Math.random() * imgCtBottom));
                  document.bottomPic7.src = picBottomList[randomBottomNum7][0];
                  document.bottomPic7.alt = picBottomList[randomBottomNum7][1];
                  document.bottomPic7.title = picBottomList[randomBottomNum7][1];
                }

                // rotate pic every 15 seconds
                //setTimeout("chooseBottomPic7()", 15 * 1000); 
	}
}
function chooseBottomPic8() {
	if (document.images) {
                // choose first pic randomly
                if (document.bottomPic8 != null) { 
                  //randomBottomNum = Math.floor((Math.random() * imgCtBottom));
                  document.bottomPic8.src = picBottomList[randomBottomNum8][0];
                  document.bottomPic8.alt = picBottomList[randomBottomNum8][1];
                  document.bottomPic8.title = picBottomList[randomBottomNum8][1];
                }
                // rotate pic every 15 seconds
                //setTimeout("chooseBottomPic8()", 15 * 1000); 
	}
}
function chooseBottomPic9() {
	if (document.images) {
                // choose first pic randomly
                if (document.bottomPic9 != null) { 
                  //randomBottomNum = Math.floor((Math.random() * imgCtBottom));
                  document.bottomPic9.src = picBottomList[randomBottomNum9][0];
                  document.bottomPic9.alt = picBottomList[randomBottomNum9][1];
                  document.bottomPic9.title = picBottomList[randomBottomNum9][1];
                }

                // rotate pic every 15 seconds
                //setTimeout("chooseBottomPic9()", 15 * 1000); 
	}
}
function chooseBottomPic10() {
	if (document.images) {
                // choose first pic randomly
                if (document.bottomPic10 != null) {
                  //randomBottomNum = Math.floor((Math.random() * imgCtBottom));
                  document.bottomPic10.src = picBottomList[randomBottomNum10][0];
                  document.bottomPic10.alt = picBottomList[randomBottomNum10][1];
                  document.bottomPic10.title = picBottomList[randomBottomNum10][1];
                }

                // rotate pic every 15 seconds
                //setTimeout("chooseBottomPic10()", 15 * 1000); 
	}
}