\n'); } function showLayoutPlan(frameKey) { resizeLayoutPlan(); document.getElementById("PlanLayer").style.visibility = "visible"; if (planLoaderTimer){ clearInterval(planLoaderTimer); } planLoaderTimer = setInterval('loadLayoutPlan("'+frameKey+'")', 200); } function resizeLayoutPlan(){ var theLayer = document.getElementById("PlanLayer"); x = (document.body.clientWidth - PlanLayerW) / 2; y = (document.body.clientHeight - PlanLayerH) / 2; x = (x < 0)? 0 : x; y = (y < 0)? 0 : y; theLayer.style.width = PlanLayerW; theLayer.style.height = PlanLayerH; theLayer.style.left = x; theLayer.style.top = y; } function loadLayoutPlan(frameKey) { document.body.style.backgroundColor = "#c6c6ba"; document.getElementById("contentSwfTd").style.backgroundImage = "url('/images/common/bg2.jpg')"; var frameworkSwf = document.getElementById("framework"); frameworkSwf.GotoFrame(19); var theSwf = document.getElementById("plan_loader"); theSwf.GotoFrame(2); theSwf.Play(); theSwf.setVariable("target", frameKey); theSwf.setVariable("lang", language); clearInterval(planLoaderTimer); } window.onresize = resizeLayoutPlan; function plan_loader_DoFSCommand(command, args) { var plan_loaderObj = isInternetExplorer ? document.all.plan_loader : document.plan_loader; // // Place your code here. if (command == "closePlanLoader") { closePlanLoader(); } // } // Hook for Internet Explorer. if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) { document.write('\n'); } function closePlanLoader() { var theLayer = document.getElementById("PlanLayer"); theLayer.style.visibility = "hidden"; var frameworkSwf = document.getElementById("framework"); frameworkSwf.GotoFrame(17); document.body.style.backgroundColor = "#FFFFFF"; document.getElementById("contentSwfTd").style.backgroundImage = "url('/images/common/bg.jpg')"; } //-->
Loading...
|