//Universal Functions for tabs that appear on many pages.

function SetUnActive(root){
	document.getElementById(root+'_Tab').style.backgroundImage='url(images/tab_unactive_bg.gif)';
	document.getElementById(root+'_Tab_right').style.backgroundImage='url(images/tab_unactive_right.gif)';
	document.getElementById(root+'_Tab').style.textDecoration='underline';
	document.getElementById(root+'_Tab').style.backgroundColor='#999999'
	document.getElementById(root+'_Tab_right').style.backgroundColor='#999999'
}
function SetActive(root){
	document.getElementById(root+'_Tab').style.backgroundImage='url(images/TestTabs_bg.gif)';
	document.getElementById(root+'_Tab').blur(); //prevents FF from drawing a box around the tab
	document.getElementById(root+'_Tab_right').style.backgroundImage='url(images/TestTabs_right.gif)';
	document.getElementById(root+'_Tab').style.textDecoration='none';
	document.getElementById(root+'_Tab').style.backgroundColor='#990000'
	document.getElementById(root+'_Tab_right').style.backgroundColor='#990000'
}
