﻿$(document).ready(function () {
    jQuery.noConflict(); // To avoid conflicts with other libraries
    jQuery("#slideshow").css("overflow", "hidden");
    jQuery("ul#slides").cycle({
        fx: 'fade',
        pause: 1,
        timeout: "8000"
    });

    jQuery(".instrumentGrid span.button").click(function () {

        jQuery(this).text(jQuery(this).text() == 'Spesifikasjoner' ? 'Beskrivelse' : 'Spesifikasjoner');
        var clickedInstrument = jQuery(this).attr("id");
        //var stringgg = clickedInstrument.split("_");
        jQuery("." + clickedInstrument).toggle();
    })

});


