function resizeWin()
{
    var Img = document.getElementById('img');
    window.resizeTo(Img.clientWidth + 100, Img.clientHeight + 130);
}



