// IEÍÑ¡¡Twitter bird@to
function ieshowbadge(tfb){
 
    if(tfb.side=='l'){ tfb.myside = "left"; tfb.remyside = "right"; }
    else{ tfb.myside = "right"; tfb.remyside = "left";}
 
    var element = document.createElement("div");
    var str = "<div id='twitterFollowBadge' style='z-index:1; position:absolute; "+tfb.myside+":0;'>";
    element.innerHTML = str;
    document.body.insertBefore(element, window.document.body.firstChild);
 
    if (window.XMLHttpRequest) { // IE7
        myposition = "fixed";
    } else {myposition = "absolute";}
 
    tfb.tabStyleCode='position:'+myposition+';'
        +'top:'+tfb.top+'px;'
        +'width:30px;'
        +'height:119px;'
        +'z-index:8765;'
        +'cursor:pointer;'
        +'background:'+tfb.color+' url(http://files.go2web20.net/twitterbadge/1.0/bg-badge/'+tfb.label+'.png);'+'background-repeat:no-repeat;'
        + tfb.myside+':0; background-position:'+tfb.remyside+' top;';
 
    tfb.aboutStyleCode='position:'+myposition+';'
        +'top:'+(parseInt(tfb.top)+107)+'px;'
        +'width:10px;'+'height:11px;'+'z-index:9876;'+'cursor:pointer;'
        +'background:url(http://files.go2web20.net/twitterbadge/1.0/icon-about.png);'+'background-repeat:no-repeat;'
        + tfb.myside+':0;';
 
    tfbMainDiv = document.getElementById('twitterFollowBadge');
 
    tfbMainDiv.innerHTML = '<div id="tfbTab" style="'+tfb.tabStyleCode+'"></div><div id="tfbAbout" style="'+tfb.aboutStyleCode+'"></div>'
            + '<style>#tfbAbout{visibility:hidden;} #twitterFollowBadge:hover #tfbAbout{visibility:hidden;}</style>';
 
    if(myposition == "absolute"){
        document.getElementById('twitterFollowBadge').style.display = "blook";
    }
 
    document.getElementById('tfbTab').onclick=function(){
        window.open('http://www.go2web20.net/twitterfollowbadge/redir.htm?' + tfb.account);
    }
 
    document.getElementById('tfbAbout').onclick=function(){
        window.open('http://www.go2web20.net/twitterFollowBadge/');
    }
}

