function changeTDBackground(id, newColor)
{
	var tdToChange = document.getElementById[id];
	alert(tdToChange);
	tdToChange.style.background = newColor;
}

function leftnav_over(link)
{
	document.getElementById[link + "_link"].style.color = "#000000";
}

function leftnav_off(link)
{
	document.all[link + "_link"].style.color = "#999999";
}

function imageOver(imageName)
{
	document.images[imageName].src = "images/" + imageName + "_over.gif";
}

function imageOff(imageName)
{
	document.images[imageName].src = "images/" + imageName + ".gif";
}

function navigationText(text)
{
	document.all['navigation_text'].innerHTML = text;
}

function openInfoPopout(url)
{
	nameW='_180designs_window'
	height = 500;
	width = 400;

	if (navigator.appVersion.indexOf('4') != -1) {
 		// Vars for centering the new window on Version 4 Browsers
 		xTop = screen.width/2 - (width/2);
 		yTop = screen.height/2 - (height/2);
 		window.open(url, nameW, 'height='+height+',width='+width+',scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=' + xTop + ',top=' + yTop + '');
	} else {
 		window.open(url, nameW, 'height='+height+',width='+width+',scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=150,top=200');
 	}

}

function newWindow(url) {
	nameW='_180designs_window'
	height = 800;
	width = 1000;

	if (navigator.appVersion.indexOf('4') != -1) {
 		// Vars for centering the new window on Version 4 Browsers
 		xTop = screen.width/2 - (width/2);
 		yTop = screen.height/2 - (height/2);
 		window.open(url, nameW, 'height='+height+',width='+width+',scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=' + xTop + ',top=' + yTop + '');
	} else {
 		window.open(url, nameW, 'height='+height+',width='+width+',scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=150,top=200');
 	}
}


