function HideUnhideSection(varUnhide,varCurrentTab)
{
	if (document.getElementById("divDefault") != null)
	{
		document.getElementById("divDefault").style.display = "none";
		document.getElementById("tabDefault").className = "active";
	}
	if (document.getElementById("divSectionOne") != null)
	{
		document.getElementById("divSectionOne").style.display = "none";
		document.getElementById("tabOne").className = "active";
	}
	if (document.getElementById("divSectionTwo") != null)
	{
		document.getElementById("divSectionTwo").style.display = "none";
		document.getElementById("tabTwo").className = "active";
	}
	if (document.getElementById("divSectionThree") != null)
	{
		document.getElementById("divSectionThree").style.display = "none";
		document.getElementById("tabThree").className = "active";
	}
	if (document.getElementById("divSectionFour") != null)
	{
		document.getElementById("divSectionFour").style.display = "none";
		document.getElementById("tabFour").className = "active";
	}
	if (document.getElementById("divSectionFive") != null)
	{
		document.getElementById("divSectionFive").style.display = "none";
		document.getElementById("tabFive").className = "active";
	}
	if (document.getElementById("divSectionSix") != null)
	{
		document.getElementById("divSectionSix").style.display = "none";
		document.getElementById("tabSix").className = "active";
	}
	if (document.getElementById("divSectionSeven") != null)
	{
		document.getElementById("divSectionSeven").style.display = "none";
		document.getElementById("tabSeven").className = "active";
	}
	if (document.getElementById("divSectionEight") != null)
	{
		document.getElementById("divSectionEight").style.display = "none";
		document.getElementById("tabEight").className = "active";
	}
	if (document.getElementById("divSectionNine") != null)
	{
		document.getElementById("divSectionNine").style.display = "none";
		document.getElementById("tabNine").className = "active";
	}
	if (document.getElementById("divSectionTen") != null)
	{
		document.getElementById("divSectionTen").style.display = "none";
		document.getElementById("tabTen").className = "active";
	}
	document.getElementById(varUnhide).style.display = "block";
	document.getElementById(varCurrentTab).className = "current";
}

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function WM_preloadImages()
{
	/*
	WM_preloadImages()
	Loads images into the browser's cache for later use.

	Source: Webmonkey Code Library
	(http://www.hotwired.com/webmonkey/javascript/code_library/)

	Author: Nadav Savio
	Author Email: nadav@wired.com

	Usage: WM_preloadImages('image 1 URL', 'image 2 URL', 'image 3 URL', ...);
	*/

	// Don't bother if there's no document.images
	if (document.images) {
		if (typeof(document.WM) == 'undefined'){
		document.WM = new Object();
		}
		document.WM.loadedImages = new Array();
		// Loop through all the arguments.
		var argLength = WM_preloadImages.arguments.length;
		for(arg=0;arg<argLength;arg++) {
		// For each arg, create a new image.
		document.WM.loadedImages[arg] = new Image();
		// Then set the source of that image to the current argument.
		document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
		}
	}
}
