function getNum(num){
	var n=num.toString();
	var str="";
	for(var i=0,len=n.length;i<len;i++){
		str+='<span class="n'+n.substr(i,1)+'"></span>';
	}
	return str;
}
function bookmark(title, url){
if (document.all) {window.external.AddFavorite(url, title)}
else {if (window.sidebar) window.sidebar.addPanel(title, url, "")}
}
function show(){
	return true;
	/*
	document.getElementById("contents").style.background="url(/css/img/con_bg.jpg) repeat-y center top";
	document.getElementById("cont_top").style.background="url(/css/img/con_top.jpg) no-repeat left top";
	document.getElementById("cont_btm").style.background="url(/css/img/con_btm.jpg) no-repeat left bottom";
	try{document.getElementById("top_info").style.display="block";}catch(e){}
	try{document.getElementById("page_top").style.display="block";}catch(e){}
	try{document.getElementById("page").style.display="block";}catch(e){}
	try{document.getElementById("map").style.display="block";}catch(e){}
	try{document.getElementById("img_list").style.display="block";}catch(e){}
	try{document.getElementById("server").style.display="block";}catch(e){}
	try{document.getElementById("city").style.display="block";}catch(e){}
	*/
}
$("doc").ready(function(){
	var _server=$("#server_name");
	var _table=$("#server div.tab");
	_server.find("a").click(function(e){
		e.preventDefault();
		if($(this).is(".here")){return;}
		_server.find("a.here").removeClass("here");
		this.className="here";
		_table.filter(".here").removeClass("here");
		_table[_server.find("a").index(this)].className="tab here";
	});
	_table.find("tbody tr").hover(function(){$(this).css("backgroundColor","#ddad41");},function(){$(this).css("backgroundColor","transparent");});
	var _city=$("#city ul");
	_city.eq(2).css("backgroundImage","none");
	_city.find("li").hover(function(){$(this).css({"backgroundColor":"#3b3b3b","border":"1px solid #786050","width":"190px","height":"22px","lineHeight":"22px"});},function(){$(this).css({"backgroundColor":"transparent","border":"0","width":"100%","height":"24px","lineHeight":"24px"});});
	$("#region").find("li").hover(function(){this.style.backgroundColor="#240a00";},function(){this.style.backgroundColor="transparent";});
});