function switchTab(identify,index,count) {
	for(i=0;i<count;i++) {
		var CurTabObj = document.getElementById("Tab_"+identify+"_"+i) ;
		var CurListObj = document.getElementById("List_"+identify+"_"+i) ;
		if (i != index) {
			CurTabObj.className="downMoney";
			CurListObj.className="downBox";
		}
		else
		{
			CurTabObj.className="upMoney";
			CurListObj.className="upBox";
		}
	}

}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function checkdata(form)
{
	
if (form.character.value == "" )
	{
		alert("Please fill in your Character!");
		form.character.focus();
		return false;
	 }
}

function xbAddFavorite(sTitle, sURL){
if(document.all)
{
window.external.AddFavorite(sURL, sTitle);}
else
{
window.sidebar.addPanel(sTitle, sURL, "");}
}
