﻿$(document).ready(function() {
    $('ul.sf-menu').superfish({
        delay: 0,
        autoArrows: false,
        dropShadows: false,
        opacity: 'show',
        speed: 'fast'
    });

    $('ul.sf-menu:first > li:eq(1)').attr('style', 'background:#3a7002;border-left:1px solid #000;');
    $('ul.sf-menu:first > li:eq(2) a:first').attr('style', 'color:#000;');
    $('ul.sf-menu:first > li:eq(3) a:first').attr('style', 'color:#000;');
    $('ul.sf-menu:first > li:eq(4) a:first').attr('style', 'color:#000;background:#f4f6c5;');
    $('ul.sf-menu:first > li:eq(6) a:first').attr('style', 'padding-top:2px;padding-bottom:3px;');

    // document.getElementById("query").value = "zoekwoord";

    var iAantal = $('table.customTable').length;

    if (iAantal) {

        $('table.customTable tr td').addClass('tableModeldefault');

        for (var x = 0; x <= iAantal; x++) {
            $('table.customTable:eq(' + x + ') tr:first td').removeClass('tableModeldefault');
            $('table.customTable:eq(' + x + ') tr:first td').addClass('tableModelgreen');
        }
    }

    $('#opendag').cycle({
        fx: 'fade',
        speed: 1000,
        timeout: 2000
    });

    $("div#open a").fancybox({
        'padding': 0,
        'autoScale': false,
        'transitionIn': 'none',
        'transitionOut': 'none'
    });

    $(".hideintro_{1}").addClass('hideintro_false');
    

}); 
