// JavaScript Document function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i // Dreamweaver's Popup Script function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } // url, width, height, scrollbar function SPop(url, width, height, scroll) { window.open(url,'','width='+width+',height='+height+',menubar=no,scrollbars='+scroll); } /************************************************************ * Link Blur Script onload="allblur()" ************************************************************/ function allblur() { for (i = 0; i < document.links.length; i++) document.links[i].onfocus = document.links[i].blur; } /************************************************************ * Link Blur Script ³¡ ************************************************************/ function win_link(url_link) { window.opener.location=url_link; window.close(); } function set_select (p_select, p_value) { for (i = 0; i < p_select.length; i++) { if (p_select[i].value == p_value) p_select.selectedIndex = i; } } function set_radio (p_select, p_value) { for (i = 0; i < p_select.length; i++) { if (p_select[i].value == p_value) p_select[i].checked = true; } } function set_value (p_name, p_value) { p_name.value = p_value; } function check_all (the, ischeck, reverse) { for (i = 0; i < the.elements.length; i++) { if (reverse == true) the.elements[i].checked = the.elements[i].checked == true ? false : true; else the.elements[i].checked = ischeck; } } function check_in_value (the, ischeck, name, value) { for (i = 0; i < the.elements.length; i++) { if (the.elements[i].name == name) { if (the.elements[i].value == value) the.elements[i].checked = ischeck; } } } function check_all_in_name (the, ischeck, reverse, name) { for (i = 0; i < the.elements.length; i++) { if (name != the.elements[i].name) continue; if (reverse == true) the.elements[i].checked = the.elements[i].checked == true ? false : true; else the.elements[i].checked = ischeck; } } function check_count_in_name (the, ischeck, name) { selected = 0; for (i = 0; i < the.elements.length; i++) { if (name != the.elements[i].name) continue; if (the.elements[i].checked == ischeck) selected += 1; } return selected; } function GoUrl() { var gourl = this.url[this.url.selectedIndex].value; if (gourl != "") { window.open(gourl, "", ""); } } function explain ( here, limit ) { //if (document.all("menu" + here).style.display == "block") { // return; //} document.menuTp.forum_left_tp1.value = here; document.menuTp.forum_left_tp2.value = limit; for( var i=1; i<=limit; i++ ) { var temp = 'menu' + i; if ( i != here ) document.all(temp).style.display = "none"; else { if ( document.all(temp).style.display == "block" ) { document.all(temp).style.display = "none"; } else document.all(temp).style.display = "block" } } } function jsFlashWrite(mFilename, mWidth, mHeight, mTransparent, mBgColor, mNum, mSub) { document.write(""); document.write(""); document.write(""); if (mTransparent != "") document.write(""); if (mBgColor != "") document.write(""); document.write(" "); document.write(""); } /* Áß¾Ó »õâ ¶ç¿ì±â */ function windowOpen(getURL,target,width,height,scr) { var url = getURL; var left = (screen.width - width)/2; var top = (screen.height - height)/4; var toolbar = 'no'; var menubar = 'no'; var status = 'yes'; var scrollbars = scr; var resizable = 'no'; window.open( url, target, 'left='+left+', top='+top+', height='+height+', width='+width+', toolbar='+toolbar+', menubar='+menubar+', status='+status+', scrollbars='+scrollbars+', resizable='+resizable); }