<!--
function check()
{
pno1 =document.myform.brand.options.selectedIndex;
sch1 =document.myform.brand.options[pno1].text;
pno2 =document.myform.color.options.selectedIndex;
sch2 =document.myform.color.options[pno2].text;
pno3 =document.myform.gara.options.selectedIndex;
sch3 =document.myform.gara.options[pno3].text;
pno4 =document.myform.price.options.selectedIndex;
sch4 =document.myform.price.options[pno4].text;
sch5 =document.myform.checkText2.value;
c = 0;
w=window;
w.document.write('<FONT COLOR="#FF0000">リンクの商品番号をクリックすると新しいウィンドウが開いて詳細をご覧頂けます</FONT><BR>');w.document.write('<FONT COLOR="#666666">元に戻る場合はブラウザの「戻る」ボタンを押してください</FONT>');
w.document.write('<table border=1>');
w.document.write('<tr BGCOLOR=#FFFF99>');
dat1=dt[0].split('|');
w.document.write('<td width=50>'+dat1[0]+'</td>');
w.document.write('<td width=60>'+dat1[1]+'</td>');
w.document.write('<td width=150>'+dat1[2]+'</td>');
w.document.write('<td width=150>'+dat1[3]+'</td>');
w.document.write('<td width=150>'+dat1[4]+'</td>');
w.document.write('<td width=50>'+dat1[5]+'</td>');
w.document.write('</tr></table>');

<!--　　↓↓↓↓　ここをデータの最終番号＋１にする！！　-->
for(i=1; i<148; i++)
{
n=0;na1 = 0;na2 = 0;na3 = 0;na4 = 0;nb = 0;
dat1=dt[i].split('|');

n1= dt[i].indexOf(sch1,0);
if (n1 > -1 ){na1=1};
if (sch1 =='ブランドで探す' ){na1=1};
if (sch1 =='すべて' ){na1=1};
n1= dt[i].indexOf(sch2,0);
if (n1 > -1 ){na2=1};
if (sch2 =='色で探す' ){na2=1};
if (sch2 =='すべて' ){na2=1};
n1= dt[i].indexOf(sch3,0);
if (n1 > -1 ){na3=1};
if (sch3 =='柄で探す' ){na3=1};
if (sch3 =='すべて' ){na3=1};
n1= dt[i].indexOf(sch4,0);
if (n1 > -1 ){na4=1};
if (sch4 =='価格で探す' ){na4=1};
if (sch4 =='すべて' ){na4=1};
n1= dt[i].indexOf(sch5,0);
if (n1 > -1 ){nb=1};
if (sch5 =='' ){nb=1};
n= na1 + na2 + na3 + na4 + nb ;

if (n > 4)
{

for(j=0;j<dat1.length;j++) if (dat1[j]=='') dat1[j]='&nbsp;';
w.document.write('<table border=1>');
w.document.write('<tr>');
w.document.write('<td width=50><A href="'+dat1[5]+'" target=blank>'+dat1[0]+'</A></td>');
w.document.write('<td width=60><A href="'+dat1[5]+'" target=blank>'+'<IMG SRC="'+dat1[6]+'" border=0 width=60 height=60></A></td>');
w.document.write('<td width=150>'+dat1[1]+'</td>');
w.document.write('<td width=150>'+dat1[2]+'</td>');
w.document.write('<td width=150>'+dat1[3]+'</td>');
w.document.write('<td width=50>'+dat1[4]+'</td>');
w.document.write('</tr></table>');
c=c+1;
}
}
if (c > 0)
w.document.write('指定した条件のネクタイは' + c + '件ありました</body></html>') 
else
{
w.document.write('<BR>申し訳ございません。表示中にご指定の商品はありませんでした。<BR>');
}
w.document.close();
}
// -->
