1//****************** 2//¾¦ÉʤξܺÙɽ¼¨ 3//****************** 4function f_showItem(product_id, type) { 5 6 if(type == 1) { 7 //¥Ý¥Ã¥×¥¢¥Ã¥×¤Ç³«¤¯¾ì¹ç 8 wUrl = "./?mode=ITEM&p_id=" + product_id; 9 gf_OpenNewWindow(wUrl, "Item", "width=600:height=500"); 10 11 } else { 12 //Ʊ¤¸¥¦¥¤¥ó¥É¥¦¤Ç³«¤¯¾ì¹ç 13 wUrl = "./?mode=ITEM2&p_id=" + product_id; 14 location.href=wUrl; 15 } 16} 17 18//*********************** 19//¾¦ÉʤξܺÙɽ¼¨(¾ðÊó¤Î¤ß) 20//*********************** 21function f_showItem2(product_id) { 22 wUrl = "./?mode=ITEM&state=INFO&p_id=" + product_id; 23 gf_OpenNewWindow(wUrl, "Item", "width=600:height=500"); 24} 25 26 27//************************ 28//¸Ä¿ô¤¬£°¤À¤Ã¤¿¤é¥¢¥é¡¼¥È 29//************************ 30function f_check_num(select) { 31 if(select.value == 0) { 32 window.alert("¸Ä¿ô¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£"); 33 return false; 34 } else { 35 return true; 36 } 37} 38 39//*********************************** 40//¸Ä¿ôUP¡¦DOWN¥Ü¥¿¥ó½èÍý 41//*********************************** 42function f_change_num2(select, pType, pMinNum, pStockNum) { 43 if( select.value.match(/[^0-9]/)){ select.value = pMinNum; return; } 44 wNum = parseInt(select.value); 45 if (pType == "0" && wNum > pMinNum) { 46 select.value = String(wNum-1); 47 } 48 if (pType == "1") { 49 if (pStockNum) { 50 if (wNum >= pStockNum) return; 51 } 52 select.value = String(wNum+1); 53 } 54} 55//*********************************** 56//¸µ¤Î¥¦¥£¥ó¥É¥¦¤òÁàºî 57//*********************************** 58function f_opener_move(URL) { 59 if(opener.closed) { 60 NewWin=window.open("","blank"); 61 NewWin.location.href=URL; 62 } else { 63 opener.location.href=URL; 64 } 65 window.close(); 66} 67 68function f_opener_reload() { 69 opener.location.reload(); 70 window.close(); 71} 72 73//************************************************************************************** 74//////////////////// »ØÄꥵ¥¤¥º¤Ç¥¦¥£¥ó¥É¥¦¤ò³«¤¡¢¥»¥ó¥¿¡¼¤Ëɽ¼¨ ////////////////// 75//-------------------------------------------------------------------------------------- 76// gf_OpenNewWindow(URL,NAME,SIZE) 77// SIZE¤Ï¡¢"width=800:height=600"¤Î¤è¤¦¤ËÆþÎϤ·¤Æ¤¯¤À¤µ¤¤ 78//************************************************************************************** 79function gf_OpenNewWindow(pURL,pName,pSize){ 80 var wWidth,wHeight; 81 var wSize,wFeatures; 82 var wLeft,wTop,PositionX,PositionY; 83 84 wWidth = window.screen.availWidth/2; 85 wHeight = window.screen.availHeight/2; 86 wSize = pSize.split(":"); 87 wLeft = wSize[0].split("="); 88 wTop = wSize[1].split("="); 89 PositionX = wWidth-wLeft[1]/2; 90 PositionY = wHeight-wTop[1]/2; 91 92 wFeatures = wSize+",left="+PositionX+",top="+PositionY; 93 wWindow = window.open(pURL,pName,wFeatures+",scrollbars=yes,status=yes,resizable=yes"); 94 95 wWindow.focus(); 96} 97 98 99function empt_cart() { 100 if(confirm ("¥«¡¼¥È¤ÎÃæ¿È¤ò¶õ¤Ë¤·¤Æ¤â¤è¤í¤·¤¤¤Ç¤¹¤«¡©")) { 101 document.location.href = "./?mode=cart&empt=1"; 102 } 103} 104 105//*********************************** 106//¥á¡¼¥ë¥Þ¥¬¥¸¥ó¤ÎÅÐÏ¿¡¦²ò½ü 107//*********************************** 108function mm_send(Type) { 109 document.frm.type.value = Type; 110 document.frm.submit(); 111} 112 113//*********************************** 114//Email¤Î·Á¼°¥Á¥§¥Ã¥¯ 115//*********************************** 116function validate_email(Email) { 117 118 if(!Email.match(/^[a-zA-Z0-9./?+_-]+\@[a-zA-Z0-9._-]+$/)) { 119 return false; 120 } 121 return true; 122} 123
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.