$(document).ready(function() {
    $('#banner-teaser').html('<marquee direction="left" behaviour="scroll">' + $('#frontpage-spot-linktext-7098').html() + '</marquee>');
    //$('#banner-teaser').FontEffect({ outline: true, outlineColor1: "#000000", outlineColor2: "#000000" });
});

function ShowVideo(div, url, image, autostart) {
    var element = document.getElementById(div);
    var showWidth = element.style.width.replace("px", "");
    var showHeight = element.style.height.replace("px", "");
    var imageFlashVar = "";
    if (image)
        imageFlashVar = "&image=" + image;
    var autostartFlashVar = "";
    if (autostart && autostart == '1')
        autostartFlashVar = "&autostart=true&repeat=single";
    try {
        var s1 = new SWFObject('flash/player-licensed.swf', 'player', showWidth, showHeight, '9');
        s1.addParam('allowfullscreen', 'true');
        s1.addParam('allowscriptaccess', 'always');
        s1.addParam('flashvars', 'file=' + url + '&type=video' + imageFlashVar + autostartFlashVar);
        s1.write(element.id);
    } catch (exception) { }
}
