﻿var avenir = {
    src: '/templates/pages/meetab/tre.swf'
};

sIFR.activate(avenir);

sIFR.replace(avenir, {
    selector: 'h1',
    css: [
              '.sIFR-root { font-size:24px; font-weight:normal; color:#000000;  }'
        ],
    wmode: 'transparent'

});


sIFR.replace(avenir, {
    selector: 'h2',
    css: [
              '.sIFR-root { font-size:16px; font-weight:normal; color:#000000;  }'
        ],
    wmode: 'transparent'

});
$(document).ready(function() {



    $('.auto').autogrow({
        maxHeight: 200,
        minHeight: 20,
        lineHeight: 20
    });


    $(".question").focus(function() {
    if ($(this).val() == "Ställ din fråga!" || $(this).val() == "E-post")
            $(this).val("");
    });
    $(".auto").blur(function() {
        if ($(this).val() == "")
            $(this).val("Ställ din fråga!");
    });





});