<!--

	function init()
	{
	}	
  
	function ss(w,id){window.status=w;return true;}
	function cs(){window.status='';}

	function addFavs()
	{
		var url=document.location.href;
		var title=document.title;
		if (document.all) {
			// i.e.
			window.external.AddFavorite(url, title);
		} else if (window.sidebar) {
			// ns6 & mozilla
			window.sidebar.addPanel(title, url, "");
		}
	}
function show_hide(msg_id){
msg_id.style.visibility=msg_id.style.visibility=="hidden" ? "visible" : "hidden"
}

function getTheLeft()
{
	var l=0;
	l=document.body.offsetWidth; //get width of window according to resolution
	l-=740; // take off width of outer table
	l/=2; // devide by 2 to get left position of outer table
	return l;
}

	
	
	function getIndexFromId(id)
	{
		for(i=0; i<subcats.length; i++)
		{
			if(subcats[i][0] == id)
				return i;
		}
		return -1;
	}

//-->