
jQuery(document).ready(function() {
	if(jQuery.cookie("css")) {
		jQuery("link#js_fontStyle").attr("href",jQuery.cookie("css"));
	}

	jQuery("#fontsize a").click(function() {
        jQuery("link#js_fontStyle").attr("href",jQuery(this).attr('rel'));
        jQuery.cookie("css",$(this).attr('rel'), {expires: 365, path: '/'});
        return false;
    });
});




jQuery(document).ready(function(){
	jQuery('.lNav > li,.lNav2 > li').hover(
		function(){
			jQuery(this).addClass('lNav_hover');
		},
		function(){
			jQuery(this).removeClass('lNav_hover');
		}
	);

	jQuery('.lNav > li.lNavGrp,.lNav2 > li.lNav2Grp').hover(
		function(){
			jQuery(this).addClass('lNavG_hover');
		},
		function(){
			jQuery(this).removeClass('lNavG_hover');
		}
	);
});




jQuery(document).ready(function() {
	RollOver();
});




/* プリントボタン対応 */


function disableStyle() {
	var link = document.getElementById("js_printStyle");
	link.disabled = false;
	window.print();
	link.disabled = true;
}
window.onload = function() {
	if(document.getElementById("js_printStyle")){
		var link = document.getElementById("js_printStyle");
		link.disabled = true;
		if (document.getElementById("btnPrint")){
			document.getElementById("btnPrint").onclick = disableStyle;
		}
	}
}

