--> **/
function smaregi_shop_stock_status(n,t,i){n==123456789?$(".ds_info.smaregi_shop_"+i+" .ds_stock span").html("取り扱い
なし"):n==0?$(".ds_info.smaregi_shop_"+i+" .ds_stock span").text("在庫なし"):n<3?$(".ds_info.smaregi_shop_"+i+" .ds_stock span").text("残りわずか"):n>2&&$(".ds_info.smaregi_shop_"+i+" .ds_stock span").text("在庫あり");n==0&&t==1&&$(".ds_info.smaregi_shop_"+i+" .ds_stock span").html("廃盤のため
在庫なし")}function tds_stock_status(n,t){n==123456789?$(".ds_stock span").html("取り扱い
なし"):n==0?$(".ds_stock span").text("在庫なし"):n<3?$(".ds_stock span").text("残りわずか"):n>2&&$(".ds_stock span").text("在庫あり");n==0&&t==1&&$(".ds_stock span").html("廃盤のため
在庫なし")}function ds_substr(n,t,r){var o;r===undefined&&(r="");var f=n.split(""),u=0,e="";for(i=0;it)return e+r;e+=n.charAt(i)}return n}function top_search(){var n,t,i;i=$("#top_search .text_main .text").val();t={1:"s1_category=1&s3_category2=1",2:"s1_category=2&s3_category2=94",3:"s1_category=3&s3_category2=190",4:"s1_category=4&s3_category2=251",5:"s1_category=5&s3_category2=297",6:"s1_category=6&s3_category2=371",7:"s1_category=7&s3_category2=422",8:"s1_category=8&s3_category2=455",9:"s1_category=9&s3_category2=512",10:"s1_category=10&s3_category2=564",11:"s1_category=11&s3_category2=643"}[$("#top_search .select_main .select option:selected").val()];i==""&&t!=""&&t!=undefined?n="?"+t:"";i!=""&&(t==""||t==undefined)?n="?search="+i:"";i!=""&&t!=""&&t!=undefined?n="?"+t+"&search="+i:"";n=n==""||n==undefined?"?ord=6":n+"&ord=6";$.cookie("disp_haiban")=="1"?n=n+"&out_product=0":"";location.href="https://item.s-darts.com/search/smartphone"+n}function rankDisp(n,t){var i=0;i=n==1?7:17;$(".ul0301r:gt("+String(t)+"):lt("+String(i)+")").show();i>=$(".ul0301r").length-3?$(".player_recommendDl:last .more_disp").hide():$(".player_recommendDl:last .more_disp").attr("onClick","rankDisp("+String(n+1)+","+String(i)+")");i>=$(".ul0301r").length-3?$(".player_recommendDl:last .player_model_more").show():""}function recDisp(n,t){var i=n*5;$(".ul0301b:gt("+String(t)+"):lt("+String(i)+")").show();i>=$(".ul0301b").length-3?$("#recommendDl .more_disp").hide():$("#recommendDl .more_disp").attr("onClick","recDisp("+String(n+1)+","+String(i)+")")}function GetCookie(n){var i=new RegExp("; "+n+"(=([^;]*))?;"),r=document.cookie,t=("; "+document.cookie+";").match(i);return ord=t?t[2]:""}function DelCookie(n){var t=new Date;t.setTime(0);document.cookie=n+"=;expires="+t.toGMTString()}function del_s_login_cookie(){s_login_id="";s_account_key="";var n=new Date;n.setTime(0);document.cookie=s_login_id+"_key=dummy;path=/; expires="+n.toGMTString();document.cookie="s_login_id="+s_login_id+";path=/; domain=.s-darts.com; expires="+n.toGMTString();document.cookie="s_account_key="+s_account_key+";path=/; domain=.s-darts.com; expires="+n.toGMTString()}function set_s_login_cookie(){s_login_id=GetCookie("login_id");check_s_login_id=GetCookie("s_login_id");dd=new Date;dd.setTime(dd.getTime()+7776e6);login_flg=!1;document.ssl_idinfo_form&&document.ssl_idinfo_form.login_id&&document.ssl_idinfo_form.login_id.value!=""&&(login_flg=!0,form_s_login_id=document.ssl_idinfo_form.login_id.value,(s_login_id!=form_s_login_id||check_s_login_id!=form_s_login_id)&&(document.cookie="login_id="+form_s_login_id+";path=/; expires="+dd.toUTCString(),document.cookie="s_login_id="+form_s_login_id+";path=/; domain=.s-darts.com; expires="+dd.toUTCString(),s_account_key=GetCookie(s_login_id+"_key"),s_account_key!=""&&(document.cookie=s_login_id+"_key="+s_account_key+";path=/; expires="+dd.toUTCString(),document.cookie="s_account_key="+s_account_key+";path=/; domain=.s-darts.com")));login_flg||location.hostname.indexOf("item")==-1&&location.hostname.indexOf("gmap")==-1&&location.hostname.indexOf("top")==-1&&(location.pathname.indexOf("page583")==-1||location.pathname.indexOf("page211")==-1)&&del_s_login_cookie()}function page_back_href(n){var t=parent.location.pathname,i=parent.location.search,r=parent.location.host;document.cookie="login_page_pathname="+t+"; path=/; domain=.s-darts.com;";document.cookie="login_page_search="+i+"; path=/; domain=.s-darts.com;";document.cookie="login_page_host="+r+"; path=/; domain=.s-darts.com;";location.href=n}function login_page_href2(){var n=GetCookie("login_page_pathname2"),t=GetCookie("login_page_search2"),i=GetCookie("login_page_host2");document.cookie="login_page_pathname2=deleted; path=/; domain=.s-darts.com;";document.cookie="login_page_search2=deleted; path=/; domain=.s-darts.com;";location.href=i==""?"//www.s-darts.com"+n+t:"//"+i+n+t}function login_page_href2_check(){var n=GetCookie("login_page_pathname2");return n&&n!="deleted"&&(location.pathname=="/"||location.pathname=="/index.html"||location.pathname=="/smartphone/"||location.pathname=="/smartphone/index.html")?!0:!1}function login_page_href_main(){var n=GetCookie("login_page_pathname"),i=GetCookie("login_page_search"),r=GetCookie("login_page_host"),t,u,f;if(s_login_id=GetCookie("s_login_id"),parent.location.search.match(/return_link=login/g)){console.log(":");document.cookie="login_page_pathname=deleted; path=/; domain=.s-darts.com;";document.cookie="login_page_search=deleted; path=/; domain=.s-darts.com;";document.cookie="review_redirect_url=; domain=s-darts.com; path=/;";return}n&&n!="deleted"&&(document.cookie="login_page_pathname=deleted; path=/; domain=.s-darts.com;",document.cookie="login_page_search=deleted; path=/; domain=.s-darts.com;",n=="/html/page424.html"?(t="",t=navigator.userAgent.toLowerCase(),t.indexOf("safari")!=-1?(t.indexOf("chrome")!=-1&&(location.href="/shopbrand/637/O/"),document.referrer.indexOf("/shopbrand/637/O/")!=-1?u="xxx":location.href="/shopbrand/637/O/"):location.href="/shopbrand/637/O/"):n=="/html/page472.html"||n=="/html/page458.html"?location.href=n+i+"#cp_form_box":location.pathname=="/html/page404.html"||n=="/smartphone/page211.html"&&s_login_id=="phoenixeye"||(location.href=r==""?"//www.s-darts.com"+n+i:r=="top.s-darts.com"?"//top.s-darts.com":"//"+r+n+i));f=window.navigator.userAgent.toLowerCase();location.hostname=="www.s-darts.com"&&location.pathname=="/"&&ieCheck()&&(location.href="//top.s-darts.com/")}function login_page_href(){login_page_href2_check()?login_page_href2():login_page_href_main()}function cart_continue_href(){var n=GetCookie("cart_continue_pathname"),t=GetCookie("cart_continue_search"),i=GetCookie("cart_continue_host");n&&n!="deleted"?(document.cookie="cart_continue_pathname=deleted; path=/; domain=.s-darts.com;",document.cookie="cart_continue_search=deleted; path=/; domain=.s-darts.com;",location.href=i==""?"https://www.s-darts.com"+n+t:"https://"+i+n+t):location.href="https://www.s-darts.com"}function addScript(n){var i=$("#hidden_logintypez .s-darts_id").val(),u,t,r;i||(i=$("input.s-darts_id").val());params_flg=n.match(/\?/m);i&&(u="?",params_flg&&(u="&"),n=n+u+"uid="+i);t=document.createElement("script");t.setAttribute("src",n);t.setAttribute("charset","UTF-8");t.setAttribute("defer",!0);document.getElementById("header")||(r=document.createElement("div"),r.id="header",document.getElementById("wrapper")?document.getElementById("wrapper").appendChild(r):$("fotter").after(r));document.getElementById("header").appendChild(t)}function newXMLHTTP(){if(window.XMLHttpRequest)return new XMLHttpRequest;if(window.ActiveXObject)try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(n){try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(n){}}return null}function sendCart(n,t,i,r){var o,u,e,f;if(i==undefined&&(i=9999),o=checkInputAmount(n),o){if(u=newXMLHTTP(),eval("var amount_count = $('#input_"+n+"').val()"),e=!1,amount_count>i&&(amount_count=i,e=!0),f="https://www.s-darts.com/shop/basket.html?brandcode="+n+"&amount="+amount_count,r&&r!=""&&(f=f+"&opts="+r+","),u==null){location.href=f;return}send_cart_display_log_flg=!0;retry_flg=!0;u.open("GET",f,!0);u.setRequestHeader("If-Modified-Since","Thu, 01 Jun 1970 00:00:00 GMT");u.onreadystatechange=function(){var h,l;if(u.readyState==4&&u.status==200){var i=u.responseText,r=i.match(/ --> **/
(function(n){n.fn.fliqlo=function(t){function c(t){h&&(r=0,u=n(window).width(),y=u*(s-1),v=r/u,a=o.img_width,l(),a>u&&(a=u),n(f).css({margin:0,width:u,height:"auto"}),n("ul",f).css({width:u*s,height:n("ul li",f).height()}),n("ul li",f).css({display:"inline-block",width:u,height:"auto"}),n("ul li div",f).css({"-webkit-box-sizing":"border-box",width:a,height:"auto",margin:"0 auto",padding:"0 0 4px"}),setTimeout(function(){for(i=0;i5&&(t.preventDefault(),moveX=r+diffX,n("ul",f).css({"-webkit-transition":"none","-webkit-transform":"translate3d("+moveX+"px, 0, 0)"}))):t.type=="touchend"&&(diffX>20?e(1):diffX<-20?e(2):e(r))}function l(){clearInterval(w)}function b(){n("#slide_navi").length||(k(),c());w=setInterval(function(){r==y*-1?(o.loop||l(),e(0)):e(2)},o.slide_duration)}function e(t){t==0?r=0:t==1&&r!=0?r+=u:t==2&&r!=y*-1?r-=u:r=r;n("ul",f).css({"-webkit-transition":"-webkit-transform "+o.slide_speed+"ms cubic-bezier(0, 0, 0.25, 1)","-webkit-transform":"translate3d("+r+"px, 0, 0)"});v=r/u*-1;n("#center_navi ul li").css({background:"#ccc"}).eq(v).css({background:"#666"})}function k(){n(f).after('\t\t\t\t