function Banner_Change(divId, timeout) {
    var elt = document.getElementById(divId);
    var imgs = elt.m_Images;
    setTimeout("Banner_Change(\"" + divId + "\", " + timeout + ")", timeout);
    elt.m_Index = ((elt.m_Index+1) % imgs.length);
    elt.imgBanner.src = imgs[elt.m_Index][0];
    if(imgs[elt.m_Index][1] != undefined && imgs[elt.m_Index][1] != "undefined") {
	elt.linkFull.href = imgs[elt.m_Index][1];
    } else {
	elt.linkFull.removeAttribute("href");
    }
}
function Banner_Init(divId, timeout) {
    var elt = document.getElementById(divId);
    if(elt != undefined) {
        elt.m_Index = 0;
        elt.linkFull = HubDesignUtils_findFirstChildNodeById(elt, "linkBanner");
        elt.imgBanner = HubDesignUtils_findFirstChildNodeById(elt, "imgBanner");
        setTimeout("Banner_Change(\"" + divId + "\", " + timeout + ")", timeout);
    }
}

