$(function() {

				//$("#shift2").hide();
				
				//$("#courcelist a").click(function(){
				//	var shiftcon = $(this).attr("href");
				//	$("#shift1, #shift2").hide();
				//	$(shiftcon).fadeIn("slow");
				//	return false;	
				//	});
							
				$("table tr:last-child").css("border","none");		

				$('#news').innerfade({
						animationtype: 'fade',
						speed: 800,
						timeout: 10000,
						type: 'sequence',
						containerheight: '1em'
						});
						
				
				$("#navi>li>a, #navi ol a, .courcelist li a, .policy_rule a, .policy_policy a, .contact_estimate a, .contact_question a").css("opacity", "0");
				$("#navi>li>a, #navi ol a, .courcelist li a, .policy_rule a, .policy_policy a, .contact_estimate a, .contact_question a").hover(
						function(){
							$(this).fadeTo(300, 1)	
						},
						function(){
							$(this).fadeTo(300, 0)
						}
				
				);
				
				$(".navi_policy_label").toggle(
					function(){
						$(".navi_policy ol").show("slow");
					},
					function(){
						$(".navi_policy ol").hide("slow");
					}
					
				);
				
				$(".navi_contact_label").toggle(
					function(){
						$(".navi_contact ol").show("slow");
					},
					function(){
						$(".navi_contact ol").hide("slow");
					}
					
				);
				
				$(".top_news, .abouttable_wrap, .porttips, .menutip, #cource_standard, #cource_option, .contacttable_wrap, .estimatetable_wrap").corner("5px");
				
				$(".portGallery").ImageOverlay();
							
				$("form").jqTransform({imgPath:"/formimg/"});
				
				if($('#contact').hasClass('check')){
					$('div.buttoncon,div.mail_post').show();
					$('div.mail_preview').hide();
				}
				if($('#estimate').hasClass('check')){
					$('div.buttoncon,div.mail_post').show();
					$('div.mail_preview').hide();
				}
});


