// JavaScript Document
$(document).ready(function(){
						   						   
if($("ul.wedding_jsul li").size()>0)

{
	
$("ul.wedding_jsul").tabs(".wedding_js > div", {effect: 'fade',loop:true,fadeOutSpeed: "fast",rotate: true}).slideshow({autoplay:true,interval: 3000});

}

$(".wedding_js").scrollable({size:1,items:".wedding_js ul",loop:true}).autoscroll({ autoplay: true,interval:4000 }).navigator({navi:".wedding_jsul",naviItem:"a",activeClass:"current"});

$(".service .service_js").scrollable({size:1,items:".service .service_js ul",loop:true,prev:".service_next",next:".service_prev"}).autoscroll({ autoplay: true,interval:3000 });

$(".left_showcase .left_showcaseul").scrollable({size:1,items:".left_showcase .left_showcaseul ul",loop:true,prev:".showcase_next",next:".showcase_prev"}).autoscroll({ autoplay: true,interval:3000 });

$(".contenter_fire .contenter_firejs").scrollable({size:4,items:".contenter_fire .contenter_firejs ul",loop:true,prev:".fire_next",next:".fire_prev"}).autoscroll({ autoplay: true,interval:4000 });

if($("ul.headerjs_ul li").size()>0)

{
	
$("ul.headerjs_ul").tabs(".headerjs_flash > div", {effect: 'fade',loop:true,fadeOutSpeed: "fast",rotate: true}).slideshow({autoplay:true,interval: 4000});

}

$(".headerjs_flash").scrollable({size:1,items:".headerjs_flash ul",loop:true}).autoscroll({ autoplay: true,interval:4000 }).navigator({navi:".headerjs_ul",naviItem:"a",activeClass:"current"});

$(".contenter_caseinbom").scrollable({size:1,items:".contenter_casejs ul",loop:true}).autoscroll({ autoplay:true,interval:4000}).navigator({navi:"ul.navi",naviItem:"li",activeClass:"current"});



 $("ul.nav li.n1").hover(function(){
								 
								 
				$(this).find("i").stop().animate({top:"-26px"});
				
				$(this).find("span").stop().animate({top:"0px"});
				
				$(this).find("ul").stop(true,true).slideDown("123");
				
								 
								 },function(){
									 
				$(this).find("i").stop().animate({top:"0px"});
				
				$(this).find("span").stop().animate({top:"26px"});		
				
				$(this).find("ul").stop(true,true).slideUp("123");
									 
									 })


  })


