/*
    /00000000000                        /0   0\      000       000
    00000000000/            /00000000  /000 000\    0   0      000
        0000     /00000000  000        000000000   00   00   /000000/
        0000     000   000  000000     000 0 000  000000000    000
        0000     000   000  000        000   000  000   000    000
        000/     00000000/  \00000000  000   000  000   000    000
 
        Page & code by Thomas Renck   http://X-INfERNO.com    2011
*/

$(document).ready(rotaterInit);

function rotaterInit() {
    $('.big_spot #head_rotater').cycle({
        fx: 'fade', 
        speed:2000,
        timeout: 6000,
        pause: 0,
        random: 1
    });
    $('.main_header #head_rotater').cycle({
        fx: 'fade', 
        speed:5000,
        timeout: 10000,
        pause: 0,
        random: 1
    });
}

function showcaseInit() {
    $('.thumb img').click(function() {
       var file = this.src.replace("_thumb","");
       $('#showcase img').attr("src", file);
    });
}
