var c_numpicsf = 6;
var b_numpicsf = 1;
var b_numpicsf_various = 3;
var b_numpicsf_various1 = 3;
var b_numpicsf_smallb = 3;
var rotatedelayf = 6000;
var currentpic1f = 0;
var currentpic2f = 0;
var currentpic3f = 0;
var currentpic4f = 0;
var currentpic5f = 0;
var currentpic6f = 0;

var business1_numpic = 3;
var business2_numpic = 2;
var business3_numpic = 4;
var business4_numpic = 3;
var business5_numpic = 3;
var business6_numpic = 3;
var business7_numpic = 2;
var business8_numpic = 4;
var business9_numpic = 3;

var business1_current = 0;
var business2_current = 0;
var business3_current = 0;
var business4_current = 0;
var business5_current = 0;
var business6_current = 0;
var business7_current = 0;
var business8_current = 0;
var business9_current = 0;

var c_picsf = new Array();
c_picsf[0] = new Image();
c_picsf[0].src = "/images/banners/banner_homeMY5.gif";
c_picsf[1] = new Image();
c_picsf[1].src = "/images/banners/ptv-banner1a.gif";
c_picsf[2] = new Image()
c_picsf[2].src = "/images/banners/rogers_main_badge_fr.gif";
c_picsf[3] = new Image();
c_picsf[3].src = "/images/banners/rogers_mainbadge-portable-f.gif";
c_picsf[4] = new Image();
c_picsf[4].src = "/images/banners/network_badge-f.gif";
c_picsf[5] = new Image();
c_picsf[5].src = "/images/banners/banner_moving_promo-new-f.gif";


// URL's associated with Consumer images.
var c_urlf = new Array();
c_urlf[0] = "/promo/featuredphones.asp";
c_urlf[1] = "/store/cable/ptv/value/vip.asp";
c_urlf[2] = "/store/cable/rhp/homephone_fr.asp";
c_urlf[3] = "/store/cable/InternetContent/portable_internet_basic.asp?cm_sp=Hi%20SpeedFR-_-Portable%20Internet%2024.95-_-na";
c_urlf[4] = "/store/wireless/coverage/info.asp";
c_urlf[5] = "http://www.hispeed.rogers.com/moving/francais/";


// Array of Business images.
//business/wireless/industry/index.asp
var b_picsf = new Array();
//b_picsf[0] = new Image();
//b_picsf[0].src = "/images/3/banner_easyemail_sept07-f.gif";
//b_picsf[1] = new Image();
//b_picsf[1].src = "/images/3/windows_mobile_banner.gif";
//b_picsf[2] = new Image();
//b_picsf[2].src = "/images/3/bb-397-145-f.gif";
//b_picsf[0] = new Image();
//b_picsf[0].src = "/images/3/30905_bottomline-397-145-f.gif";
b_picsf[0] = new Image();
b_picsf[0].src = "/images/5/header_secondvoiceline.gif";
//b_picsf[1] = new Image();
//b_picsf[1].src = "/images/3/rugged_397-145-f.gif";

// URL's associated with Business images.
var b_urlf = new Array();
// http://www.boutiquerogers.com
//b_urlf[0] = "/business/wireless/promo/youunltd.asp";
//b_urlf[1] = "/business/wireless/services/windowsmobile/overview.asp";
//b_urlf[2] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08";
//b_urlf[0] = "/business/promotions/bottomline.asp";
b_urlf[0] = "/business/wireless/services/secondvoicelineservice.asp?cm_sp=BizBanners-_-French-_-WirelessSecond08"
//b_urlf[1] = "http://www.rogersrobuste.com/"


// Array of Business images (various pages)
var b_var_picsf = new Array();
b_var_picsf[0] = new Image();
b_var_picsf[0].src = "/images/3/windows_mobile_banner.gif";
b_var_picsf[1] = new Image();
b_var_picsf[1].src = "/images/3/bb-397-145-f.gif";
b_var_picsf[2] = new Image();
b_var_picsf[2].src = "/images/3/easy-ip-397-145.gif";

// URL's associated with Business images (various pages)
var b_var_urlf = new Array();
//http://www.boutiquerogers.com
b_var_urlf[0] = "/business/wireless/services/windowsmobile/overview.asp";
b_var_urlf[1] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08";
b_var_urlf[2] = "/business/voice/easy_ip.asp";

// Array of Business images (various1 pages)
var b_var1_picsf = new Array();
b_var1_picsf[0] = new Image();
b_var1_picsf[0].src = "/images/3/banner_easyemail_sept07-f.gif";
b_var1_picsf[1] = new Image();
b_var1_picsf[1].src = "/images/3/windows_mobile_banner.gif";
b_var1_picsf[2] = new Image();
b_var1_picsf[2].src = "/images/3/bb-397-145-f.gif";

// URL's associated with Business images (various1 pages)
var b_var1_urlf = new Array();
b_var1_urlf[0] = "/business/wireless/promo/youunltd.asp";
b_var1_urlf[1] = "/business/wireless/services/windowsmobile/overview.asp";
b_var1_urlf[2] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08";


// Array of Business images (small business and voice plans)
var b_smallb_picsf = new Array();
b_smallb_picsf[0] = new Image();
b_smallb_picsf[0].src = "/images/3/windows_mobile_banner.gif";
b_smallb_picsf[1] = new Image();
b_smallb_picsf[1].src = "/images/3/bb-397-145-f.gif";
b_smallb_picsf[2] = new Image();
b_smallb_picsf[2].src = "/images/3/2nd_voice_line-oct07-f.gif";

// URL's associated with Business images (small business and voice plans)
var b_smallb_urlf = new Array();
b_smallb_urlf[0] = "/business/wireless/services/windowsmobile/overview.asp";
b_smallb_urlf[1] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08";
b_smallb_urlf[2] = "/business/wireless/services/secondvoicelineservice.asp?cm_sp=BizBanners-_-French-_-WirelessSecond08";

/* Banner Rotation for the following pages:
 *	-/business/business_overview.asp
 */
var business1_img = new Array();
//business1_img[0] = new Image();
//business1_img[0].src = "/images/5/Rogers_T3_Static_Banner_Ad_397x145-f.gif"
business1_img[0] = new Image();
business1_img[0].src = "/images/34024/397x145_Bold_French.gif"
business1_img[1] = new Image();
business1_img[1].src = "/images/33470/biz-home-397-145-fr.gif"
//business1_img[2] = new Image();
//business1_img[2].src = "/images/3/30905_bottomline-397-145-f.gif";
//business1_img[1] = new Image();
//business1_img[1].src = "/images/5/32707-savings-397-145-f.gif";
business1_img[2] = new Image();
business1_img[2].src = "/images/3/do-more-1-F.gif";
//business1_img[3] = new Image();
//business1_img[3].src = "/images/3/bb-397-145-f.gif"


var business1_url = new Array();
//business1_url[0] = "/business/wireless/services/internet/overview.asp?cm_sp=BizBanners-_-French-_-WirelessT308"
business1_url[0] = "/business/wireless/services/internet/overview.asp?cm_sp=Business_Wireless-_-T1Microsite_0309_Fr-_-PrenezLesDevants"
business1_url[1] = "http://www.rogers.com/web/content/wireless-products/iphone_devices?setLanguage=fr&cm_sp=Business-_-Wireless_iPhone3Gs_0609_Fre-_-3GsLaunch_Banner"
//business1_url[2] = "/business/promotions/bottomline.asp"
business1_url[2] = "/business/productsservices/wireless/mobile/businessapps/index.asp?cm_sp=BizBanners-_-French-_-WirelessDoMore08"
//business1_url[3] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08"



/* Banner Rotation for the following pages:
 *	-/business/smallbusiness/index.asp
 */
var business2_img = new Array();
business2_img[0] = new Image();
business2_img[0].src = "/images/34024/397x145_Bold_French.gif"
//business2_img[1] = new Image();
//business2_img[1].src = "/images/5/Rogers_T3_Static_Banner_Ad_397x145-f.gif"
//business2_img[1] = new Image();
//business2_img[1].src = "/images/5/32175-overage-protection-397-145-f.gif";
business2_img[1] = new Image();
business2_img[1].src = "/images/3/do-more-1-F.gif";
//business2_img[3] = new Image();
//business2_img[3].src = "/images/3/rugged_397-145-f.gif";
//business2_img[3] = new Image();
//business2_img[3].src = "/images/3/30905_bottomline-397-145-f.gif";
//business2_img[3] = new Image();
//business2_img[3].src = "/images/5/header_secondvoiceline.gif";
//business2_img[1] = new Image();
//business2_img[1].src = "/images/3/bb-397-145-f.gif"
//business2_img[3] = new Image();
//business2_img[3].src = "/images/5/32707-savings-397-145-f.gif";


var business2_url = new Array();
business2_url[0] = "/business/wireless/services/internet/overview.asp?cm_sp=Business_Wireless-_-T1Microsite_0309_Fr-_-PrenezLesDevants"
//business2_url[1] = "/business/wireless/services/internet/overview.asp?cm_sp=BizBanners-_-French-_-WirelessT308"
//business2_url[1] = "/business/wireless/services/dataoverageprotection.asp?cm_sp=BizBanners-_-French-_-WirelessProtect08"
business2_url[1] = "/business/productsservices/wireless/mobile/businessapps/index.asp?cm_sp=BizBanners-_-French-_-WirelessDoMore08"
//business2_url[3] = "http://www.rogersrobuste.com/"
//business2_url[3] = "/business/promotions/bottomline.asp"
//business2_url[3] = "/business/wireless/services/secondvoicelineservice.asp?cm_sp=BizBanners-_-French-_-WirelessSecond08"
//business2_url[1] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08"
//business2_url[3] = "/business/wireless/plans_services/business_voice.asp"

/* Banner Rotation for the following pages:
 *	-/business/medlargebusiness/index.asp
 */
var business3_img = new Array();
business3_img[0] = new Image();
business3_img[0].src = "/images/3/33011-pronto-forms-396-145-f.gif"
business3_img[1] = new Image();
business3_img[1].src = "/images/34024/397x145_Bold_French.gif"
business3_img[2] = new Image();
business3_img[2].src = "/images/3/bb-397-145-f.gif"
business3_img[3] = new Image();
business3_img[3].src = "/images/3/do-more-1-F.gif";
//business3_img[3] = new Image();
//business3_img[3].src = "/images/3/PC_CardBanner_French.gif";


var business3_url = new Array();
business3_url[0] = "/business/wireless/solutions/mformsoverview.asp?cm_sp=BizBanners-_-French-_-WirelessPronto08"
business3_url[1] = "/business/wireless/services/internet/overview.asp?cm_sp=Business_Wireless-_-T1Microsite_0309_Fr-_-PrenezLesDevants"
business3_url[2] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08"
business3_url[3] = "/business/productsservices/wireless/mobile/businessapps/index.asp?cm_sp=BizBanners-_-French-_-WirelessDoMore08"
//business3_url[3] = "/Business/productsservices/wireless/servicesaddons/pccards.asp"
//business3_url[1] = "/business/wireless/promo/youunltd.asp"
//business3_url[3] = "/business/productsservices/wireless/mobile/businessapps/index.asp?cm_sp=BizBanners-_-French-_-WirelessDoMore08"

/* Banner Rotation for the following pages:
 *	-/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08
 */
var business4_img = new Array();
business4_img[0] = new Image();
business4_img[0].src = "/business/images/banners/rotation/T3_Banners_397x145-f.jpg"
business4_img[1] = new Image();
business4_img[1].src = "/images/3/bb-397-145-f.gif"
//business4_img[2] = new Image();
//business4_img[2].src = "/images/3/rugged_397-145-f.gif";
business4_img[2] = new Image();
business4_img[2].src = "/images/3/do-more-1-F.gif";

var business4_url = new Array();
business4_url[0] = "/business/wireless/services/internet/overview.asp?cm_sp=Business-_-T3Campaign_0909_Fre-_-Team_slot1"
business4_url[1] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08"
//business4_url[2] = "http://www.rogersrobuste.com/"
business4_url[2] = "/business/productsservices/wireless/mobile/businessapps/index.asp?cm_sp=BizBanners-_-French-_-WirelessDoMore08"


/* Banner Rotation for the following pages:
 *	-/Business/Wireless/Services/voiceplans.asp
 */
var business5_img = new Array();
business5_img[0] = new Image();
business5_img[0].src = "/business/images/banners/rotation/T3_Banners_397x145-f.jpg";
business5_img[1] = new Image();
business5_img[1].src = "/images/3/bb-397-145-f.gif"
//business5_img[2] = new Image();
//business5_img[2].src = "/images/3/rugged_397-145-f.gif"
business5_img[2] = new Image();
business5_img[2].src = "/images/3/do-more-1-F.gif"


var business5_url = new Array();
business5_url[0] = "/business/wireless/services/internet/overview.asp?cm_sp=Business-_-T3Campaign_0909_Fre-_-Team_slot1"
business5_url[1] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08"
//business5_url[2] = "http://www.rogersrobuste.com/"
business5_url[2] = "/business/productsservices/wireless/mobile/businessapps/index.asp?cm_sp=BizBanners-_-French-_-WirelessDoMore08"


/* Banner Rotation for the following pages:
 *	-/business/productsservices/wireless/index.asp
 */
var business6_img = new Array();
business6_img[0] = new Image();
business6_img[0].src = "/business/images/banners/rotation/T3_Banners_397x145-f.jpg"
//business6_img[1] = new Image();
//business6_img[1].src = "/images/5/Rogers_T3_Static_Banner_Ad_397x145-f.gif"
business6_img[1] = new Image();
business6_img[1].src = "/images/33470/biz-home-397-145-fr.gif"
//business6_img[1] = new Image();
//business6_img[1].src = "/images/3/397x145_rogert2wire-Business_fr.jpg"
//business6_img[3] = new Image();
//business6_img[3].src = "/images/3/rugged_397-145-f.gif"
business6_img[2] = new Image();
business6_img[2].src = "/images/3/do-more-1-F.gif"
//business6_img[2] = new Image();
//business6_img[2].src = "/images/3/bb-397-145-f.gif"


var business6_url = new Array();
business6_url[0] = "/business/wireless/services/internet/overview.asp?cm_sp=Business-_-T3Campaign_0909_Fre-_-Team_slot1"
//business6_url[1] = "/business/wireless/services/internet/overview.asp?cm_sp=BizBanners-_-French-_-WirelessT308"
business6_url[1] = "http://www.rogers.com/web/content/wireless-products/iphone_devices?setLanguage=fr&cm_sp=Business-_-Wireless_iPhone3Gs_0609_Fre-_-3GsLaunch_Banner"
//business6_url[1] = "/business/wireless/services/email/overview.asp"
//business6_url[3] = "http://www.rogersrobuste.com/"
business6_url[1] = "/business/productsservices/wireless/mobile/businessapps/index.asp?cm_sp=BizBanners-_-French-_-WirelessDoMore08"
//business6_url[2] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08"


/* Banner Rotation for the following pages:
 *	-/business/wireless/services/dataemailplans.asp
 */
var business7_img = new Array();
business7_img[0] = new Image();
business7_img[0].src = "/business/images/banners/rotation/T3_Banners_397x145-f.jpg"
business7_img[1] = new Image();
business7_img[1].src = "/images/3/do-more-1-F.gif";



var business7_url = new Array();
business7_url[0] = "/business/wireless/services/internet/overview.asp?cm_sp=Business-_-T3Campaign_0909_Fre-_-Team_slot1"
business7_url[1] = "/business/productsservices/wireless/mobile/businessapps/index.asp?cm_sp=BizBanners-_-French-_-WirelessDoMore08"



/* Banner Rotation for the following pages:
 *	-/business/homeoffice/index.asp
 */
var business8_img = new Array();
business8_img[0] = new Image();
business8_img[0].src = "/images/5/32707-savings-397-145-f.gif";
business8_img[1] = new Image();
business8_img[1].src = "/images/3/397x145_rogert2wire-Business_fr.jpg"
business8_img[2] = new Image();
business8_img[2].src = "/images/5/32175-overage-protection-397-145-f.gif";
//business2_img[1] = new Image();
//business2_img[1].src = "/images/3/banner_easyemail_sept07-f.gif"
//business8_img[1] = new Image();
//business8_img[1].src = "/images/3/bb-397-145-f.gif"
business8_img[3] = new Image();
business8_img[3].src = "/images/3/30905_bottomline-397-145-f.gif"


var business8_url = new Array();
business8_url[0] = "/business/wireless/plans_services/business_voice.asp"
business8_url[1] = "/business/wireless/services/email/overview.asp"
business8_url[2] = "/business/wireless/services/dataoverageprotection.asp?cm_sp=BizBanners-_-French-_-WirelessProtect08"
//business2_url[1] = "/business/wireless/promo/youunltd.asp"
//business8_url[1] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08"
//business2_url[3] = "/business/wireless/services/secondvoicelineservice.asp?cm_sp=BizBanners-_-French-_-WirelessSecond08"
business8_url[3] = "/business/promotions/bottomline.asp"



/* Banner Rotation for the following pages:
 *	-/business/productsservices/wirelessmedlarge/index.asp
 */
var business9_img = new Array();
business9_img[0] = new Image();
business9_img[0].src = "/business/images/banners/rotation/T3_Banners_397x145-f.jpg"
//business9_img[1] = new Image();
//business9_img[1].src = "/images/34024/397x145_Bold_French.gif"
business9_img[1] = new Image();
business9_img[1].src = "/images/3/bb-397-145-f.gif"
business9_img[2] = new Image();
business9_img[2].src = "/images/3/do-more-1-F.gif";
//business3_img[3] = new Image();
//business3_img[3].src = "/images/3/PC_CardBanner_French.gif";


var business9_url = new Array();
business9_url[0] = "/business/wireless/services/internet/overview.asp?cm_sp=Business-_-T3Campaign_0909_Fre-_-Team_slot1"
//business9_url[1] = "/business/productsservices/wireless/blackberrybold.asp?cm_sp=BizBanners-_-French-_-WirelessBold08"
business9_url[1] = "/business/wireless/products/business_products.asp?cm_sp=BizBanners-_-French-_-WirelessTravel08"
business9_url[2] = "/business/productsservices/wireless/mobile/businessapps/index.asp?cm_sp=BizBanners-_-French-_-WirelessDoMore08"
//business3_url[3] = "/Business/productsservices/wireless/servicesaddons/pccards.asp"
//business3_url[1] = "/business/wireless/promo/youunltd.asp"
//business3_url[3] = "/business/productsservices/wireless/mobile/businessapps/index.asp?cm_sp=BizBanners-_-French-_-WirelessDoMore08"



function rotatepic1f() {
	if(currentpic1f < c_numpicsf - 1) {
		currentpic1f++;
	} else {
		currentpic1f = 0;
	}
	document.rotate.src=c_picsf[currentpic1f].src;
	setTimeout('rotatepic1f()', rotatedelayf);
}

function gotoURL1f( shopperID ) {
	
	// nov 3rd/06 - hacked 3rd party link to open in new window specific to the url involved
	if (c_urlf[currentpic1f] == "http://www.radio-canada.ca/invincibles") {
		window.open(c_urlf[currentpic1f], "newWin");
	} else {
		document.location.href=c_urlf[currentpic1f] + shopperID; //
	}
	
	/*
	// original function code
	document.location.href=c_urlf[currentpic1f] + shopperID; //
	*/
	
}

function rotatepic2f() {
	if(currentpic2f < b_numpicsf - 1) {
		currentpic2f++;
	} else {
		currentpic2f = 0;
	}
	document.rotate.src=b_picsf[currentpic2f].src;
	setTimeout('rotatepic2f()', rotatedelayf);
}

function gotoURL2f( shopperID ) {
	document.location.href=b_urlf[currentpic2f]/* + shopperID*/;
}


// Rotation for Business Wireless overview page
function rotatepic3f() {
	if(currentpic3f < b_numpicsf_various - 1) {
		currentpic3f++;
	} else {
		currentpic3f = 0;
	}
	document.rotate.src=b_var_picsf[currentpic3f].src;
	setTimeout('rotatepic3f()', rotatedelayf);
}

function gotoURL3f( shopperID ) {
	document.location.href=b_var_urlf[currentpic3f];
}

// Rotation for Business Wireless overview page
function rotatepic4f() {
	if(currentpic4f < b_numpicsf_various - 1) {
		currentpic4f++;
	} else {
		currentpic4f = 0;
	}
	document.rotate.src=b_var1_picsf[currentpic4f].src;
	setTimeout('rotatepic4f()', rotatedelayf);
}

function gotoURL4f( shopperID ) {
	document.location.href=b_var1_urlf[currentpic4f];
}

// Rotation for Small Business and Voice Plans pages
function rotatepic5f() {
	if(currentpic5f < b_numpicsf_smallb - 1) {
		currentpic5f++;
	} else {
		currentpic5f = 0;
	}
	document.rotate.src=b_smallb_picsf[currentpic5f].src;
	setTimeout('rotatepic5f()', rotatedelayf);
}

function gotoURL5f( shopperID ) {
	document.location.href=b_smallb_urlf[currentpic5f];
}

// Rotation for business1 images
function rotatebiz1() {
	if(business1_current < business1_numpic - 1) {
		business1_current++;
		
	} else {
		business1_current = 0;
	}
	document.rotate.src=business1_img[business1_current].src;
	setTimeout('rotatebiz1()', rotatedelayf);
}

function gotobiz1( shopperID ) {
	document.location.href=business1_url[business1_current];
}

// Rotation for business2 images
function rotatebiz2() {
	if(business2_current < business2_numpic - 1) {
		business2_current++;
		
	} else {
		business2_current = 0;
	}
	document.rotate.src=business2_img[business2_current].src;
	setTimeout('rotatebiz2()', rotatedelayf);
}

function gotobiz2( shopperID ) {
	document.location.href=business2_url[business2_current];
}

// Rotation for business3 images
function rotatebiz3() {
	if(business3_current < business3_numpic - 1) {
		business3_current++;
	} else {
		business3_current = 0;
	}
	document.rotate.src=business3_img[business3_current].src;
	setTimeout('rotatebiz3()', rotatedelayf);
}

function gotobiz3( shopperID ) {
	document.location.href=business3_url[business3_current];
}

// Rotation for business3 images
function rotatebiz4() {
	if(business4_current < business4_numpic - 1) {
		business4_current++;
		
	} else {
		business4_current = 0;
	}
	document.rotate.src=business4_img[business4_current].src;
	setTimeout('rotatebiz4()', rotatedelayf);
}

function gotobiz4( shopperID ) {
	document.location.href=business4_url[business4_current];
}

// Rotation for business3 images
function rotatebiz5() {
	if(business5_current < business5_numpic - 1) {
		business5_current++;
		
	} else {
		business5_current = 0;
	}
	document.rotate.src=business5_img[business5_current].src;
	setTimeout('rotatebiz5()', rotatedelayf);
}

function gotobiz5( shopperID ) {
	document.location.href=business5_url[business5_current];
}

// Rotation for business6 images
function rotatebiz6() {
	if(business6_current < business6_numpic - 1) {
		business6_current++;
		
	} else {
		business6_current = 0;
	}
	document.rotate.src=business6_img[business6_current].src;
	setTimeout('rotatebiz6()', rotatedelayf);
}

function gotobiz6( shopperID ) {
	document.location.href=business6_url[business6_current];
}

// Rotation for business7 images
function rotatebiz7() {
	if(business7_current < business7_numpic - 1) {
		business7_current++;
		
	} else {
		business7_current = 0;
	}
	document.rotate.src=business7_img[business7_current].src;
	setTimeout('rotatebiz7()', rotatedelayf);
}

function gotobiz7( shopperID ) {
	document.location.href=business7_url[business7_current];
}

// Rotation for business8 images
function rotatebiz8() {
	if(business8_current < business8_numpic - 1) {
		business8_current++;
		
	} else {
		business8_current = 0;
	}
	document.rotate.src=business8_img[business8_current].src;
	setTimeout('rotatebiz8()', rotatedelayf);
}

function gotobiz8( shopperID ) {
	document.location.href=business8_url[business8_current];
}


// Rotation for business9 images
function rotatebiz9() {
	if(business9_current < business9_numpic - 1) {
		business9_current++;
		
	} else {
		business9_current = 0;
	}
	document.rotate.src=business9_img[business9_current].src;
	setTimeout('rotatebiz9()', rotatedelayf);
}

function gotobiz9( shopperID ) {
	document.location.href=business9_url[business9_current];
}
