'; catecnt = catecnt + 1; } gscnt = gscnt +1; var searchgscnt = obj.list[i].pcnt; var showsearchgscnt = searchgscnt;//\¦ if(obj.list[i].pkind=='1'){ //TWFXg if(showsearchgscnt=='0'){ txt = txt + '
'; } else { txt = txt + '
'; } } else { if(showsearchgscnt=='0'){ txt = txt + '
'; } else { txt = txt + '
'; } } } txt = txt + ''; } suggestin.innerHTML = txt; suggest.style.display = 'block'; // ÎÛðzñ» elm = j$('ul#keywordsearchlist > li > a'); elm.each(function(indx){ var num = indx; elm_arr[indx] = j$(this); fcs_flg[indx] = false; j$(this).focusin(function(){ fcs_num = num; if( fcs_flg[indx] === false ){ fcs_flg[indx] = true; } fcs_flg[indx] = true; }).blur(function(){ fcs_flg[indx] = false; if( fcs_flg.indexOf(true) < 0 ) { fcs_num = 0; } }); }); //key_decision(); //1ÔÚÌõÊð\¦ showsuggestinner('sug0'); j$('ul#keywordsearchlist > li > a#sug0').css('background-color', '#eef3f9'); }}}}}, onFailure: function(request) { //alert('onFailure/'+ request.responseText); }, onException: function (request,e) { //alert('onException/'+ e); } } ); } else {suggestin.innerHTML = "";suggest.style.display = 'none';hidediv('suggest');}}function stopSuggestSearch() { if(sugReq !=null) sugReq.transport.abort();}//window.onload = function(){//initParm();var oldvalue = "";var keywordtxt = document.getElementById("txtGoodsSearchKeyword");var suggest = document.getElementById("suggest");var suggestsend_timeoutid = null;function checkKeyword(evt){evt = (evt) ? evt : event;var charCode = getKEYCODE(evt);if(Number(charCode) == 40){if(elm_arr[1]){ j$('ul#keywordsearchlist > li > a').css('background-color', '#ffffff'); j$('ul#categorysearchlist > li > a').css('background-color', '#ffffff'); elm_arr[1].css('background-color', '#eef3f9');elm_arr[1].focus();} else {elm_arr[0].focus();}} else { if(suggestsend_timeoutid){clearTimeout(suggestsend_timeoutid);} suggestsend_timeoutid = setTimeout(function() {var keyword = j$('#txtKeyword').val();keyword = keyword.replace("@", "");keyword = keyword.replace(/^\s+/, "");keyword = keyword.replace(/\s+$/, "");if((keyword == "" && suggest && suggest.style.display == 'block') || (oldvalue != j$('#txtKeyword').val())){suggestSearch(keywordtxt);oldvalue = j$('#txtKeyword').val();} }, 500);}//setTimeout(check,100);}//checkKeyword();//}var timerIdsuggestSearchhide=0;var nowshowtsuggest='';function inKeywordSearch(id){clearTimeout(timerIdsuggestSearchhide);j$('#'+id).attr('bufkw')nowshowtsuggest=j$('#'+id).attr('bufkw');//0.1bÔÆÇÜÁ½ê®ìtimerIdsuggestSearchhide = setTimeout(function() {showsuggestinner(id);}, 100);}var suginReq = null;function showsuggestinner(id){ var nowdatetime = getNowDateTime(); stopSuggestInSearch(); var sugobj = j$('#'+id); var kw = sugobj.attr('bufkw'); var keyword = sugobj.attr('bufkeyword'); var category = sugobj.attr('bufcate'); var sugsearchcnt = sugobj.attr('bufcnt'); var searchurl = sugobj.attr('href'); keyword = encodeURL(keyword); var suggestinner = document.getElementById("suggestinner"); if(kw != ""){ suginReq = new Ajax.Request( "/Forestway/ajaxrequest/", { "method": "get", "parameters": "DateTime="+nowdatetime+"&Mode=9"+category+"&q="+keyword, onSuccess: function(request) { }, onComplete: function(request) { if ((request.readyState == 4) && (request.status == 200)){ var result = request.responseText.trim();if(result != null && result != '') {var obj = YAHOO.lang.JSON.parse(result); //G[bZ[WªéêA[gð\¦·é(G[R[h0ÈOA©Â\¦pG[bZ[W¶Ý) if(obj.errcd && obj.errcd != 0){// if(obj.errcd != obj.errmsg){// showAlert('G[', obj.dspmsg+'\n\n'+obj.errmsg);// } else {// showAlert('G[', obj.dspmsg);// } alert('G[Å·'); } else { var listcnt = 0; if(obj.list){ listcnt = obj.list.length; } var txt = ''; if(sugsearchcnt=='0'){ txt = txt + '
'+kw+'
'; } else { txt = txt + '
'+kw+' ('+sugsearchcnt+'¤i)
'; } if(listcnt==0){ txt = txt + '
ÎÛf[^ªèܹñ
'; } //¤iê if(listcnt>0){ txt = txt + '
'+obj.list[i].gcd+' | '; txt = txt + ''+obj.list[i].gnm+' | '; txt = txt + '
'; } txt = txt + 'õÊð©é'; suggestinner.innerHTML = txt; suggestinner.style.display = 'block'; showdiv('suggestinner'); }}}}}); } else {suggestinner.innerHTML = "";suggestinner.style.display = 'none';hidediv('suggestinner');} clearTimeout(timerIdsuggestSearchhide);}function outsuggestinner(keyword){if(nowshowtsuggest == keyword){clearTimeout(timerIdsuggestSearchhide);stopSuggestInSearch();}}function stopSuggestInSearch() { if(suginReq !=null){ suginReq.transport.abort(); }}function cpnon(serialno, obj){//console.log('N[|«oµ\¦ serialno='+serialno);var couponid = 'cpnd'+serialno;var buffcpndiv = document.getElementById('copycpnd'+serialno);if(!buffcpndiv) {var cpndiv = document.createElement('div');cpndiv.id = 'copycpnd'+serialno;cpndiv.className = 'couponballoon';} else {cpndiv = buffcpndiv;hidediv(cpndiv.id);}cpndiv.innerHTML = document.getElementById(couponid).innerHTML;document.getElementById('coupon').appendChild(cpndiv);var parent = j$('#'+obj.id).offsetParent();var py = 0;// XN[Êif( j$("#fixed-header").css("position") == "fixed"){py = j$(window).scrollTop();// XN[Ê}var wra = j$('#wrapper').offset().left;// æʶ©çuwrappervdivÌ£var cpnwktop = j$("#couponwk").offset().top;j$('#copycpnd'+serialno).css("top",Math.round(j$('#'+obj.id).offset().top-py-80)+"px");j$('#copycpnd'+serialno).css("left",Math.round(j$('#'+obj.id).offset().left-wra+100)+"px");showdiv(cpndiv.id);}function cpnout(serialno){var buffcpndiv = document.getElementById('copycpnd'+serialno);if(buffcpndiv){var p = buffcpndiv.parentNode;p.removeChild(buffcpndiv);}}var sawgoodslist = Cookies.get('sawgoodslist');var sglist = new Array();var sglistcnt = 0;var sawgoodsexclude = new Array(); sawgoodsexclude.push('J637GV');if(sawgoodslist !== undefined){sglist = sawgoodslist.substr(1).split('/');sglistcnt = sglist.length - 1;for(i=0;i
Åß`FbNµ½¤i{ððSÄí
';txt = txt + '
';txt = txt + '
- ';for(i=0;i
';}txt = txt + '
';txt = txt + '
';txt = txt + '
';txt = txt + '<';txt = txt + '>';txt = txt + '
';txt = txt + '
";resultText += "";resultText += "
~
";resultText += "
";if(obj[0].ex01 != null && obj[0].ex01 == "2"){resultText += "
|Cg¤i
";} else {resultText += "
"+obj[0].otp+"~(Ų)
";}resultText += "
";resultText += "
椱»@lü¯ItBXÊÌÌtHXgEFCÖ
¥
- ·×ÄÌJeS[
- HiAù¿
- ybgK[fjO
- ãòi
- gi[CN
- ¨ð
- n`p
- t@C
- m[gE»i
- MLpï
- ¶ïE±pi
- l[óEX^v
- vCeBO
- ¶Æd
- fW^Æd
- ±@íEXÜ@í
- ôÜA´|
- ÆëpiúpGÝ
- Lb`Ee[upi
- Ð
- «ïìÆ
- bsOEïpi
- onoEf¦pi
- ItBXÆï
- CeAEQïEû[
- A}XgA
- ¨æèñ¹O
- jtH[
- N[EÃdCÎô
- ÅìEãÃ
- îìpiEq¶Þ¿
- ¤p@ípi
- ìÆpiEHï
- ÞèïEAEghA
- ¨à¿á
T[rX
j
[
¥
- ¶ïE±pi@@@@±@íEXÜ@í@@MLpï@@@@@@@m[gE»i@@@@t@C@@@@@@@n`p@@@@@@@gi[CN@@@@l[óEX^v@@ôÜA´|@@@@@@ÆëpiúpGÝ@@Lb`Ee[upiHiAù¿@@@@@@¨ð@@@@@@@@@«ïìÆìÆEHïbsOEïpi@onoEf¦pi@@@¶Ædd EƾfW^Æd@@@@@jtH[@@@@@ItBXÆï@@@@@CeAEQïEû[ãòi@@@@@@@@
- ¤p@ípi@@ÅìEãÃ@@@@@@îìpiEq¶Þ¿@@N[EÃdCÎô@
- ÞèïEAEghA@@ybgE|¨à¿áOÐA}
historywüðEĶ
wüàeAzóµðmFÅ«Ü·BLZAÔiECË౿ç©çB
star}CXg
涷é¤iâCÉÈé¤iðo^Å«Ü·BâprÊÉXgðª¯Äì¬Å«Ü·B
reorder¶ÔüÍ
¶Ôðü͵ġ̤iðÜÆßÄJ[gÉÇÁÅ«Ü·B
record_voice_over¤iNGXg
XÅæµ¢ÌÈ¢¤i̲v]ð¨ñ¹¾³¢B
æ鲿â
ÚÊÉA¨â¹ÉñµÄ¨èÜ·B
¨ uæ鲿âvÌÚ×ͱ¿ç
¨â¹Í±¿ç
dbŨâ¹Ìê
t[_C@0120-30-3014
IPdb©çÍ 048-610-3225 Ö
(Êb¿Í¨qlSÆÈèÜ·)
¨ql©ç̨dbÍA³mɲñ·é½ßÉAÊbàeð^¹³¹Ä¢½¾±ÆªèÜ·B
<< ¨â¹ótÔ >>
jú`àjú 9:00`19:00
yjú@@@@ 9:00`18:00
iújúANNnͨxÝj
WEB©ç¨â¹Ìê
¨â¹üÍtH[ͱ¿ç
ùɲo^³êÄ¢é¨qlÍA
OCµÄ¢½¾ÆA
X[Yɨâ¢í¹¢½¾¯Ü·B
²pKCh
- z¿É¢Ä
1,800~(Ų)Èã̲¶Å¿ÍÐSI
i*)ênæAI[_[Ch¤ið
¨ uz¿vÉ¢ÄÌÚ×ͱ¿ç - ¨x¥¢û@É¢Ä
ÜÆßĨx¥¢F÷ê¿*1bâs©®ø
²¶É¨x¥¢FNWbgJ[h | ãàø·
i*1 Uû@F䤿åâs/Rrj/âsUj
¨ u¨x¥¢û@vÉ¢ÄÌÚ×ͱ¿ç - ¨Í¯úÉ¢Ä
úܽÍXų́ͯiênæðj
QRæÍúzÂ\ißO11ÜÅ̲¶j
¨ u¨Í¯úÉ¢ÄvÉ¢ÄÌÚ×ͱ¿ç - ²¶ÌLZû@É¢Ä
²¶ã10ªÈàÈçLZÂ\B
¨ u²¶ÌLZû@vÉ¢ÄÌÚ×ͱ¿ç - ²ÔiÉ¢Ä
ÀSÌRUTúÔÔiÛØiêÔis¤iðj
¨ u²ÔivÉ¢ÄÌÚ×ͱ¿ç
tH[XgÉ¢Ä
GfBIO[vÌtH[Xg®ïЪ^cµÄ¨èÜ·B
- ïÐTv
TCgÉ¢Ä
ItBXpiÌ@lü¯ÊÌ
- ²pKCh
- ïõKñ
- vCoV[|V[
- ²p«
- Áè¤æø@ÉîÃ\L
- ècÆ@ÉîÃ\L
TCgÅÍASSLûÊMÉæèA¨ql©çÌîñðÛìµÄ¨èÜ·B
- ÖATCg
Âl̨qlͱ¿çÌTCgð²p¾³¢B
i2024/04/19@»Ýj
© Forest Corporation..
";//innerHTML += "
";//innerHTML += document.getElementById(id).innerHTML;//innerHTML += "
";//innerHTML += "
";innerHTML += "
";innerHTML += document.getElementById(id).innerHTML;innerHTML += "
";innerHTML += "
";resultText += document.getElementById(msgstooltipid).innerHTML;resultText += "
";cpndiv.innerHTML = resultText;document.getElementById('scrol-right-area').appendChild(cpndiv);showdiv(cpndiv.id);}function closemsgstooltip(){var id = 'copymsgstooltip';hidediv(id);}function addEvent(eventName, func) {if (eventName.substring(0, 2) == 'on') {eventName = eventNAme.substring(2);}if (window.addEventListener) { window.addEventListener(eventName, func, false);return true;}if (window.attachEvent) {window.attachEvent('on' + eventName, func);return true;}}function topLinkBtn () {var getTopPosition = j$(window).scrollTop();var topScrollLink = document.getElementById('top-scroll-link');if ( getTopPosition >= 300 ){if (!topScrollLink) {var toplink = document.createElement('div');toplink.innerHTML = "£";document.body.appendChild(toplink);} else {j$("#top-scroll-link").css("display","block");}} else {j$("#top-scroll-link").css("display","none");}}addEvent("scroll", topLinkBtn);function dispPopUpBanner () {var getTopPosition = j$(window).scrollTop();var popupid = '2403registcpb_pc';var existBanner = document.getElementById(popupid+'waku');var popupcookie = Cookies.get(popupid);if ( getTopPosition >= 300 ){if(popupcookie === undefined){ //CookieªéêAñ\¦Ýèð³êÄ¢é½ß\¦µÈ¢if (!existBanner) {var bannerDiv = document.createElement('div');var txt = '';txt = txt + '
';txt = txt + '';txt = txt + '';txt = txt + '';txt = txt + '
~
';txt = txt + '
ärXgɤiªüÁĢܹñ
'; } //ärXgê if(listcnt>0){ txt = txt + ''; var gscnt = 0; for (i = listcnt-1; i >= 0; i--) { gscnt = gscnt +1; txt = txt + '
'; txt = txt + ''; //txt = txt + ''+obj.list[i].gnm+''; txt = txt + '
'; } txt = txt + '
J[gɤiªüÁĢܹñ
'; } //J[gê if(listcnt>0){ txt = txt + ''+obj.list[i].gcd+' | '; txt = txt + ''+obj.list[i].gnm+' | '; txt = txt + ''; txt = txt + ' | '; txt = txt + '
¼' + (listcnt-3) + '_J[gàÉèÜ·
'; } } //|CgUPÄà ¦\¦µÈ¢ 10/17 kojima if(false && obj.preachprice && obj.preachprice != ''){ txt = txt + ''; txt = txt + '|CgUP¤iðÆ' + obj.preachprice + '~¨¢ã°ÅA
'; txt = txt + '|CgUP¤iÌ{¦' + obj.preachrt + '{I'; txt = txt + '
v_'+listcnt+'_
'; txt = txt + '¬v'+obj.subtatal+'~
'; txt = txt + '¿'+obj.postage+'~
'; txt = txt + '畁'+obj.tax+'~
'; txt = txt + 'v'+obj.tatal+'~
'; } txt = txt + 'J[gð©é'; $('cartfgoods').innerHTML = txt; }}}}, onFailure: function(request) { alert("onFailure"); }, onException: function (request, ex) { alert("onException:"+ex.message);} } ); }function rtnObj(id){var obj = document.getElementById(id);if(obj == null){return id;} else {return obj;}}function putcart4(sGoods, sGoodsImg, subid, cnt, sMainGoods) { putcart5(sGoods, sGoodsImg, subid, cnt, '', sMainGoods)}function putcart5(sGoods, sGoodsImg, subid, cnt, memo, sMainGoods) { var cntundefined = false;if(sMainGoods == undefined){sMainGoods = sGoods;}if(cnt == undefined){cntundefined = true;cnt = 1;} var nowdatetime = getNowDateTime();var b = new Ajax.Request("/Forestway/ajaxrequest/", {"method": "get", "parameters": "DateTime="+nowdatetime+"&cd="+sGoods+"&cnt="+cnt+"&memo="+memo+"&Mode=5&cntundefined="+cntundefined,onSuccess: function(request) { }, onComplete: function(request) { if ((request.readyState == 4) && (request.status == 200)){ var result = request.responseText.trim();if(result != null && result != '') {obj = YAHOO.lang.JSON.parse(result); if(subid == 'cart' && $('msgarea')){hidediv('msgarea');}if(obj[0].success == 'true'){$('msgarea'+subid+sMainGoods).innerHTML = '';hidediv('msgarea'+subid+sMainGoods);var putcart = $('putcart'+subid+sMainGoods);if(putcart){if(subid == 'cart'){putcart.className = 'putcartincart';} else if(subid == 'vari'){putcart.className = 'varithanks';} else {putcart.className = 'thanks';}}showdiv('cartinmsg'+subid+sMainGoods);gtag("event", "add_to_cart", {debug_mode : true, currency: "JPY", items: [{item_id: obj[0].gcd, item_name: obj[0].gnm, quantity: obj[0].gcnt, price: obj[0].price}], value: obj[0].price});}if(obj[0].msg != ''){if(subid == 'cart'){$('msgarea'+subid+sMainGoods).innerHTML = obj[0].msg;} else {$('msgarea'+subid+sMainGoods).innerHTML = obj[0].msg + '~
';}$('msgarea'+subid+sMainGoods).style.opacity = '1.00';if(subid == 'vari'){showMsgTooltip(subid, sMainGoods)} else {showdiv('msgarea'+subid+sMainGoods);}}if(cntundefined){var cntundefinedmsg = '³µ¢Êðæ¾Å«È©Á½½ßÊ1ðJ[gÉÇÁµÜµ½Bʪ2ÈãÌêͨèÅ·ªJ[gæÊÉÄÏXð¨è¢µÜ·B';if(subid == 'cart'){$('msgarea'+subid+sMainGoods).innerHTML = cntundefinedmsg;} else {$('msgarea'+subid+sMainGoods).innerHTML = cntundefinedmsg + '
妎
' + msg + '
';$('msgarea' + subid + sGoods).style.opacity = '1.00';showdiv('msgarea' + subid + sGoods);} else {hidediv('msgarea' + subid + sGoods);}if(cntundefined){var cntundefinedmsg = '³µ¢Êðæ¾Å«È©Á½½ßÊ1ðJ[gÉÇÁµÜµ½Bʪ2ÈãÌêͨèÅ·ªJ[gæÊÉÄÏXð¨è¢µÜ·B';$('msgarea' + subid + sGoods).innerHTML = '
' + cntundefinedmsg + '
';$('msgarea' + subid + sGoods).style.opacity = '1.00';showdiv('msgarea' + subid + sGoods);}$('cartcnt').innerHTML = obj[0].cnt;//$('cartprice').innerHTML = obj[0].price;$('cartpriceot').innerHTML = obj[0].priceOt;$('cartpoint').innerHTML = obj[0].point;$('cartnxtprice').innerHTML = obj[0].nxtprice;$('cartnxtpoint').innerHTML = obj[0].nxtpoint;if(obj[0].success == 'true' && obj[0].change == 'false'){//simplecartImgMove('simplecart'+subid+sGoods, sGoods, sGoodsImg, subid);}}}}, onFailure: function(request) { }, onException: function (request, ex) { } } ); }function simplecartImgMove(imgid, sGoods, sFile, subid) {var img = document.createElement('img');img.id = 'copy2'+imgid;if(subid == 'mystorage'){img.src = '/forest/goods/images/storage/s/'+sFile;} else {img.src = '/forest/goods/images/s/'+sFile;}img.style.opacity = '0.60';img.style.position = 'absolute';if(subid == 'mystorage'){img.style.width = '33px';img.style.height = '44px';} else {img.style.width = '60px';img.style.height = '40px';}var pos = YAHOO.util.Dom.getXY(imgid);var elem = $(imgid);img.style.left = pos[0] + 'px';img.style.top = pos[1] + 'px';var compareblank = YAHOO.util.Dom.getXY('simple-cartblank');var elem2 = $('cart-waku');realtop = 78;realleft = 9;img.style.left = realleft + 'px';img.style.top = realtop + 'px';if(subid == 'mystorage'){ img.style.width = '33px';img.style.height = '44px';} else { img.style.width = '48px';img.style.height = '32px';}img.style.opacity = '0.90';delgoodsimg(img.id);$('compgoods').appendChild(img);var simplecart = $(imgid);if(simplecart && simplecart.tagName == 'IMG'){simplecart.style.opacity = '0.01';} var myAnim2 = new YAHOO.util.Anim( img.id, { opacity: { to: 0.01 } }, 2, YAHOO.util.Easing.easeIn); function myAlert(args) {if(simplecart && simplecart.tagName == 'IMG'){ var myAnim3 = new YAHOO.util.Anim( simplecart.id, { opacity: { to: 1.00 } }, 3, YAHOO.util.Easing.easeIn)myAnim3.animate();}}myAnim2.onComplete.subscribe(myAlert, "complete");myAnim2.animate(); }function setcomparecnt(cnt) {cnt_obj = $("compare-cnt");if(cnt_obj){cnt_obj.innerHTML = '' + cnt + '_';}}function delgoodsimg(id) {if($(id) != undefined){$('compgoods').removeChild($(id));}}function delallgoodsimg() {}function compareini(){setcomparecnt(comparenowcnt);}addEvent('load', compareini);function showNewgoodslist(lcd, mcd, scd, catenm, newgoodsurl, page, lmt, nngt){ var nowdatetime = getNowDateTimeHHDD();var b = new Ajax.Request("/Forestway/ajaxrequest/", {"method": "get", "parameters": "DateTime="+nowdatetime+"&lcd="+lcd+"&mcd="+mcd+"&scd="+scd+"&nngt="+nngt+"&lmt="+lmt+"&Mode=10",onSuccess: function(request) { }, onComplete: function(request) {if ((request.readyState == 4) && (request.status == 200)){ var result = trim(request.responseText);resultText = "";if(result != null && result != '') {obj = YAHOO.lang.JSON.parse(result); var listcnt = 0; if(obj.list){ listcnt = obj.list.length; } if(obj.success = 'true' && ((listcnt>0 && page=='new') || (listcnt>4 && page != 'new'))){ var txt = ''; if(catenm==''){ if(lcd=='' && mcd=='' && scd==''){ txt = txt + 'V¤iEVKæµ¢¤ið±XÇÁI>>V ¤iðàÁÆ©é
±ÌJeSÌV ¤i
'; } } else { if(page=='cate'){ txt = txt + 'u'+catenm+'vÌV ¤i
'; } else if(page=='new'){ txt = txt + ''+catenm+'>>·×Ä©é
'; } else { txt = txt + 'u'+catenm+'vÌV ¤i
'; } } txt = txt + ''; if(page!='new'){ txt = txt + '
'; } else { txt = txt + '
'; } txt = txt + '
- '; for (var i = 0; i
- "; txt = txt + "";txt = txt + "
";txt = txt + "";txt = txt + "
";txt = txt + "
"+obj.list[i].price+"~ (Ų)
";txt = txt + "
";txt = txt + "
"+obj.list[i].newup+"
"+obj.list[i].updt+"
";txt = txt + "
"+obj.list[i].gnm+"
";}txt = txt + "
";txt = txt + "";txt = txt + "
"+obj.list[i].updt+"
"; } else { txt = txt + "
"; } txt = txt + ''; txt = txt + '
'; txt = txt + '<'; txt = txt + '>'; txt = txt + '
'; } txt = txt + ''; if(page=='new'){ j$("#newgoods-area"+lcd).html(txt); j$("#newgoods-area"+lcd).show(); } else { j$("#newgoods-area").html(txt); j$("#newgoods-area").show(); }if(page=='new'){ j$("#gdsCursor_new"+lcd).jCarouselLite({ circular: false });} else { j$("#gdsCursor_new").jCarouselLite({ btnNext: "#gdsCursorwaku_new .next", btnPrev: "#gdsCursorwaku_new .prev", speed: 600, circular: false, scroll: 4 });} }}}}, onFailure: function(request) { //alert("onFailure"); }, onException: function (request, ex) { //alert("onException:"+ex.message);} } ); }function showrankinggoodslist(lcd, mcd, scd, showid){var nowdatetime = getNowDateTimeHHDD();var b = new Ajax.Request("/Forestway/ajaxrequest/", {"method": "get", "parameters": "DateTime="+nowdatetime+"&lcd="+lcd+"&mcd="+mcd+"&scd="+scd+"&Mode=21",onSuccess: function(request) { }, onComplete: function(request) {if ((request.readyState == 4) && (request.status == 200)){ var result = trim(request.responseText);resultText = "";if(result != null && result != '') {obj = YAHOO.lang.JSON.parse(result); var listcnt = 0;if(obj.list){listcnt = obj.list.length;} if(obj.success = 'true'){if(listcnt > 0){var txt = '';txt = txt + '
';txt = txt + '
';txt = txt + '
- ';for (var i = 0; i
";txt = txt + "";var imageno = i+1;if(imageno <= 3){txt = txt + "
";} else {txt = txt + "
"+imageno+"
";}txt = txt + "
";txt = txt + "
"+obj.list[i].price+"~ (Ų)
";txt = txt + "
";txt = txt + "
"+obj.list[i].gnm+"
";if(obj.list[i].revcnt != '0'){txt = txt + "
";txt = txt + "";txt = txt + " ("+obj.list[i].revcnt+")"; txt = txt + "
";}txt = txt + "
';txt = txt + '
';txt = txt + '
';txt = txt + '<';txt = txt + '>';txt = txt + '
';txt = txt + '
';j$("#ranking-area"+showid).html(txt);j$("#ranking-area"+showid).show();j$("#ranking"+showid).css('visibility','visible'); j$("#gdsCursor_ranking"+showid).jCarouselLite({btnNext: "#gdsCursorwaku_ranking"+showid+" .next",btnPrev: "#gdsCursorwaku_ranking"+showid+" .prev",speed: 600,circular: false,scroll: 4});} else {j$("#ranking"+showid).hide();}}}}}, onFailure: function(request) { //alert("onFailure"); }, onException: function (request, ex) { //alert("onException:"+ex.message);} } ); }function showMylistgoodslist(){ var nowdatetime = getNowDateTimeHHDD();var b = new Ajax.Request("/Forestway/ajaxrequest/", {"method": "get", "parameters": "DateTime="+nowdatetime+"&Mode=18",onSuccess: function(request) { }, onComplete: function(request) {if ((request.readyState == 4) && (request.status == 200)){ var result = trim(request.responseText);resultText = "";if(result != null && result != '') {obj = YAHOO.lang.JSON.parse(result); var listcnt = 0; if(obj.list){ listcnt = obj.list.length; } if(obj.success = 'true' && listcnt>0){ var txt = '
'; txt = txt + '
Åß}CXgÉo^µ½¤i>>àÁÆ©é
'; txt = txt + '
'; for (var i = 0; i
|Cg¤i
";} else {txt = txt + ""+obj.list[i].price+"~ (Ų)
";}if(obj.list[i].adddt != ''){txt = txt + ""+obj.list[i].adddt+"";if(obj.list[i].difd == 0){txt = txt + "¡ú";} else if (obj.list[i].difd == 1) {txt = txt + "ðú";} else if (obj.list[i].difd <= 20) {txt = txt + ""+obj.list[i].difd+"úO";}txt = txt + "
";}//txt = txt + ""+obj.list[i].gnm+"
"; } txt = txt + '
'; j$("#mylist-area").html(txt); j$("#mylist-area").show(); if (listcnt<4) { j$(".mylistboxitem").css("width","25%"); } if(listcnt<6) { j$("#mylistbox").css("justify-content","flex-start"); j$(".mylistboxitem").css("margin","0px 20px 0px 0px"); } j$("#mylistgsimg"+listcnt).on('load', function() { j$('#mylistbox .mylistboxitem').matchHeight(); }); } else { j$("#mylist-area").html('
'); }}}}, onFailure: function(request) { //alert("onFailure"); }, onException: function (request, ex) { //alert("onException:"+ex.message);} } ); }function showMyListRegistCount(gs, iti){var nowdatetime = getNowDateTimeHHDD();var b = new Ajax.Request("/Forestway/ajaxrequest/", {"method": "get", "parameters": "DateTime="+nowdatetime+"&gs="+gs+"&Mode=11",onSuccess: function(request) { }, onComplete: function(request) {if ((request.readyState == 4) && (request.status == 200)){ var result = trim(request.responseText);resultText = "";if(result != null && result != '') {obj = YAHOO.lang.JSON.parse(result); if(obj.success = 'true'){var resistcnt = obj.registcnt;if(resistcnt >= 1){j$("#mylistregistheart"+iti).css('display','inline-block');j$("#mylistregistcnt"+iti).html(""+toPlace(resistcnt)+""); j$("#mylistregistcntwk"+iti).css('display','inline-block');} else{j$("#mylistregistcntwk"+iti).hide();}}}}}, onFailure: function(request) { //alert("onFailure"); }, onException: function (request, ex) { //alert("onException:"+ex.message);} } ); }function showLoginUserMyListRegistCount(gs, iti, page){var nowdatetime = getNowDateTimeHHDD();var b = new Ajax.Request("/Forestway/ajaxrequest/", {"method": "get", "parameters": "DateTime="+nowdatetime+"&gs="+gs+"&Mode=17",onSuccess: function(request) { }, onComplete: function(request) {if ((request.readyState == 4) && (request.status == 200)){ var result = trim(request.responseText);resultText = "";if(result != null && result != '') {obj = YAHOO.lang.JSON.parse(result); if(obj.success = 'true'){var userresistcnt = obj.userregistcnt;if(userresistcnt >= 1){if( page == 'goodsinfo' ){ j$("#PutCatalog"+iti).html('♥}CXgo^'); j$("#PutCatalog"+iti).css('color','#ed6b6b'); //j$("#PutCatalog"+iti).attr('class', 'combtn'); //j$("#PutCatalog"+iti).css({'background-color':'#fff','color': '#ed6b6b','border-radius':'5px','cursor':'default'}); //j$("#PutCatalog"+iti).removeAttr('onclick'); j$("#mylistregistheart"+iti).html('♥'); j$("#mylistregistcnt"+iti).css('color','#ed6b6b'); j$("#mylistregistheart"+iti).css('color','#ed6b6b'); j$(".persons").css('color','#ed6b6b');} else {j$("#mylistregistheart"+iti).html('♥');j$("#mylistregistheart"+iti).css('color','#ed6b6b');j$("#mylistregistcnt"+iti).css('color','#ed6b6b');}}}}}}, onFailure: function(request) { //alert("onFailure"); }, onException: function (request, ex) { //alert("onException:"+ex.message);} } ); }function showNewestOrder1(gs, page){var nowdatetime = getNowDateTimeHHDD();var b = new Ajax.Request("/Forestway/ajaxrequest/", {"method": "get", "parameters": "DateTime="+nowdatetime+"&gs="+gs+"&Mode=13",onSuccess: function(request) { }, onComplete: function(request) {if ((request.readyState == 4) && (request.status == 200)){ var result = trim(request.responseText);resultText = "";if(result != null && result != '') {obj = YAHOO.lang.JSON.parse(result);if(obj.success == true){var oddt = obj.oddt;if( page == 'variation' ){j$("#neworder"+obj.gs).html("wüL");} else if( page == 'present' ){j$("#neworder"+obj.gs).html(""+oddt+"ɶ");} else {j$("#neworder"+obj.gs).html(""+oddt+"ɶ");if( page == 'goodsinfo' ){j$("#neworder"+obj.gs).css('display','table');} else {j$("#neworder"+obj.gs).css('display','inline-block');}}} else {j$("#neworder"+gs).hide();}}}}, onFailure: function(request) { //alert("onFailure"); }, onException: function (request, ex) { //alert("onException:"+ex.message);} } ); }function showGoodsReviewStar(sGoods, page, isUpdateMatchHeight){var nowdatetime = getNowDateTimeHHDD();var b = new Ajax.Request("/Forestway/ajaxrequest/", {"method": "get", "parameters": "DateTime="+nowdatetime+"&cd="+sGoods+"&Mode=6",onSuccess: function(request) { }, onComplete: function(request) {if ((request.readyState == 4) && (request.status == 200)){ var result = trim(request.responseText);resultText = "";if(result != null && result != '') {obj = YAHOO.lang.JSON.parse(result);if(obj[0].revcnt && obj[0].revcnt != '' && obj[0].revcnt > 0){nOverComment = 0;resultText += "
";if(obj[0].revcnt >= nOverComment){resultText += "";} else {resultText += "";}if(page == 'htdocs'){resultText += " "+obj[0].revcnt+"̤ir [";} else {resultText += " ("+obj[0].revcnt+")";}resultText += "
";j$("#revstar"+obj[0].gd).html(resultText);if(page == 'original' && isUpdateMatchHeight){j$.fn.matchHeight._maintainScroll = true; j$.fn.matchHeight._update();}} else {j$("#revstar"+obj[0].gd).css('display','none');}}}}, onFailure: function(request) { //alert("onFailure"); }, onException: function (request, ex) { //alert("onException:"+ex.message);} } ); }function showNoticePopup(nid, nseq, sdt){j$("#inline-notice-modal").html(j$("#notice"+nid+nseq).html());j$('.popup-notice-modal').magnificPopup('open');if(sdt == ''){ var nowdatetime = getNowDateTimeHHDD();var b = new Ajax.Request("/Forestway/ajaxrequest/", {"method": "get", "parameters": "DateTime="+nowdatetime+"&nseq="+nseq+"&nid="+nid+"&kbn=s&Mode=16",onSuccess: function(request) { }, onComplete: function(request) {if ((request.readyState == 4) && (request.status == 200)){ var result = trim(request.responseText);resultText = "";if(result != null && result != '') {obj = YAHOO.lang.JSON.parse(result); }}}, onFailure: function(request) {//alert("onFailure"); }, onException: function (request, ex) { //alert("onException:"+ex.message);} } ); }}function closeNoticePopup(){j$('.popup-notice-modal').magnificPopup('close');}function hideNotice(nid, nseq, title){if(window.confirm('u'+title+'v\nbZ[Wðñ\¦ÉµÄæ뵢ŷ©H')){ var nowdatetime = getNowDateTimeHHDD();var b = new Ajax.Request("/Forestway/ajaxrequest/", {"method": "get", "parameters": "DateTime="+nowdatetime+"&nseq="+nseq+"&nid="+nid+"&kbn=d&Mode=16",onSuccess: function(request) { }, onComplete: function(request) {if ((request.readyState == 4) && (request.status == 200)){ var result = trim(request.responseText);resultText = "";if(result != null && result != '') {obj = YAHOO.lang.JSON.parse(result); closeNoticePopup(); j$("#notice-area").hide();showNotice();}}}, onFailure: function(request) {//alert("onFailure"); }, onException: function (request, ex) { //alert("onException:"+ex.message);} } ); }}function showNotice(){ var nowdatetime = getNowDateTimeHHDD();var b = new Ajax.Request("/Forestway/ajaxrequest/", {"method": "get", "parameters": "DateTime="+nowdatetime+"&Mode=15",onSuccess: function(request) { }, onComplete: function(request) {if ((request.readyState == 4) && (request.status == 200)){ var result = trim(request.responseText);resultText = "";if(result != null && result != '') {obj = YAHOO.lang.JSON.parse(result); if(obj.success){ var listcnt = 0; if(obj.list){ listcnt = obj.list.length; } if(!obj.list[0].over){ var txt = ''; txt = txt + '
'; txt = txt + '
1ÌbZ[WF | '; txt = txt + ''+obj.list[0].t+' | '; txt = txt + '¡ãÍ\¦µÈ¢ | '; txt = txt + '
'; txt = txt + '
'; var years = (obj.list[0].val1 == '' || !isNumber(obj.list[0].val1)) ? 0 : Number(obj.list[0].val1); var modaltxt = ''; modaltxt = modaltxt + '
'; if(j$('#notice'+obj.list[0].nid+obj.list[0].nseq)){ j$('#notice'+obj.list[0].nid+obj.list[0].nseq).remove(); } j$('body').append(modaltxt); if(j$("#notice-area")){ j$("#notice-area").html(txt); j$("#notice-area").show(); } j$(function() { j$('.popup-notice-modal').magnificPopup({ type: 'inline', preloader: false, showCloseBtn: false }); }); } }}}}, onFailure: function(request) {//alert("onFailure"); }, onException: function (request, ex) { //alert("onException:"+ex.message);} } ); }function isNumber( num ) {var regex = new RegExp(/^[0-9]+$/);return regex.test(num);}//-->