﻿// Site-Config - editio.at

$(window).load(function(){

    $.editioSite({
        kwicksmenu: false,
        slidingnavigation: false,
    
        bookmarklink: true,
        favouriteslink: true,
        
        lavalamp: true,
    
        sitestretch: true,
        objectToStretch: '#main .page',
        stretchOverwriteFormCallback: true,
    
        acmenu: false,
        editioContentToggle: true,
        editioContentToggleSettings: {
            initCollapsed: true,
            initDisplayClass: 'e_toggleitem_initdisplay',
            showevent: 'click',
            hideevent: 'click',
            slideduration: 500
        },
    
        fancybox: true,
    
        slideshowplay: true,
        slideshowdelay: 5000,
        
        xfade: true
    });

});

    var sfont = { src: "/flash/square.swf" };

    sIFR.activate(sfont);

    sIFR.replace(sfont, {
        selector: 'h1,h2',
        css: '.sIFR-root { background-color: #ffffff; color: #990000; }',
        opaque: true
    });

    sIFR.replace(sfont, {
        selector: 'h4.sidebox',
        css: '.sIFR-root { background-color: #cccccc; color: #990000; margin-bottom:0; padding-bottom:0; height:8px; line-height:8px;}',
        fitExactly: true,
        tuneHeight: -5,
        opaque: true
    });

    sIFR.replace(sfont, {
        selector: 'h4.sideboxleft',
        css: '.sIFR-root { background-color: #cccccc; color: #990000; margin-left:20px; margin-bottom:0; padding-bottom:0; height:8px; line-height:8px;}',
        fitExactly: true,
        tuneHeight: -5,
        opaque: true
    });

    sIFR.replace(sfont, {
        selector: 'h4.sidebox_warning',
        css: '.sIFR-root { background-color: #cccccc; color: #000000; margin-bottom:0; padding-bottom:0; height:8px; line-height:8px;}',
        fitExactly: true,
        tuneHeight: -5,
        opaque: true
    });

    sIFR.replace(sfont, {
        selector: 'h4.sidebox_important',
        css: '.sIFR-root { background-color: #cccccc; color: #000000; margin-bottom:0; padding-bottom:0; height:8px; line-height:8px;}',
        fitExactly: true,
        tuneHeight: -5,
        opaque: true
    });

    sIFR.replace(sfont, {
        selector: 'h4.sidebox_note',
        css: '.sIFR-root { background-color: #cccccc; color: #000000; margin-bottom:0; padding-bottom:0; height:8px; line-height:8px;}',
        fitExactly: true,
        tuneHeight: -5,
        opaque: true
    });

    sIFR.replace(sfont, {
        selector: 'h4.listitem',
        css: '.sIFR-root { font-size:14px; background-color:transparent; color: #000000; margin-bottom:0; padding-bottom:0; height:14px; line-height:14px;}',
        fitExactly: true,
        opaque: true
    });

    sIFR.replace(sfont, {
        selector: '#extended h3, #extended h4, #extended h5, #extended h6',
        css: '.sIFR-root { background-color: #eeeeee; color: #666; }',
        opaque: true
    });

    sIFR.replace(sfont, {
        selector: 'h3,h4,h5',
        css: '.sIFR-root { color: #666; }',
        transparent: true
    });
	

