


	$(document).ready(function() {
		
		
		
		if($.browser.msie && (jQuery.browser.version=="6.0")){
			
			layoutAdj(440);
			window.onresize = function () {
				layoutAdj(440)
			}
			
			
		} else {
			layoutAdj(440);
			window.onresize = function () {
				layoutAdj(440)
			}
				
		}
		
		
		
		function layoutAdj($_adjHeight) {
		
			
			
			$_win_width=$(window).width();
			//alert($_win_width);
			if ($_win_width<938) {
				$("#footer_wrap").css("width",'938px');
			} else {
				$("#footer_wrap").css("width",'100%');
			}
		
		
			$_win_height=$(window).height();
			$_win_height = $_win_height - parseInt($_adjHeight, '10');
			//alert($_win_height + "," + $("#true_content").height());
			
			
			if ($_win_height>$("#true_content").height()+74) {
				$("#true_content_wrap, #true_left_area").css("height",$_win_height-37);
				//$("#left_area").html("Greater : " + $_win_height + "," + $("#true_content").height());
				
			} else {
				$("#true_content_wrap, #true_left_area").css("height",$("#true_content").height()+37);
				//$("#left_area").html($_win_height + "," + $("#true_content").height());
			}
		}
		
		
		
		
		
		
		Cufon.replace('h2, #content_site_link a, .gothic, h3.theH3, b.thsword');
		
		Cufon('#navigation_area a.noneActNavi', {
			
			hover: {
				textShadow: '1px 1px black',
				color: '#CCCCCC'
			}
		});
		
		
		

		
		Cufon('#navigation_area a.actNavi', {
			textShadow: '1px 1px black',
			color: '#CCCCCC',
			hover: {
				textShadow: '1px 1px black',
				color: '#CCCCCC'
			}
		});
		

		
		
		

		
		//This to kill IE link dotted outline
		$('a').focus(function(){ this.blur();} );
		
		
		
	
	});



