jQuery.noConflict();    
jQuery(document).ready(function() {
    jQuery(".accordion").accordion({
        autoHeight: false,
        alwaysOpen: false,
        navigation: true,
        active: false
    });

    var myhash = jQuery(location).attr('hash');
    /*var myhash = jQuery(location).attr('hash').match(/(\d+)$/);*/

    if(myhash != 0) {
        myhash = myhash.match(/(\d+)$/)[1];    
        jQuery(".accordion").accordion({ "active" : +myhash });            
    } else {
        jQuery(".accordion").accordion({ active: false });
    }
    
    jQuery('.ce_downloads p').hover(function() {
        jQuery(this).addClass("showsize");
        },function() {
            jQuery(this).removeClass("showsize");                  
    });
    
    jQuery('#slideshow').cycle({
        fx: 'fade',
        speed: 5000
    });
});
