﻿function fixIE6Browser() {
    var Browser = {
        Version: function () {
            var version = 999; // we assume a sane browser
            if (navigator.appVersion.indexOf("MSIE") != -1)
            // bah, IE again, lets downgrade version number
                version = parseFloat(navigator.appVersion.split("MSIE")[1]);
            return version;
        }
    }


    if (Browser.Version() < 7) {
        document.getElementById('LiveChatBottom').style.position = 'absolute';   
        document.getElementById('divWeddingFavors').style.paddingRight = '13px';
        document.getElementById('strName').style.fontSize = '112%';
    }


    if (Browser.Version() == 7) {
        document.getElementById('LiveChatBottom').style.position = 'Fixed';
        document.getElementById('divWeddingFavors').style.paddingRight = '13px';
        document.getElementById('strName').style.fontSize = '112%';
    }

    
}

if (document.all && !window.opera)
    attachEvent("onload", fixIE6Browser);
