var srInx = 0; var srTime = 3000; // 서비스쪽 롤링시스템 타임 (1초 = 1000) var srTimer = null; function timeSr(){ if(!document.getElementById("serviceRolling")) return false; var a = document.getElementById("serviceRolling"); var b = a.getElementsByTagName("span"); for(i = 0;i < b.length;i++){ str = b[i].innerHTML; b[i].innerHTML = str.replace(/(|<\/strong>)/g, ""); c = b[i].getElementsByTagName("a"); for (j=0;j height || width == height){ $(obj).css("height","100%"); $(obj).css("min-width", minWidth+"px"); } else if(height > width){ $(obj).css("width","100%"); $(obj).css("min-height", minHeight+"px"); } $(obj).css("display", "block"); } function chkSearch() { var f = document.Frm; if (checkEmpty(f.sword)) { alert("검색어를 입력해 주세요"); f.sword.focus(); return; } var sword = f.sword.value; //var e2k_str = e2k(sword); f.submit(); } function checkEmpty(obj) { if (obj.value.stripspace() == "") { return true; } else { return false; } } String.prototype.stripspace = function() { return this.replace(/ /g, ''); } function bfResizing( obj ){ $('.bf-wrap').css('width',obj.width+'px'); $('.bf-wrap').css('display', 'block'); }