// JavaScript Document
<!--
$(document).ready(function () {
	$('#nav_hm').hover(//home
	  function () {$('#nav_hm').html('首頁');},
	  function () {//mouseout
	  	$('#nav_hm').html('Home');
	  }
	);
	$('#nav_na').hover(//New Arrival
	  function () {$('#nav_na').html('新品上市');},
	  function () {//mouseout
	  	$('#nav_na').html('New Arrival');
	  }
	);
	$('#nav_dr').hover(//Dress
	  function () {$('#nav_dr').html('正裝系列');},
	  function () {//mouseout
	  	$('#nav_dr').html('Dress');
	  }
	);
	$('#nav_cs').hover(//Casual
	  function () {$('#nav_cs').html('休閒系列');},
	  function () {//mouseout
	  	$('#nav_cs').html('Casual');
	  }
	);
	$('#nav_ac').hover(//Accessory
	  function () {$('#nav_ac').html('配件系列');},
	  function () {//mouseout
	  	$('#nav_ac').html('Accessory');
	  }
	);
	$('#nav_ne').hover(//New
	  function () {$('#nav_ne').html('最新消息');},
	  function () {//mouseout
	  	$('#nav_ne').html('News');
	  }
	);
	$('#nav_ui').hover(//Uniform
	  function () {$('#nav_ui').html('團體服裝');},
	  function () {//mouseout
	  	$('#nav_ui').html('Uniform');
	  }
	);
	$('#nav_ma').hover(//Member Area
	  function () {$('#nav_ma').html('會員專區');},
	  function () {//mouseout
	  	$('#nav_ma').html('Member Area');
	  }
	);
	$('#nav_sr').hover(//Service
	  function () {$('#nav_sr').html('服務據點');},
	  function () {//mouseout
	  	$('#nav_sr').html('Service');
	  }
	);
	//抓瀏覽器的名稱
	/*var appname = navigator.appName.toLowerCase();
	if (appname.indexOf("netscape") == -1) {
    //ie
		$('#bgb').bind("readystatechange"
		 , {}
		 , IEBrower);
	} else {
	//firefox
		$('#bgb').bind("load"
		 , {}
		 , FFBrower);
	}
	
	function IEBrower(event) {
		if (this.readyState == "complete") {
			$(this).fadeIn(2000);
		}
	}
	//當瀏覽器為Firefox時，當圖片complete狀態為true時才執行動作
	function FFBrower(event) {
		if (this.complete == true) {
		   $(this).fadeIn(2000);
		}
	}*/
	$('#bgb').fadeIn(2000);
});
function ohb(str){
	$("a[id^="+ str +"]").toggle(100);
	return false;
}
function orderpaper() {
	course = prompt("請輸入訂閱Email：", "");
	if (course != null)
		location.href = _Web_Url + 'index.php/web/addepaper/' + encodeURIComponent(course);
}
//-->
