function initLoadGraph() { parent.debug('entering initLoadGraph...'); var mainArea = parent.document.getElementById("tag_div"); var main_width, main_height; main_width = mainArea.clientWidth; main_height = mainArea.clientHeight; var url = parent.document.embeds['svg_main'].getSRC(); var topoWidthParam = getUrlParam(url, "topoWidth"); var topoHeightParam = getUrlParam(url, "topoHeight"); if ( (topoWidthParam != null) && (topoWidthParam != "") && (topoHeightParam != null) && (topoHeightParam != "")) { topoWidth = topoWidthParam.substring(topoWidthParam.indexOf('=')+1); topoHeight = topoHeightParam.substring(topoHeightParam.indexOf('=')+1); parent.setReloadFlag(false); parent.debug('leaving initLoadGraph'); return; } parent.setReloadFlag(true); parent.debug('leaving initLoadGraph'); }