// Woodlands JavaScript Document
$(document).ready(init) ;
function init() {
    bindPhotos() ;
}
function bindPhotos() {
    $("#photo-01").mouseover(function() {
        photoOneIn() ;
    }) ;
    $("#photo-01").mouseout(function() {
        photoOneOut() ;
    }) ;
    $("#photo-02").mouseover(function() {
        photoTwoIn() ;
    }) ;
    $("#photo-02").mouseout(function() {
        photoTwoOut() ;
    }) ;
}
function unbindPhotos() {
    $("#photo-01").unbind('mouseover');
    $("#photo-01").unbind('mouseout');
    $("#photo-02").unbind('mouseover');
    $("#photo-02").unbind('mouseout');
}
function photoOneIn() {
    $("#photo-02").stop() ;
    $("#photo-02").animate({
        left: "-100px"
    }, 500, "swing") ;
}
function photoOneOut() {
    $("#photo-02").stop() ;
    $("#photo-02").animate({
        left: "-500px"
    }, 500, "swing") ;
}
function photoTwoIn() {
    $("#photo-02").stop() ;
    $("#photo-02").animate({
        left: "-900px"
    }, 500, "swing") ;
}
function photoTwoOut() {
    $("#photo-02").stop() ;
    $("#photo-02").animate({
        left: "-500px"
    }, 500, "swing") ;
}