function swapImage(id_img,pic)
{
	$('#'+id_img).attr("src",pic);
}

var summ = 0;
$(function(){
		   $('#top_corners').corner("round #F0EFED top");
           if(!$.browser.msie&&!$.browser.opera)
		        $('#bottom_corners').corner("round #F0EFED bottom");


           $('*[lang=in_summ]').each(function(i){
               summ+=$(this).height();
           });
           height_content();
});


function height_content()
{
    var hheight=(window.innerHeight)?window.innerHeight:((document.all)?document.body.offsetHeight:null);
    if($.browser.msie)
        var hheight=$('html').height();
    $('#inner').height(0);
    if($('body').height()<=hheight)
        {

            if(!$.browser.mozilla&&!$.browser.opera)
                sum = summ+15;
            else
                sum = summ;
            $('#inner').height(hheight-sum);
        }

}
window.onresize = height_content;
