var wow = new WOW(
{
boxClass:'animated'}
);
wow.init();
$(function(){
$('.banner').flexslider();
});
$(function(){
$(".case").jCarouselLite({scroll:1,speed:1500,btnNext:".next",btnPrev:".prev"});
});
$(function(){
$("#goleft").imgscroll({speed: 40,amount: 0,width: 1,dir: "left"});
});
$(document).ready(function() {
$(".touch-toggle a").click(function(event) {
var className = $(this).attr("data-drawer");
if ($("." + className).css('display') == 'none') {
$("." + className).slideDown().siblings(".drawer-section").slideUp();
} else {
$(".drawer-section").slideUp();
}
event.stopPropagation();
});
/*$(document).click(function(){
$(".drawer-section").slideUp();
})*/
$('.touch-menu a').click(function() {
if ($(this).next().is('ul')) {
if ($(this).next('ul').css('display') == 'none') {
$(this).next('ul').slideDown();
$(this).find('i').attr("class", "touch-arrow-up");
} else {
$(this).next('ul').slideUp();
$(this).next('ul').find('ul').slideUp();
$(this).find('i').attr("class", "touch-arrow-down");
}
}
});
});