1function MM_preloadImages() { //v3.0 2 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 3 var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) 4 if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} 5} 6 7MM_preloadImages( 8 '/images/top/btn_doctor_on.jpg', 9 '/images/top/btn_dentist_on.jpg', 10 '/images/top/btn_veterinarian_on.jpg', 11 '/images/common/btn_keisai_on.jpg', 12 '/images/common/btn_kaiin_on.jpg', 13 '/images/common/btn_faq_on.jpg', 14 '/images/common/btn_keisai_on.jpg', 15 '/images/common/btn_keisai2_on.jpg', 16 17 '/images/common/btn_facility_on.jpg', 18 '/images/common/btn_member_on.jpg', 19 '/images/common/btn_magazine_on.jpg', 20 '/images/common/btn_recruit_on.jpg', 21 '/images/common/btn_search_on.jpg' 22); 23 24function swap(obj) { 25 if (obj.src.match(/.+_on\.[gif|jpg|jpe|jpeg|png]/)) { 26 obj.src = obj.src.replace(/(.+)_on(\.[gif|jpg|jpe|jpeg|png])/, '$1$2'); 27 } 28 else { 29 obj.src = obj.src.replace(/(.+)(\.[gif|jpg|jpe|jpeg|png])/, '$1_on$2'); 30 } 31} 32 33function popup(url) { 34 var name = 'popup'; 35 var width = 560; 36 var height = 700; 37 return popupResizable(url, name, width, height); 38} 39function popupFixed(url, name, width, height) { 40 var popupWindow = window.open(url, name, 'width=' + width + ',height=' + height + ',status=no,location=no,toolbar=no,scrollbars=yes,menubar=no,resizable=no'); 41 popupWindow.focus(); 42 43 return false; 44} 45function popupResizable(url, name, width, height) { 46 var popupWindow = window.open(url, name, 'width=' + width + ',height=' + height + ',status=no,location=no,toolbar=no,scrollbars=yes,menubar=no,resizable=yes'); 47 popupWindow.focus(); 48 49 return false; 50} 51 52var prefAreaOptionList = new Array(); 53var defaultAreaOption = null; 54 55function setAreaOption (pref, area) { 56 var query = 'select[name=s_area_no], select[name=area_no]'; 57 if (defaultAreaOption == null) { 58 defaultAreaOption = $(query).html(); 59 } 60 61 if (pref < 1000) { 62 $(query).html(defaultAreaOption); 63 } 64 else { 65 if(prefAreaOptionList[pref]){ 66 $(query).html(defaultAreaOption + prefAreaOptionList[pref]); 67 } 68 else { 69 $(query).html('<option value="">èªã¿è¾¼ã¿ä¸..</option>'); 70 $.get('/ajax.php?action=select_area&format=option&pref_no=' + pref + '&area_no=' + area, function(text){ 71 prefAreaOptionList[pref] = text; 72 $(query).html(defaultAreaOption + text); 73 }); 74 } 75 } 76} 77function changeSearchSubject () { 78 $('#box5 form').attr("action","/" + $('#box5 form dd div input:checked').eq(0).val() + "/search/index.php"); 79} 80$(function() { 81 changeSearchSubject(); 82 $('#box5 form dd div input').click(function() { 83 changeSearchSubject(); 84 }); 85 86}); 87 88 89var x = 0; 90var y = 0; 91var z = 0; 92function AddTableRows(tableId,listCount){ 93 94 // 1度ããæ¼ããªããã¿ã³ 95 document.edit.insert.disabled = true; 96 if(tableId=='detailboxUp1') { 97 x++; 98 var titil = "ãåå"; 99 var body = "çµæ´"; 100 var i = x+listCount; 101 102 if(i > 3) { 103 alert("ã¹ã¿ããç´¹ä»ã®ç»é²ã¯3件以å ã§ãé¡ããã¾ãã"); 104 return false; 105 } 106 var coun = 'Staff[]' 107 108 } 109 110 if(tableId=='detailboxUp2') { 111 var titil = "ã¿ã¤ãã«"; 112 var body = "ã³ã¡ã³ã"; 113 y++; 114 var i = y+listCount; 115 if(i > 4) { 116 alert("ç é¢ç´¹ä»ã®ç»é²ã¯4件以å ã§ãé¡ããã¾ãã"); 117 return false; 118 } 119 var coun = 'Clinic[]' 120 } 121 if(tableId=='detailboxUp3') { 122 var titil = "ã¿ã¤ãã«"; 123 var body = "ã³ã¡ã³ã"; 124 z++; 125 var i = z+listCount; 126 if(i > 4) { 127 alert("æææ©å¨ã®ç»é²ã¯4件以å ã§ãé¡ããã¾ãã"); 128 return false; 129 } 130 var coun = 'Machine[]' 131 } 132 var tableDetail = document.getElementById(tableId); 133 var counter = tableDetail.rows["length"]; 134 var row1 = tableDetail.insertRow(counter); 135 var cell1 = row1.insertCell(0); 136 var cell2 = row1.insertCell(1); 137 var row2 = tableDetail.insertRow(counter); 138 var cell3 = row2.insertCell(0); 139 var cell4 = row2.insertCell(1); 140 var row3 = tableDetail.insertRow(counter); 141 var cell5 = row3.insertCell(0); 142 var cell6 = row3.insertCell(1); 143 144 // class ã®ä»ä¸ã¯ UserAgent ã«ãã£ã¦ 145 // æåãéãã£ã½ãã®ã§å¿µã®ãã両æ¹ã®æ¹æ³ã§ 146 //cell1.setAttribute("class","border"); 147 //cell2.setAttribute("class","border"); 148 149 if (typeof document.body.style.maxHeight != "undefined") { 150 if (!/*@cc_on!@*/false){ 151 // Not IE. 152 cell1.setAttribute("class","border"); 153 cell2.setAttribute("class","border"); 154 155 }else if (document.documentMode >=8) { 156 // IE8 157 cell1.setAttribute("class","border"); 158 cell2.setAttribute("class","border"); 159 160 }else { 161 cell1.getAttribute("className"); 162 cell1.style.cssText = "border-bottom:1px dashed #CCCCCC;"; 163 cell2.getAttribute("className"); 164 cell2.style.cssText = "border-bottom:1px dashed #CCCCCC;"; 165 } 166 } else { 167 // IE6, older browsers 168 cell1.getAttribute("className"); 169 cell1.style.cssText = "border-bottom:1px dashed #CCCCCC;"; 170 cell2.getAttribute("className"); 171 cell2.style.cssText = "border-bottom:1px dashed #CCCCCC;"; 172 } 173 var HTML1 = 'ç»å'+i; 174 var HTML2 = '<input name="thumb' + coun + '" type="file" /><br />'; 175 var HTML3 = body+i;
176 var HTML4 = '<textarea name="body' + coun + '" cols="50" rows="5"></textarea><br/>'; 177 var HTML5 = titil+i; 178 var HTML6 = '<input type="text" name="name' + coun + '" value="" size="50" maxlength="30" /><br/>'; 179 180 181 cell1.innerHTML = HTML1; 182 cell2.innerHTML = HTML2; 183 cell3.innerHTML = HTML3; 184 cell4.innerHTML = HTML4; 185 cell5.innerHTML = HTML5; 186 cell6.innerHTML = HTML6; 187 188} 189 190 191//ç»åãã¼ã«ãªã¼ãã¼ 192function smartRollover() { 193 if(document.getElementsByTagName) { 194 var images = document.getElementsByTagName("img"); 195 196 for(var i=0; i < images.length; i++) { 197 if(images[i].getAttribute("src").match("_off.")) 198 { 199 images[i].onmouseover = function() { 200 this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on.")); 201 } 202 images[i].onmouseout = function() { 203 this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off.")); 204 } 205 } 206 } 207 } 208} 209 210if(window.addEventListener) { 211 window.addEventListener("load", smartRollover, false); 212} 213else if(window.attachEvent) { 214 window.attachEvent("onload", smartRollover); 215} 216 217//ã¿ãåæ¿ 218function seltab(bpref, hpref, id_max, selected) { 219 if (! document.getElementById) return; 220 for (i = 0; i <= id_max; i++) { 221 if (! document.getElementById(bpref + i)) continue; 222 if (i == selected) { 223 document.getElementById(bpref + i).style.visibility = "visible"; 224 document.getElementById(bpref + i).style.position = ""; 225 document.getElementById(hpref + i).className = "open"; 226 document.getElementById(bpref + i).style.top = "0px"; 227 } else { 228 document.getElementById(bpref + i).style.visibility = "hidden"; 229 document.getElementById(bpref + i).style.position = "absolute"; 230 document.getElementById(hpref + i).className = "close"; 231 document.getElementById(bpref + i).style.top = "-9999px"; 232 } 233 } 234} 235 236// ã¿ã ã¨ãªã¢æ¤ç´¢é¨å 237function viewArea(divId,divClass){ 238 var divs=document.getElementsByTagName('div'); 239 for(var i=0;i<divs.length;i++){ 240 if(divs[i].className==divClass){ 241 if(divs[i].id==divId) divs[i].style.display="block"; 242 else divs[i].style.display="none"; 243 } 244 } 245} 246 247// ã¿ã 診çç§ç®æ¤ç´¢é¨å 248function viewCategory(divId,divClass){ 249 var divs=document.getElementsByTagName('div'); 250 for(var i=0;i<divs.length;i++){ 251 if(divs[i].className==divClass){ 252 if(divs[i].id==divId) divs[i].style.display="block"; 253 else divs[i].style.display="none"; 254 } 255 } 256} 257function check_blank(frm){ 258 259 if(frm.elements["query"].value==""){ 260 return false; 261 } 262} 263 264 265// ã°ãã¼ãã«ãã+ããããã¼ã¸ã®ãã¼ã«ãªã¼ãã¼ 266$(function() { 267 var num = 1; 268 $('#gnavi li') 269 //ãã¦ã¹ãªã¼ãã¼ç»åãé ç½® 270 .each(function(){ 271 $(this).css('background', 'url(/images/common/gnavi_'+num+'_on.png) no-repeat') 272 num++; 273 }) 274 .find('img').hover( 275 function(){ 276 $(this).stop().animate({'opacity' : '0'}, 250); 277 }, 278 function(){ 279 $(this).stop().animate({'opacity' : '1'}, 500); 280 } 281 ); 282});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.