﻿// This script contains all Client / Project specific variables, constants and methods. NO Client or Project
// specific information must ever be placed in our generic utility scripts;
// Required AJAX Script Support
var AJAX_TIMEOUT = 0;
var AJAX_TARGET = "divAjax";
var FADEOUT_DIV = "divCover";
var AJAX_OVERRIDE = "";
// AJAX support for custom methods within this script
var gi_ajaxpgnum = 1;

// Flash support for custom methods within this script
var gb_flashenabled = isFlashEnabled();

function pageLoad()
{
}
function onAJAXConnection(){ }
function onAJAXFail(){ }
function _registerExpansion(photo)
{
    if(photo != "")
    {
        var arr_parts = photo.split(".");
        fade("divBorder", 500, 375, "HammondShoes_PhotoExp.aspx?photo=" + arr_parts[0], 200,"");
    }
}
function changeLink(state,id,controlid,imageprefix)
{
    var s_path = "images/brandbtns/" + imageprefix;
    if(state == 0)
    {
        s_path += "UP.jpg";
    } else {
        s_path += "OVER.jpg";
    } 
    document.getElementById("ctl00_img_" + controlid + id.toString()).src = s_path;
}
if (typeof(Sys) !== "undefined") Sys.Application.notifyScriptLoaded();

