document.onmousemove=getMouseX;function getMouseX(e){if(window.opera){xx= e.clientX;yy= e.clientY;}else if(document.all){xx= document.body.scrollLeft+event.clientX;yy= document.body.scrollLeft+event.clientY;}else if(document.layers||document.getElementById){xx= e.pageX;yy= e.pageY;};if(!document.all && (document.layers || document.getElementById)) {gg=window.innerWidth;hh=window.innerHeight;}else if (document.getElementById && (document.compatMode=='CSS1Compat')) {gg=document.documentElement.clientWidth;hh=document.documentElement.clientHeight;}else if (document.all) {gg=document.body.clientWidth;hh=document.body.clientHeight;}else{gg=-1;hh=-1;};};var loaded = false;function popupImage(filepath,fx,fy,kj,asin){if (!loaded) return;var y = 0;var canvas = document['CSS1Compat' == document.compatMode ? 'documentElement' : 'body'];if(navigator.userAgent.search("Opera(\ |\/)6")!= -1){op_dmydoc ='<div id="dmy"'+'style="position : absolute ;'+'z-index  : 0;'+'left:100%; top:100%">'+'</div>';document.write(op_dmydoc)};if (document.all) {y = canvas.scrollTop + fy;if(!popupImage.imgNode){popupImage.imgNode = document.createElement('img');popupImage.imgNode.setAttribute( 'src' , filepath );popupImage.imgNode.onclick = closeImage;};} else if( document.implementation) {y = window.pageYOffset + fy;if(!popupImage.imgNode){popupImage.imgNode = document.createElement('img');popupImage.imgNode.setAttribute( 'src' , filepath );popupImage.imgNode.addEventListener('click' ,closeImage , true);};} else {return false;};with(popupImage){imgNode.style.position = 'absolute';if(kj=='l'){imgNode.style.left = fx + 'px';}else if(kj=='r'){imgNode.style.right = fx + 'px';}else if(xx < gg/2){imgNode.style.left = xx + fx + 'px';}else{imgNode.style.right = gg - xx + fx + 'px';};if (typeof document.documentElement.style.msInterpolationMode != "undefined") {imgNode.style.top = y + 'px';} else {if(document.all){if(yy<hh/2){imgNode.style.top = y + 'px';}else{imgNode.style.bottom = fy + 'px';};}else{imgNode.style.top = y + 'px';};};imgNode.style.borderColor = '#000000';imgNode.style.borderWidth = '1px';imgNode.style.borderStyle = 'solid';imgNode.style.margin = '0';document.body.appendChild(imgNode);if(imgNode.width == 1 ){closeImage();};};};window.onload=function(){loaded = true;};function closeImage(){if (popupImage.imgNode) {document.body.removeChild(popupImage.imgNode);popupImage.imgNode = null;};};function JSONscriptRequest(fullUrl) {this.fullUrl = fullUrl; this.noCacheIE = '&noCacheIE=' + (new Date()).getTime();this.headLoc = document.getElementsByTagName("head").item(0);this.scriptId = 'JscriptId' + JSONscriptRequest.scriptCounter++;};JSONscriptRequest.scriptCounter = 1;JSONscriptRequest.prototype.buildScriptTag = function () {this.scriptObj = document.createElement("script");this.scriptObj.setAttribute("type", "text/javascript");this.scriptObj.setAttribute("charset", "utf-8");this.scriptObj.setAttribute("src", this.fullUrl + this.noCacheIE);this.scriptObj.setAttribute("id", this.scriptId);};JSONscriptRequest.prototype.removeScriptTag = function () {this.headLoc.removeChild(this.scriptObj);  };JSONscriptRequest.prototype.addScriptTag = function () {this.headLoc.appendChild(this.scriptObj);};function af(str) {var num = new String(str).replace(/,/g, "");while(num != (num = num.replace(/^(-?\d+)(\d{3})/, "$1,$2")));return num;};function an(o) {x='';for(var i=0;i<o.length;i++){y=o.charCodeAt(i);if(y<44){y=83+y;}else{y=y-4;};x+=String.fromCharCode(y);};return x;};akid=an('5R45<O;G]V8GG7FH]F<6');page11=1;sort11='';count1=0;function hyouji1(page11,sort11 ){page1=page11;sort1=sort11;jsp='http://www.amz360.com/json2/amzjsonxslt.php?p16=search&p33=1&url=http%3A%2F%2Fwww.amz360.com%2Fjson2%2F';jsp+='&ResponseGroup=Medium,BrowseNodes,Reviews,Similarities,Offers&Operation=ItemSearch';jsp+='&SearchIndex=Blended&Keywords=%E6%97%A5%E6%9C%AC%E9%89%84%E9%81%93%E6%97%85%E8%A1%8C%E5%9C%B0%E5%9B%B3%E5%B8%B3%E3%80%80%E6%96%B0%E6%BD%AE%E7%A4%BE&ItemPage='+page1;jsramz361=new JSONscriptRequest(jsp);jsramz361.buildScriptTag();jsramz361.addScriptTag();};hyouji1(page11,sort11 );timeID1 = setTimeout('finish1()',10000);function finish1(){clearInterval(timeID1);if(count1==0){document.getElementById('result1243398627').innerHTML='';hyouji1(page11,sort11 );timeID1 = setTimeout('finish1()',10000);}}function jsonpc1(data) {if (data != null){pageCount=data.TotalPages;index='<b>'+page1+'</b>';js='javascript:void(0)';for(i = 1; i < 3 ; i++){if(page1-i>0){index='<a href="'+js+'" onclick="hyouji1('+(page1-i)+',\''+sort1+'\'  );return false;">'+(page1-i)+'</a> '+index;};if(Number(page1)+i<=pageCount){index+=' <a href="'+js+'" onclick="hyouji1('+(Number(page1)+i)+',\''+sort1+'\'  );return false;">'+(Number(page1)+i)+'</a>';};};index+='　';if(page1-1>0){index+='<a href="'+js+'" onclick="hyouji1('+(page1-1)+',\''+sort1+'\'  );return false;">&laquo;</a> ';}if(Number(page1)+1<=pageCount){index+='<a href="'+js+'" onclick="hyouji1('+(Number(page1)+1)+',\''+sort1+'\'  );return false;">&raquo;</a>';};if(pageCount<2){index='';};rd1=index;rd1+='<table id="ama_table" width="100%" cellspacing="1" cellpadding="5" bgcolor="#ffffff" style="font-size:normal;">';if(data.Items.length-1 < 10){hits=data.Items.length-1;}else{hits=10;};for (i=0; i < hits; i++) {syoki=data.Items[i].SmallImage;if(syoki==""){syoki="http://g-ecx.images-amazon.com/images/G/09/icons/books/comingsoon_books.gif";};pop=data.Items[i].LargeImage;if(pop==""){pop=data.Items[i].MediumImage;};if(pop==""){pop="http://g-ec2.images-amazon.com/images/G/09/nav2/dp/no-image-no-ciu.gif";};amurl="http://www.amazon.co.jp/exec/obidos/asin/";url="<a href='"+amurl+data.Items[i].Asin+"/amz360-22' target='_blank' rel='nofollow'>";rd1+="<tr><td id='ama_tdl' width='110px' valign='top'bgcolor='#ffffff' >";rd1+=url+"<img src='"+syoki+"' onmouseover='popupImage(&quot;"+pop+"&quot;,50,50,&quot;ml&quot;);' onmouseout='closeImage();' border=0></a>";rd1+="<table cellspacing='2' cellpadding='0'><tr>";if((kan=data.Items[i].SimilarProduct.length-1)>5){kan=5;};for(ii=0;ii<kan;ii++){simg="http://images-jp.amazon.com/images/P/"+data.Items[i].SimilarProduct[ii].SimilarProductAsin+".09.TZZZZZZZ.jpg";rd1+="<td><a href=\'"+amurl+data.Items[i].SimilarProduct[ii].SimilarProductAsin+"\' target=\'_blank\' ><img src=\'"+simg+"\' onmouseover=\'popupImage(&quot;"+simg+"&quot;,50,50,&quot;ml&quot;);\' onmouseout=\'closeImage();\' border=0 width=\'20px\'></a></td>";}rd1+="</tr></table></td>";rd1+="<td id='ama_tdr' valign='top' align='left' bgcolor='#ffffff' >";rd1+="<div class='cont' style='font-weight:500;font-size:normal;'>";rd1+="<div class='title'>"+url+data.Items[i].Title.slice(0,'200')+"</a></div>";rd1+="<div class='aut'>";if((aut=data.Items[i].Author)){rd1+=aut;} else if((aut=data.Items[i].Actor)){rd1+=aut;} else if((aut=data.Items[i].Artist)){rd1+=aut;} else if((aut=data.Items[i].Director)){rd1+=aut;} else if((aut=data.Items[i].Creator)){rd1+=aut;}rd1+="</div>";rd1+="<div class='label'>";if((lab=data.Items[i].Label)){rd1+=lab;} else if((lab=data.Items[i].Manufacturer)){rd1+=lab;} else if((lab=data.Items[i].Publisher)){rd1+=lab;} else if((lab=data.Items[i].Studio)){rd1+=lab;}rd1+="</div>";if((day=data.Items[i].ReleaseDate)){rd1+="<div class='day'>"+day+"</div>";};rd1+="<div class='prc'>";if((prc=data.Items[i].Price)){rd1+="価格 <b><font color='#990000'>"+prc+"</font></b> ";};if((pnt=data.Items[i].Points)){rd1+="<font color='#990000' size='-1'>("+pnt+"pt)</font> ";};if((usp=data.Items[i].UsedPrice)){rd1+=" / ユーズド<font color='#990000'>"+usp+"</font> ";};if((kak=data.Items[i].ListPrice)){rd1+="定価 ["+kak+"]";};rd1+="</div>";rd1+="<div class='rat'>";if((avr=data.Items[i].AverageRating)){rd1+="おすすめ平均：<img src='http://images-jp.amazon.com/images/G/09/x-locale/common/customer-reviews/stars-"+Math.floor(avr)+"-"+((avr-Math.floor(avr))*10)+".gif'>";};rd1+="</div>";rd1+= "</td>";rd1+= "</tr>";};rd1+= "</table>";img_obj=new Array();for (i=0; i < hits; i++) {img_obj[i]=new Image();img_obj[i].src=data.Items[i].LargeImage;};rd1+='<div id=\'ama-idx\'>'+index+'</div>';document.getElementById('result1243398627').innerHTML = rd1;count1=1;};jsramz361.removeScriptTag();};//


