// 匯入相關資訊
function other(type){
	if(location.href.match("otherinfo")){
		ad = file("../other.txt");
	}else{
		ad = file("other.txt");
	}
	var taipaihtml = "" ;
		switch(type){
			case "contact" :
				out = ad[0].split("|") ;
				taipaihtml = out[1] ;
			break ;
			case "speak" :
				out = ad[1].split("|") ;
				taipaihtml = out[1] ;
			break ;
			case "lv" :
				out = ad[2].split("|") ;
				taipaihtml = out[1] ;
			break ;
			case "ad" :
				out = ad[3].split("|") ;
				taipaihtml = out[1] ;
			break ;
		}

	$(function(){
		switch(type){
			case "ad" :
				$("#text").html(taipaihtml);
			break ;
			default :
				$("#intro_right").html(taipaihtml);
			break ;
		}
	});


	$(function(){
		switch(type){
			case "contact" :
				$("#where").html("聯絡我們");
			break ;
			case "speak" :
				$("#where").html("免責聲明");
			break ;
			case "lv" :
				$("#where").html("排名查詢");
			break ;
		}
	});


$(function () {
	var htmlStr = $("#logo").html();
	$("#logo").html(htmlStr);
});



}

