/// <reference path="jquery-1.3.1-vsdoc.js" />
/// <reference path="swfobject-vsdoc.js" />
/// <reference path="sifr-vsdoc.js" />


$(document).ready(function() {

    theImage = document.getElementById('source-image');

    var $orwinheight = theImage.height;
    var $orwinwidth = theImage.width;

    var $dif = $orwinheight / $orwinwidth;

    var $winheight = $(window).height();
    var $winwidth = $(window).width();

    theImage.width = $winwidth;
    theImage.height = $winheight;    

    $(window).bind("resize", function() {

        $winheight = $(window).height();
        $winwidth = $(window).width();

        /*
        $("img.source-image").animate({
            width: $winwidth,
            height: $winheight
        }, 300);
        */

        $("img.source-image").attr({
            width: $winwidth,
            height: $winheight
        });
        
        /*
        $("img.source-image").attr({
            
        });
        */



    });



    /*
    
    });
    */



    /*
    $("img.source-image").attr({
    width: $winwidth
    });
    */



});