﻿// JavaScript Document
function autoHeight() {
	var $navH = $('#subnav').outerHeight(true),
		$contentH = $('#contant').outerHeight(true);
	if ($navH <= $contentH) {
		$('#contant, #subnav').height($('#wrap').outerHeight(true) - 125);
	}
	
}

$(window).load(function() {
	autoHeight();						
});
/* if ($.browser.msie && $.browser.version == 6.0) {  
 alert("您使用的ie6瀏覽器將被淘汰。建議您至微軟官方網站更新ie版本。"); 
 window.open('http://www.microsoft.com/taiwan/windows/internet-explorer/worldwide-sites.aspx');
}*/
