wD = getWinDims();
chrome = {
            top:152,
            right:0,
            bottom:26,
            left:0
        };
size = {
            width:100,
            height:100
        };
function doResize(paneId,contentId,chrome,size)
{
    if(typeof rsZTmr != "undefined") { clearTimeout(rsZTmr); }
    chrome = ( ( (typeof chrome == "undefined") || (chrome == "") || (typeof chrome == "string") ) ? {} : chrome);
    chrome.top = ( (typeof chrome.top != "undefined") ? chrome.top : 0);
    chrome.bottom = ( (typeof chrome.bottom != "undefined") ? chrome.bottom : 0);
    chrome.left = ( (typeof chrome.left != "undefined") ? chrome.left : 0);
    chrome.right = ( (typeof chrome.right != "undefined") ? chrome.right : 0);
    size = ( ( (typeof size == "undefined") || (size == "") || (typeof size == "string") ) ? {} : size);
    size.width = ( (typeof size.width != "undefined") ? size.width : 100);
    size.height = ( (typeof size.height != "undefined") ? size.height : 100);
    rsZEval = "wD = getWinDims(); "
    rsZEval += ( ((size.width != 100) || ((chrome.left + chrome.right) > 0)) ? "nW = (Math.round(wD.w * " + parseFloat(parseInt(size.width)/100) + ") - (" + (parseInt(chrome.left) + parseInt(chrome.right)) + ")); nW = (nW > 0) ? nW : 0; getStyRef('" + paneId + "').width = nW + px; " : "");
    rsZEval += ( ((size.height != 100) || ((chrome.top + chrome.bottom) > 0)) ? "nH = (Math.round(wD.h * " + parseFloat(parseInt(size.height)/100) + ") - (" + (parseInt(chrome.top) + parseInt(chrome.bottom)) + ")); nH = (nH > 0) ? nH : 0; getStyRef('" + paneId + "').height = nH + px; " : "");
    rsZEval += "getStyRef('" + contentId + "').display = 'block';";
    rsZTmr = setTimeout(rsZEval,((isNet7) ? 888 : 33));
}
function setResize()
{
    window.onresize = function() { doResize("contentArea","content",chrome,size); };
}
is_broker_page = (((document.location.href + "").match(/\/broker\.php/) != null) ? true : false);
safeOnload("doResize(\"contentArea\",\"content\",chrome,size); if(typeof setResizeTmr != \"undefined\") { clearTimeout(setResizeTmr); }; setResizeTmr = setTimeout(\"setResize();\",1000); if(is_broker_page) { setBrokerCard(); onloadSetBrokerCard(); };");
