$(document).ready(function() {



$('#banner .inner:eq(1)').addClass("second")


//$('#banner .inner:eq(1)').css('border', 'solid 2px red');
$('#banner .inner:eq(1)').addClass("second")

    $('.faqs dd').hide(); // Hide all DDs inside .faqs
    $('.faqs dt').hover(function() { $(this).addClass('hover') }, function() { $(this).removeClass('hover') }).click(function() { // Add class "hover" on dt when hover
        $(this).next().slideToggle('normal');
        $(this).toggleClass('open'); // Toggle dd when the respective dt is clicked
    });


    if ($("#gallery li a").length != 0) {
    $("#gallery li a").lightBox();
}



if (querySt()) {
    $('a').each(function() {
        if (this.href.indexOf("Innovata-llc") == -1 && this.href.indexOf("javascript") == -1)   {

            var a = new RegExp('/' + window.location.host + '/');
            if (!a.test(this.href)) {
                $(this).click(function(event) {
                    event.preventDefault();
                    event.stopPropagation();
                    window.open(this.href, '_blank');
                });
            }
        }
    });
}

});

function querySt() {
    var hu = window.location.href;


    if (hu.indexOf("cmspagemode") > -1) {

        return false;

    }


    return true;
}


