﻿$(function(){
  $('#spfl').addClass('hover1');
  $('#helpq').mouseover(function(){
	 $('#help').show();						   
  });
  $('#helpq').mouseout(function(){
	 $('#help').hide();						
  });
  $('#flh').mouseover(function(){
	$('#xilb').addClass('xilb1');	
  });
  $('#xilb').hover(
	 function(){
		$(this).addClass('xilb1');
     },function(){
		$(this).removeClass('xilb1'); 
  });
  $('.lb li').each(function(){
	var txt=$(this).text();
    $(this).hover(
	  function(){
	    $(this).addClass('hov2').siblings().removeClass('hov2');
	  },function(){
		$(this).removeClass('hov2').siblings().removeClass('hov2');
	}).click(function(){
		$('#flh h3').text(txt);
		$('#xz').val(txt);
		$('#mdinp').focus();
		
		var act  = $(this).attr("ectype");
    $("#inp_02").val(act);
	});
  });
  $('.menu li').each(function(){
	 var ind=$(this).parent().children().index(this)>12?12:$(this).parent().children().index(this);
     var n='dw'+ind;
	 $(this).hover(
	  function(){
		$(this).addClass('hover').siblings().removeClass('hover');
		$(this).children('div').addClass(n).show();
	  },function(){
		$(this).removeClass('hover');
		$(this).children('div').hide();
	  });						  
  });
  $('.detail').hover(
	function(){
	  $(this).addClass('hov1').children('a').css('color','#FF6600');
	},function(){
	  $(this).removeClass('hov1').children('a').css('color','#33CC00');
  });
  $('#spfl').mouseover(function(){
	$(this).addClass('hover1').siblings().removeClass('hover1');
	$('#menu1').show();
    $('#menu').hide();
  });
  $('#dpfl').mouseover(function(){
	$(this).addClass('hover1').siblings().removeClass('hover1');
	$('#menu').show();
    $('#menu1').hide();
  });
  
  $('#cycle').cycle({
   pager:'#pagers',
   pagerEvent: 'mouseover',
   fastOnEvent: true
  });
  $('.list_pic li,.particular li').hover(function(){$(this).addClass('hove');},function(){$(this).removeClass('hove');});
});




