// JavaScript Document
(function(){window.setting={styling:" .fontS {font-size:100%;} .fontM {font-size:118%;} .fontL {font-size:136%;}#fontChange {_overflow:hidden;_zoom:1;}#fontChange li{float:left;display:block;font-size:12px;width:18px;height:18px;padding:0px;text-align:center;line-height:18px;margin-right:5px;margin-top:2px;border:1px solid #ccc;-moz-box-shadow: 1px 1px 1px #666;-webkit-box-shadow: 1px 1px 1px #666;text-shadow: 1px 1px 1px #ccc;background:-webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f0f0f0)); background: -moz-linear-gradient(top, #ffffff, #f0f0f0);}#fontChange li:hover{background-color:#333;color:#fff;cursor:pointer;background:-webkit-gradient(linear, left top, left bottom, from(#999), to(#333)); background: -moz-linear-gradient(top, #999, #333);}#fontChange li#fontM {font-size:15px;width:20px;height:20px;padding:1px;}#fontChange li#fontL {font-size:18px;width:22px;height:22px;padding-top:2px;}"}; 
if(setting.styling){var a=document.createElement("style"),b=document.getElementsByTagName("head")[0];a.type="text/css";try{a.appendChild(document.createTextNode(setting.styling))}catch(c){if(a.styleSheet)a.styleSheet.cssText=setting.styling}b.appendChild(a)}})();
jQuery(function($){
	var history = $.cookie('fontSize');
	var elm = $('#contentsBox');
	(!history)? elm.addClass('fontS'):elm.addClass(history);
	$('li','#fontChange').click(function(){
		var setFontSize = this.id;
		$.cookie('fontSize', setFontSize);
		elm.removeClass().addClass(setFontSize);
	});
});
