﻿/// <reference path="jquery-1.3.2-vsdoc2.js" />
function DefaultLoad() {

    SharedLoad();

    var interval1;
    var interval2;
    var i = 0;
    $(".container .main .mainbottom .mainbottomcontainer .item").each(function() {
        $(this).attr("rel", i).css("background-image", "url('tmp/" + i + ".jpg')");
        $(this).hover(function() {
        interval2 = $(this).animate({ width: "250px" }, 200);
        interval1 = $(".container .main .mainbottom .mainbottomcontainer .item[rel!=" + $(this).attr("rel") + "]").animate({ width: "132px" }, 200);
        }, function() {
            interval1.stop();
            interval2.stop();
        }).click(function() { Redirect($(this).find("a").attr("href")); });
        i++;
    });
    $(".container .main .mainbottom .mainbottomcontainer").hover(function() { }, function() { $(".container .main .mainbottom .item").animate({ width: "142px" }, 200); });

    
}
