$(function() {
  $('#banner').cycle({ 
				fx: 'fade', 
				delay: 1000 
  });

  $('#products_show').cycle({ 
				fx: 'scrollRight', 
				cssBefore: {  
							left: 0,  
							top:  0, 
							width:127,
							height:87,
							opacity: 1,
							zIndex: 1 
				}, 
				animOut: {
							width:60,
							height:30,
							opacity: 0  
				}, 
				animIn: { 
							width:60,
							height:30,
							opacity: 0
				}, 
				cssAfter: {  
							width:127,
							height:87,
							zIndex: 0, 
							opacity: 0
				}, 
						delay: -3000 

  });
  $('#products_show > img').click(function (){
    var link=$(this).attr('linkto');
	if(typeof link=="string")
	  {window.location=link;}
  })


  $('#news_camp_t').click(
				function (){
				$(this).fadeOut();
				$('#news_info_t').fadeIn();
				$('#news_camp').fadeIn("slow");
				$('#news_info').fadeOut();
				return false;
				}
   );
  $('#news_info_t').click(
				function (){
				$(this).fadeOut();
				$('#news_camp_t').fadeIn();
				$('#news_info').fadeIn("slow");
				$('#news_camp').fadeOut();
				return false;
				}
   );

   $('#contact_us>ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' } });

   $(".box01>select").change(function (){
	    $(this).siblings().text($(this).val())
   });

   $('.myselectbox').selectbox();
   $('.box02>select').change(function (){
    window.location=$(this).val()
   })
});


