//Top Products=================//

//Top Product One Variables
var stiTitleOne = 'Bose';
var stiLinkOne = '/shop/productSearch--catId_1000007__sortBy_0__locale_en__term_bose__gps_2.html';

//Top Product Two Variables
var stiTitleTwo = 'UGG';
var stiLinkTwo = '/shop/productSearch--catId_1000002__sortBy_0__locale_en__term_ugg__gps_2.html';

//Top Product Three Variables
var stiTitleThree = 'Acer';
var stiLinkThree = '/shop/products--catId_1001610__catCrumbIds_1000006-1001610__sortBy_6__page_1__locale_en__itemsPerPage_30__term_Acer__gps_2.html';

//Top Product Four Variables
var stiTitleFour = 'Ridgid';
var stiLinkFour = '/shop/products--catId_1001249__locale_en__catCrumbIds_1001199-1001981-1001249__sortBy_5__page_1__manId_1029429.html';

//Top Product Five Variables
var stiTitleFive = 'Mac';
var stiLinkFive = '/shop/productSearch--catId_1000006__sortBy_0__locale_en__term_Apple__gps_2.html';

//Top Product Six Variables
var stiTitleSix = 'Gaggia';
var stiLinkSix = '/shop/productSearch--catId_1001199__sortBy_0__locale_en__term_Gaggia__gps_2.html';

//Top Product Seven Variables
var stiTitleSeven = 'Brookstone';
var stiLinkSeven = '/shop/productSearch--itemsPerPage_30__sortBy_0__page_1__locale_en__term_brookstone__gps_1.html';

//Top Product Eight Variables
var stiTitleEight = 'Sony';
var stiLinkEight = '/shop/productSearch--catId_1000007__sortBy_0__locale_en__term_Sony__gps_2.html';


//An Array that contains the code for each top product
var stiProducts = new Array()
stiProducts[0] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="'+stiLinkOne+'"><img src="/ss/i/top_products/1.jpg" alt="Hot Product 1"></a></span><a href="'+stiLinkOne+'">'+stiTitleOne+'</a></span>'

stiProducts[1] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="'+stiLinkTwo+'"><img src="/ss/i/top_products/2.jpg" alt="Hot Product 2"></a></span><a href="'+stiLinkTwo+'">'+stiTitleTwo+'</a></span>'

stiProducts[2] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="'+stiLinkThree+'"><img src="/ss/i/top_products/3.jpg" alt="Hot Product 3"></a></span><a href="'+stiLinkThree+'">'+stiTitleThree+'</a></span>'

stiProducts[3] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="'+stiLinkFour+'"><img src="/ss/i/top_products/4.jpg" alt="Hot Product 4"></a></span><a href="'+stiLinkFour+'">'+stiTitleFour+'</a></span>'

stiProducts[4] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="'+stiLinkFive+'"><img src="/ss/i/top_products/5.jpg" alt="Hot Product 5"></a></span><a href="'+stiLinkFive+'">'+stiTitleFive+'</a></span>'

stiProducts[5] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="'+stiLinkSix+'"><img src="/ss/i/top_products/6.jpg" alt="Hot Product 6"></a></span><a href="'+stiLinkSix+'">'+stiTitleSix+'</a></span>'

stiProducts[6] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="'+stiLinkSeven+'"><img src="/ss/i/top_products/7.jpg" alt="Hot Product 7"></a></span><a href="'+stiLinkSeven+'">'+stiTitleSeven+'</a></span>'

stiProducts[7] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="'+stiLinkEight+'"><img src="/ss/i/top_products/8.jpg" alt="Hot Product 8"></a></span><a href="'+stiLinkEight+'">'+stiTitleEight+'</a></span>';



//An Array that contains the code for each top product within an Ajax Carousel
var stiProductsCarousel = new Array()
stiProductsCarousel[0] = '<li><span class="HotProductWrapper"><a href="'+stiLinkOne+'"><img src="/ss/i/top_products/1.jpg" alt="Hot Product 1"></a></span><a href="'+stiLinkOne+'">'+stiTitleOne+'</a></li>'

stiProductsCarousel[1] = '<li><span class="HotProductWrapper"><a href="'+stiLinkTwo+'"><img src="/ss/i/top_products/2.jpg" alt="Hot Product 2"></a></span><a href="'+stiLinkTwo+'">'+stiTitleTwo+'</a></li>'

stiProductsCarousel[2] = '<li><span class="HotProductWrapper"><a href="'+stiLinkThree+'"><img src="/ss/i/top_products/3.jpg" alt="Hot Product 3"></a></span><a href="'+stiLinkThree+'">'+stiTitleThree+'</a></li>'

stiProductsCarousel[3] = '<li><span class="HotProductWrapper"><a href="'+stiLinkFour+'"><img src="/ss/i/top_products/4.jpg" alt="Hot Product 4"></a></span><a href="'+stiLinkFour+'">'+stiTitleFour+'</a></li>'

stiProductsCarousel[4] = '<li><span class="HotProductWrapper"><a href="'+stiLinkFive+'"><img src="/ss/i/top_products/5.jpg" alt="Hot Product 5"></a></span><a href="'+stiLinkFive+'">'+stiTitleFive+'</a></li>'

stiProductsCarousel[5] = '<li><span class="HotProductWrapper"><a href="'+stiLinkSix+'"><img src="/ss/i/top_products/6.jpg" alt="Hot Product 6"></a></span><a href="'+stiLinkSix+'">'+stiTitleSix+'</a></li>'

stiProductsCarousel[6] = '<li><span class="HotProductWrapper"><a href="'+stiLinkSeven+'"><img src="/ss/i/top_products/7.jpg" alt="Hot Product 7"></a></span><a href="'+stiLinkSeven+'">'+stiTitleSeven+'</a></li>'

stiProductsCarousel[7] = '<li><span class="HotProductWrapper"><a href="'+stiLinkEight+'"><img src="/ss/i/top_products/8.jpg" alt="Hot Product 8"></a></span><a href="'+stiLinkEight+'">'+stiTitleEight+'</a></li>';


//An Array that contains the code for each top product
var stiProductsTelus = new Array()
stiProductsTelus[0] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shopping.mytelus.com'+stiLinkOne+'"><img src="http://shopping.mytelus.com/ss/i/top_products/1.jpg" alt="Hot Product 1"></a></span><a href="http://shopping.mytelus.com'+stiLinkOne+'">'+stiTitleOne+'</a></span>'

stiProductsTelus[1] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shopping.mytelus.com'+stiLinkTwo+'"><img src="http://shopping.mytelus.com/ss/i/top_products/2.jpg" alt="Hot Product 2"></a></span><a href="http://shopping.mytelus.com'+stiLinkTwo+'">'+stiTitleTwo+'</a></span>'

stiProductsTelus[2] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shopping.mytelus.com'+stiLinkThree+'"><img src="http://shopping.mytelus.com/ss/i/top_products/3.jpg" alt="Hot Product 3"></a></span><a href="http://shopping.mytelus.com'+stiLinkThree+'">'+stiTitleThree+'</a></span>'

stiProductsTelus[3] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shopping.mytelus.com'+stiLinkFour+'"><img src="http://shopping.mytelus.com/ss/i/top_products/4.jpg" alt="Hot Product 4"></a></span><a href="http://shopping.mytelus.com'+stiLinkFour+'">'+stiTitleFour+'</a></span>'

stiProductsTelus[4] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shopping.mytelus.com'+stiLinkFive+'"><img src="http://shopping.mytelus.com/ss/i/top_products/5.jpg" alt="Hot Product 5"></a></span><a href="http://shopping.mytelus.com'+stiLinkFive+'">'+stiTitleFive+'</a></span>'

stiProductsTelus[5] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shopping.mytelus.com'+stiLinkSix+'"><img src="http://shopping.mytelus.com/ss/i/top_products/6.jpg" alt="Hot Product 6"></a></span><a href="http://shopping.mytelus.com'+stiLinkSix+'">'+stiTitleSix+'</a></span>'

stiProductsTelus[6] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shopping.mytelus.com'+stiLinkSeven+'"><img src="http://shopping.mytelus.com/ss/i/top_products/7.jpg" alt="Hot Product 7"></a></span><a href="http://shopping.mytelus.com'+stiLinkSeven+'">'+stiTitleSeven+'</a></span>'

stiProductsTelus[7] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shopping.mytelus.com'+stiLinkEight+'"><img src="http://shopping.mytelus.com/ss/i/top_products/8.jpg" alt="Hot Product 8"></a></span><a href="http://shopping.mytelus.com'+stiLinkEight+'">'+stiTitleEight+'</a></span>';



//An Array that contains the code for each top product for AOL
var stiProductsAOL = new Array()
stiProductsAOL[0] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shop2.aol.ca'+stiLinkOne+'"><img src="http://shop2.aol.ca/ss/i/top_products/1.jpg" alt="Hot Product 1"></a></span><a href="http://shop2.aol.ca'+stiLinkOne+'">'+stiTitleOne+'</a></span>'

stiProductsAOL[1] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shop2.aol.ca'+stiLinkTwo+'"><img src="http://shop2.aol.ca/ss/i/top_products/2.jpg" alt="Hot Product 2"></a></span><a href="http://shop2.aol.ca'+stiLinkTwo+'">'+stiTitleTwo+'</a></span>'

stiProductsAOL[2] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shop2.aol.ca'+stiLinkThree+'"><img src="http://shop2.aol.ca/ss/i/top_products/3.jpg" alt="Hot Product 3"></a></span><a href="http://shop2.aol.ca'+stiLinkThree+'">'+stiTitleThree+'</a></span>'

stiProductsAOL[3] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shop2.aol.ca'+stiLinkFour+'"><img src="http://shop2.aol.ca/ss/i/top_products/4.jpg" alt="Hot Product 4"></a></span><a href="http://shop2.aol.ca'+stiLinkFour+'">'+stiTitleFour+'</a></span>'

stiProductsAOL[4] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shop2.aol.ca'+stiLinkFive+'"><img src="http://shop2.aol.ca/ss/i/top_products/5.jpg" alt="Hot Product 5"></a></span><a href="http://shop2.aol.ca'+stiLinkFive+'">'+stiTitleFive+'</a></span>'

stiProductsAOL[5] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shop2.aol.ca'+stiLinkSix+'"><img src="http://shop2.aol.ca/ss/i/top_products/6.jpg" alt="Hot Product 6"></a></span><a href="http://shop2.aol.ca'+stiLinkSix+'">'+stiTitleSix+'</a></span>'

stiProductsAOL[6] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shop2.aol.ca'+stiLinkSeven+'"><img src="http://shop2.aol.ca/ss/i/top_products/7.jpg" alt="Hot Product 7"></a></span><a href="http://shop2.aol.ca'+stiLinkSeven+'">'+stiTitleSeven+'</a></span>'

stiProductsAOL[7] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://shop2.aol.ca'+stiLinkEight+'"><img src="http://shop2.aol.ca/ss/i/top_products/8.jpg" alt="Hot Product 8"></a></span><a href="http://shop2.aol.ca'+stiLinkEight+'">'+stiTitleEight+'</a></span>';


//An Array that contains the code for each top product for AOL
var stiProductsDirect = new Array()
stiProductsDirect[0] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://www.shoptoit.ca'+stiLinkOne+'"><img src="http://www.shoptoit.ca/ss/i/top_products/1.jpg" alt="Hot Product 1"></a></span><a href="'+stiLinkOne+'">'+stiTitleOne+'</a></span>'

stiProductsDirect[1] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://www.shoptoit.ca'+stiLinkTwo+'"><img src="http://www.shoptoit.ca/ss/i/top_products/2.jpg" alt="Hot Product 2"></a></span><a href="'+stiLinkTwo+'">'+stiTitleTwo+'</a></span>'

stiProductsDirect[2] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://www.shoptoit.ca'+stiLinkThree+'"><img src="http://www.shoptoit.ca/ss/i/top_products/3.jpg" alt="Hot Product 3"></a></span><a href="'+stiLinkThree+'">'+stiTitleThree+'</a></span>'

stiProductsDirect[3] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://www.shoptoit.ca'+stiLinkFour+'"><img src="http://www.shoptoit.ca/ss/i/top_products/4.jpg" alt="Hot Product 4"></a></span><a href="'+stiLinkFour+'">'+stiTitleFour+'</a></span>'

stiProductsDirect[4] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://www.shoptoit.ca'+stiLinkFive+'"><img src="http://www.shoptoit.ca/ss/i/top_products/5.jpg" alt="Hot Product 5"></a></span><a href="'+stiLinkFive+'">'+stiTitleFive+'</a></span>'

stiProductsDirect[5] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://www.shoptoit.ca'+stiLinkSix+'"><img src="http://www.shoptoit.ca/ss/i/top_products/6.jpg" alt="Hot Product 6"></a></span><a href="'+stiLinkSix+'">'+stiTitleSix+'</a></span>'

stiProductsDirect[6] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://www.shoptoit.ca'+stiLinkSeven+'"><img src="http://www.shoptoit.ca/ss/i/top_products/7.jpg" alt="Hot Product 7"></a></span><a href="'+stiLinkSeven+'">'+stiTitleSeven+'</a></span>'

stiProductsDirect[7] = '<span class="HotProduct"><span class="HotProductWrapper"><a href="http://www.shoptoit.ca'+stiLinkEight+'"><img src="http://www.shoptoit.ca/ss/i/top_products/8.jpg" alt="Hot Product 8"></a></span><a href="'+stiLinkEight+'">'+stiTitleEight+'</a></span>';


//Function to write the top products depending on the number defined
function stiWriteProducts(n) {
		for (i=0;i<n;i++) {
			document.write(stiProducts[i]);
		}
}

//Function to write the top products depending on the number defined
function stiWriteProductsCarousel(n) {
		for (i=0;i<n;i++) {
			document.write(stiProductsCarousel[i]);
		}
}

//Function to write the top products depending on the number defined
function stiWriteProductsTelus(n) {
		for (i=0;i<n;i++) {
			document.write(stiProductsTelus[i]);
		}
}

//Function to write the top products depending on the number defined
function stiWriteProductsAOL(n) {
		for (i=0;i<n;i++) {
			document.write(stiProductsAOL[i]);
		}
}


//Function for Shaw
function stiWriteProductsDirect(n) {
		for (i=0;i<n;i++) {
			document.write(stiProductsDirect[i]);
		}
}