<!--

function pageLoad()
{
	dropDownFix();	

	if (document.images)
    	{
      		pio = new Image();
      		img = new Array();
      		img[0] = "Pictures/Chimney/Chimney11.jpg";
      		img[1] = "Pictures/Chimney/Chimney12.jpg";
      		img[2] = "Pictures/Chimney/Chimney13.jpg";
      		img[3] = "Pictures/Chimney/Chimney14.jpg";
      		img[4] = "Pictures/Chimney/Chimney15.jpg";
      		img[5] = "Pictures/Chimney/Chimney16.jpg";
      		img[6] = "Pictures/Chimney/Chimney21.jpg";
      		img[7] = "Pictures/Chimney/Chimney22.jpg";
      		img[8] = "Pictures/Chimney/Chimney23.jpg";
      		img[9] = "Pictures/Chimney/Chimney24.jpg";

       		for(var i=0; i<=9; i++)
		{
         		pio.src = img[i];
		}
    	}
}

function switchTV(tv, n)
{

	document.getElementById('brooksTVimage').src = 'tvLogo.jpg';

	if(n <= 5){
		document.getElementById('thumbs').style.width = String(n * 140) + 'px';
	}
	else{
		document.getElementById('thumbs').style.width = '700px';
	}	

	var str = "";

	for(var i=1; i<=n; i++)
	{
		str += "<a class='thumbLink' title='"
				+ tv + " " + String(i) + 
							"'><img id='thumb"
				+ String(i) + 
							"' alt='"
				+ tv + " " + String(i) + 
							"' src='Pictures/Chimney/"
				+ tv + String(i) + 
							".jpg' width='138px' height='92px' onmouseOver=\"channelChange('"
				+ String(i) + 
							"', false)\" /></a>";
	}

	document.getElementById('thumbs').innerHTML = str;

}




//-->