Image1 = new Image()
Image1.src = "Images/White.gif"

/*
function ChangeFAQCSS(el)
{
	//Get a collection of <a> tags.
	var sColl = document.getElementsByTagName('a');
		
	for(var i = 0;i < sColl.length; i++)
	{
		if(sColl.id != null)
		{
			if(sColl.id.substring(1, 3) == "nav")
				sColl.className = "";
		}
	}

	//Now change the <a> that has been passed to the function.
	el.className = "Selected";
}
*/

function PopUp(sFileName, sWinName ,sDetails) 
{
     window.open(sFileName,sWinName,sDetails).focus();
}

function DisplayImage(bBackground)
{
	var DateNow = new Date();
	var nDay = DateNow.getDay();
	var nHour = DateNow.getHours();
	nHour = nHour + 1;
	
	var ImageURL;
	
	if(bBackground)
		ImageURL = "Images/Intro/" + nDay + "_" + nHour + "b" + ".jpg";
	else
		ImageURL = "Images/Intro/" + nDay + "_" + nHour + ".jpg";

	document.getElementById('tdBackground').style.backgroundImage = 'url(' + ImageURL + ')';
}

function ChangeThumbPic(whichPic)
{
	var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;	
	var isMac = (navigator.appVersion.indexOf("PowerPC") != -1) ? true : false; 

	if (isIE && isMac)
	{
		//do nothing
	}
	else
	{
		var myContent = '<IMG SRC="' + whichPic + '" NAME="myimagename" HEIGHT="248" WIDTH="300">';
		
		// IE 4+
		if (document.all) 
		{
			// Display image.
			myThumb.innerHTML = myContent;
		}
		
		// NN 6+ new DOM
		else if (document.getElementById)
		{
			rng = document.createRange();
			el = document.getElementById("myThumb");
			rng.setStartBefore(el);
			htmlFrag = rng.createContextualFragment(myContent);
			
			while (el.hasChildNodes())
				el.removeChild(el.lastChild);
				el.appendChild(htmlFrag);
		}
		
		// NN 4
		else if (document.layers)
		{

		}
	}
}