// JavaScript Document function $(id) { return document.getElementById(id); } function displaySubNav(index, flag){ if(index != null) { var s = document.getElementById("subMenuGroup_"+index); s.style.display=(s.style.display=="none" || s.style.display=="") ? "block" : "none"; var m = document.getElementById("menuGroup_"+index); m.className = (m.className=="navMainSelected") ? "navMainOut" : "navMainSelected"; var a = document.getElementById("subMenuGroup_"+index).getElementsByTagName("a"); for(i=0; i 0){ var bPadd = (36-bH)/2; a[i].style.paddingTop=bPadd+"px"; a[i].style.paddingBottom=bPadd+"px"; } } } document.getElementById("bkmrkISI").style.display = (flag=="show") ? "block" : "none"; } function hover(obj, flag){ var m = obj; if(m.className!="navMainSelected") m.className = (flag) ? "navMainOver" : "navMainOut"; } function OpenWinCenter(popUrl, popName, popWidth, popHeight, feat) { pop_left = 0; pop_top = 0; scrCenter_x = screen.width/2; scrCenter_y = screen.height/2; if ((popWidth == "") || (popWidth == undefined)) { popWidth = 650; popHeight = 550; resize = "yes"; } else { resize = "no"; // alert(popWidth); } if (feat != '') feat = ','+feat; pop_left = scrCenter_x - (popWidth/2); pop_top = scrCenter_y - (popHeight/2) - 30; popupWin = window.open(popUrl, popName, 'width=' + popWidth + ',height=' + popHeight + ',left=' + pop_left + ',top=' + pop_top + ',resizable='+resize+feat); popupWin.focus(); }