function getFlash(strName, width, height) {
    if (strName.charAt(0) == '/') {
        strName = 'http://images.bubbleroom.se' + strName;
    }
    else {
        strName = '/' + strName;
    }

    document.write('<object type="application/x-shockwave-flash" data="' + strName + '" width="' + width + '" height="' + height + '">\n');
    document.write('<param name="movie" value="' + strName + '" />\n');
    document.write('<param name="wmode" value="transparent">\n');
    
    document.write('</object>\n');
}
function getFlashSafe(strFlash, intWidth, intHeight, strJpg, strLink) {
    document.write('<script type="text/javascript" src="/javascript/flash_detect_min.js"></scr' + 'ipt>');

    if (!FlashDetect.installed) {
        if (strLink.toString().length > 0) {
            document.write('<a href="' + strLink + '"><img src="' + strJpg + '" alt="Bubbleroom" /></a>');
        }
        else {

            document.write('<img src="' + strJpg + '" alt="Bubbleroom" />');
        }
    }
    else {
        getFlash(strFlash, intWidth, intHeight);
    }

}




//document.write('<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6">');
//document.write('<param name="URL" value="/flash/flash.swf">');
//document.write('<param name="autoStart" value="-1"></object>');
//<object type="application/x-shockwave-flash" data="/flash/flash.swf" width="555" height="392"><param name="movie" value="/flash/flash.swf" /></object>