<!-- 
function submenu(n)
{
  if (document.all)
	{
		document.all['submenu'+n].style.display = (document.all['submenu'+n].style.display == 'none') ? 'block' : 'none';
	}	
	else if (document.getElementById)
	{
	  document.getElementById('submenu'+n).style.display = (document.getElementById('submenu'+n).style.display == 'none') ? 'block' : 'none';
	}	
}

function bookmark(url, title){
	if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url,"");
	} else if( window.external ) { // IE Favorite
		window.external.AddFavorite( url, title); }
	else if(window.opera && window.print) { // Opera Hotlist
//		return true; 
	}
}

function OpenWin(url,name,width,height,param) {
	var left = 0;
	var top = 0;
	if (window.innerWidth != undefined) {
		left = (window.innerWidth/2) - width/2;
		top = (window.innerHeight/2) - height/2;
	} else if (window.screen) {
		left = (window.screen.availWidth/2) - width/2;
		top = (window.screen.availHeight/2) - height/2;
	}
	var cfg = ",width=" + width + ",height=" + height + ",left=" + left + ",top=" + top;
	window.open(url,name,param + cfg);
}
//-->

