function swapDescription(show,totDesc) {
	if (document.getElementById) {

		for (x=1; x<=totDesc; x++) {
			descName="Description"+x;
			desctabstr="desctab"+x;
			if(x==show)
			{
				showString = 'inline'; 
				txtcolor = '#ffffff';
			}
			else
			{
				showString = 'none'; 
				txtcolor = '#000000';
			}

			if (document.getElementById)
			{
				document.getElementById(descName).style.display = showString;
				document.getElementById(desctabstr).style.color = txtcolor;
			}
			else if (document.all)
			{
				theLayer = document.all.descName;
				theLayer.style.display = showString;
				theLayer.style.color = txtcolor;
			}
		}
	}
}

function swapTabImages(selTabImg,totTabImgs){

    for (x=1; x<=totTabImgs; x++) {
		tabImgName1="tab_light"+x+"1";
		tabImgName2="tab_light"+x+"2";
		descTabName="desctab"+x

		if(x==selTabImg)
		{ 
			document.images[tabImgName1].src = "images/tab-dark1.jpg";
			document.images[tabImgName2].src = "images/tab-dark2.jpg";
			document.getElementById(descTabName).style.backgroundImage = 'url(images/tab-dark-bkg.jpg)'; //backImage[1];
		}
		else
		{ 
			document.images[tabImgName1].src = "images/tab-light1.jpg";
			document.images[tabImgName2].src = "images/tab-light2.jpg";
			document.getElementById(descTabName).style.backgroundImage = 'url(images/tab-light-bkg.jpg)'; //backImage[0];
		}
    }
}

