var fileLoadingImage = "http://www.fireworkfreak.com/content/themes/icy-winter-theme/images/loading.gif";
var fileBottomNavCloseImage = "http://www.fireworkfreak.com/content/themes/icy-winter-theme/images/closelabel.gif";

//if the browser is IE and the version is lower than 7, append the png transparancy hack with the htc file
if(Client.browser == 'Internet Explorer' && Client.version < 7)
{
    //add the png transparancy hack for single channel 8 bit png images
    //documentation can be found here: http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
    headElement = $$('head')[0];
    pngHackStyle = Builder.node('style', {type:'text/css'}, 'img {url("http://www.fireworkfreak.com/content/themes/icy-winter-theme/htc/pngbehavior.htc")}');
    headElement.appendChild(pngHackStyle);
}

Event.observe(window, 'load', function() {
    function showSocialBookmarkers()
    {
        bookmarkWindow = new VirtualWindow(
            {
                width:300,
                height:200,
                title:'Social bookmarking',
                imgDir:'/content/themes/icy-winter-theme/images/',
                background: true,
                shadow:false
            }
        );
        bookmarkWindow.setContent($('social_bookmarking_sites').innerHTML);
    }
    
    if($('social_bookmarking_sites')  && $('social_bookmarker_link'))
    {
        Event.observe('social_bookmarker_link', 'click', showSocialBookmarkers);
    }
});
