function change(id, newClass) {
	identity=document.getElementById(id);
	identity.className=newClass;
}

function preload(imgObj,imgSrc)
{
	eval(imgObj+' = new Image()')
	eval(imgObj+'.src = "'+imgSrc+'"')
}

function preloadHubTitles(imgId, imageName, imageRoot)
{
	if (document.images)
	{
		imageOn = imageRoot + 't_' + imageName + '_on.gif';
		imageOff = imageRoot + 't_' + imageName + '_off.gif';
		preload(imgId + 'Off', imageOff);
		preload(imgId + 'On', imageOn);
	}
}

function onHoverHub(imgId)
{
	imageOn = imgId + 'On';
	document.images[imgId].src = eval(imageOn+".src");
	}
function offHoverHub(imgId)
{
	imageOff = imgId + 'Off';
	document.images[imgId].src = eval(imageOff+".src");
	window.status='';
}
function onHoverSubHubPage(cellId, linkId) {

	change(cellId,'smSubHubPageHover');
	change(linkId,'smHover');

	}
	function offHoverSubHubPage(cellId, linkId) {
	change(cellId,'smSubHubPage');
	change(linkId, 'sm');
	window.status='';
}
function onHoverPage(cellId, linkId) {

	change(cellId,'smPageHover');
	change(linkId,'smHover');
		}
	function offHoverPage(cellId, linkId) {
	change(cellId,'smPage');
	change(linkId, 'sm');
	window.status='';
}