//swfobject.registerObject("myId", "9.0.0", "expressInstall.swf");
/*	var params = {
  		menu: "false",
		wmode: "transparent"
	};
	swfobject.embedSWF("images/stories/flash/flash_head.swf", "flashHeader", "932", "320", "9.0.0","images/stories/flash/expressInstall.swf", '', params, '');
*/
$(document).ready(function() {
    $('#footer ul.menu li:first').addClass('first');
    $('#footer ul.menu li:last').addClass('last');
    
    //ale to jest kiepskie
    checkSize();
    $('#menu ul.menu li:last').css('width','240px');
});
    function checkSize(){
        var myWidth = 0, myHeight = 0;
        if (typeof(window.innerWidth) == 'number') {
            //Non-IE
            myWidth = window.innerWidth;
            myHeight = window.innerHeight;
        }
        else 
            if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
                //IE 6+ in 'standards compliant mode'
                myWidth = document.documentElement.clientWidth;
                myHeight = document.documentElement.clientHeight;
            }
            else 
                if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
                    //IE 4 compatible
                    myWidth = document.body.clientWidth;
                    myHeight = document.body.clientHeight;
                }
        if($('body').height() < myHeight){
            var h=myHeight-$('body').height()+15;
            $('.bottom').height(h);
        }
    }
