// JavaScript Document

function LoadFlash(url,wmode,width,Height,param)
{ 
document.write(
  '<embed src="' + url + '" FlashVars="'+param+'" wmode=' + wmode +
  ' quality="high" pluginspage=http://www.macromedia.com/go/getflashplayer type="application/x-shockwave-flash" width="' + width + 
  '" height="' + Height + '"></embed>');   
}
function jump2Url(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
var aTab=new Array;
aTab[0]='all';
aTab[1]='n1';
function showTab(id,t)
{
	var o=document.getElementById(id);
	var c=document.getElementById(id+'_content');
	document.getElementById(aTab[t]).className = "";
	document.getElementById(aTab[t]+'_content').style.display = "none";
	aTab[t]=id;
	o.className = "on";
	c.style.display = "block";
}
window.onload=function(){
try
{
		var u=window.location.href.toLowerCase();
		var v=document.getElementById("mainNav").getElementsByTagName('a');
		for (var j=0;j<v.length;j++) if (v[j].href!="http://"+document.domain+"/" && u.indexOf(v[j].href)!=-1) v[j].parentNode.className="on";
		}
		catch(e)
		{}	}