function Rank_Frame(n){
R_cate = new Array(1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1);//フラグ用配列

//テーブル始まり
document.write("<table width='200' border='0' cellspacing='0' cellpadding='0'><tr>");
document.write("<td bgcolor='#000099'><table width='200' border='0' cellpadding='0' cellspacing='1'>");
document.write("<tr> <td height='20' background='http://www.scythe.co.jp/images/p_bg01m.gif' class='new'>　Weｂアクセスランキング</td>");
document.write("</tr><tr><td align='center' valign='top' bgcolor='#FFFFFF' class='main'> ");
document.write("<table width='190' border='0' cellspacing='0' cellpadding='0'><tr> ");

//日付
document.write("<td height='5'></td></tr><tr><td class='main'><span class='red'>8月22日〜8月28日集計</span><br> ");

//カテゴリランキング表示
document.write("<hr size='1' noshade> <span class='copy2'>CPU Cooler</span><br> ");
Rank_cc(R_cate[9-n]);
document.write("<hr size='1' noshade> <span class='copy2'>Case Fan</span><br>");
Rank_cf(R_cate[10-n]);
document.write("<hr size='1' noshade> <span class='copy2'>Cooling Accessory</span><br>");
Rank_ca(R_cate[11-n]);
document.write("<hr size='1' noshade> <span class='copy2'>PC Case</span><br>");
Rank_pc(R_cate[12-n]);
document.write("<hr size='1' noshade> <span class='copy2'>Power Supply</span><br>");
Rank_ps(R_cate[13-n]);
document.write("<hr size='1' noshade> <span class='copy2'>Input Device</span><br>");
Rank_id(R_cate[14-n]);
document.write("<hr size='1' noshade> <span class='copy2'>HDD Accessory</span><br>");
Rank_ha(R_cate[15-n]);
document.write("<hr size='1' noshade> <span class='copy2'>Bay Accessory</span><br>");
Rank_ba(R_cate[16-n]);
document.write("<hr size='1' noshade> <span class='copy2'>Other Accessory</span><br>");
Rank_oa(R_cate[17-n]);

//テーブル終端
document.write("</td></tr></table></td></tr></table></td></tr></table><br>");


//サイズダイレクトショップ
document.write("<a href='http://scythe.my-store.jp' target='_blank'>");
document.write("<img src='http://www.scythe.co.jp/images/logo/direct-shop-logo.jpg' alt='Win7対応製品一覧' width='200' height='47' border='0'></a><br> ");
document.write("<img src='http://www.scythe.co.jp/images/spacer.gif' width='1' height='1' border='0'>");
//RoHS対応製品
document.write("<a href='http://www.scythe.co.jp/rohs-products.html' target='main'>");
document.write("<img src='http://www.scythe.co.jp/images/rohs/rohs-bar2.jpg' alt='RoHS対応製品一覧' width='200' height='47' border='0'></a><br> ");
document.write("<img src='http://www.scythe.co.jp/images/spacer.gif' width='1' height='1' border='0'>");
//CBL
document.write("<a href='http://www.scythe.co.jp/etc/cbl-service.html' target='main'>");
document.write("<img src='http://www.scythe.co.jp/images/logo/cbl-logo2.jpg' alt='データ復旧CBL' width='200' height='47' border='0'></a><br> ");
document.write("<img src='http://www.scythe.co.jp/images/spacer.gif' width='1' height='1' border='0'><br>");


//アワード
document.write("<table width='200' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr><td bgcolor='#000099'><table width='200' border='0' cellpadding='0' cellspacing='1'>");
document.write("<tr><td height='20' background='http://www.scythe.co.jp/images/p_bg01m.gif' class='new'>　受賞製品</td>");
document.write("</tr><tr><td align='center' valign='top' bgcolor='#FFFFFF' class='main'> ");

document.write("<table width='190' border='0' cellspacing='0' cellpadding='0'><tr><td height='5'></td></tr><tr> ");
document.write("<td class='main'>");

//BCN
document.write("<table width='200' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr><td><a href='http://www.scythe.co.jp/power.html' target='main'><img src='http://www.scythe.co.jp/images/award/bcn2010-psu.jpg' width='200' height='100' border='0'></a></td>");
document.write("</tr><tr><td class='main'><p><a href='http://www.scythe.co.jp/power.html' target='main'><strong>PC 電源部門</strong></a><br>BCN AWARD 2010<br>");
document.write("PC電源部門において4年連続で<br>最優秀賞をいただきました。<br>");
document.write("<a href='http://bcnranking.jp/' target='_blank'>BCNランキング</a></p></td></tr></table><br> ");
//BCN


//kakaku.com award
document.write("<table width='200' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr><td><a href='http://www.scythe.co.jp/cooler/ultra120ex-revc.html' target='main'>");
document.write("<img src='http://www.scythe.co.jp/images/award/kakaku-aw2009-u120ex-revc.jpg' width='200' height='100' border='0'></a></td>");
document.write("</tr><tr><td class='main'><p><a href='http://www.scythe.co.jp/cooler/ultra120ex-revc.html' target='main'>");
document.write("<strong>ULTRA120eXtreme Rev.C</strong></a><a href='http://kakaku.com/productaward/' target='_blank'><br>");
document.write("価格.comプロダクトアワード2009</a><br>");
document.write("<a href='http://kakaku.com/productaward/2009/pcsupp-13.html' target='_blank'>CPUクーラー部門</a>で");
document.write("金賞に選ばれました。 <br>価格.comの情報は");
document.write("<a href='http://kakaku.com/item/K0000054647/' target='_blank'>こちら</a> </p></td></tr></table><br>");
//kakaku.com award

//kakaku.com award
document.write("<table width='200' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr><td><a href='http://www.scythe.co.jp/cooler/mugen2-revb.html' target='main'>");
document.write("<img src='http://www.scythe.co.jp/images/award/kakaku-aw2009-mugen-revb.jpg' width='200' height='100' border='0'></a></td>");
document.write("</tr><tr><td class='main'><p><a href='http://www.scythe.co.jp/cooler/mugen2-revb.html' target='main'>");
document.write("<strong>MUGEN∞2(無限2)リビジョンB</strong></a><br>");
document.write("<a href='http://kakaku.com/productaward/' target='_blank'>価格.comプロダクトアワード2009</a>において<br>");
document.write("<a href='http://kakaku.com/productaward/2009/pcsupp-13.html' target='_blank'>CPUクーラー部門</a>");
document.write("で銀賞に選ばれました。 <br>価格.comの情報は");
document.write("<a href='http://kakaku.com/item/K0000062800/' target='_blank'>こちら</a> </p></td></tr></table><br>");
//kakaku.com award

document.write("<a href='http://www.scythe.co.jp/award.html' target='main'>過去の受賞製品</a></td></tr></table></td></tr>");
document.write("</table></td></tr></table><br>");

}
//ソース終了


//カテゴリ順位
//CPUクーラー
function Rank_cc(n){
document.write("　１．<a href='http://www.scythe.co.jp/cooler/kabuto.html'>KABUTO(兜)クーラー</a><br>");
document.write("　２．<a href='http://www.scythe.co.jp/cooler/mugen2-revb.html'>MUGEN∞2(無限2)リビジョンB</a><br>");
document.write("　３．<a href='http://www.scythe.co.jp/cooler/samuel17.html'>Samuel 17</a><br>");
if(n==0){
document.write("　４．<a href='http://www.scythe.co.jp/cooler/big-shuriken.html'>BIG Shuriken(大手裏剣)</a><br>");
document.write("　５．<a href='http://www.scythe.co.jp/cooler/rasetsu.html'>羅刹クーラー</a><br>");
document.write("　６．<a href='http://www.scythe.co.jp/cooler/katana3.html'>刀３クーラー</a><br>");
document.write("　７．<a href='http://www.scythe.co.jp/cooler/shuriken-revb.html'>Shuriken(手裏剣)リビジョンB</a><br>");
document.write("　８．<a href='http://www.scythe.co.jp/cooler/ninja3.html'>忍者参</a><br>");
document.write("　９．<a href='http://www.scythe.co.jp/cooler/samuraizz.html'>SAMURAI ZZ「侍ダブルゼット」</a><br>");
document.write("１０．<a href='http://www.scythe.co.jp/cooler/grand-kamacross.html'>グランド鎌クロス</a><br>");

}
}

//ケースファン
function Rank_cf(n){
document.write("　１．<a href='http://www.scythe.co.jp/cooler/kaze-juni.html'>KAZE-JYUNI</a><br>");
document.write("　２．<a href='http://www.scythe.co.jp/cooler/kaze-jyuni-pwm.html'>KAZE-JYUNI PWM</a><br>");
document.write("　３．<a href='http://www.scythe.co.jp/cooler/d1225c.html'>Gentle Typhoon 12cmモデル</a><br>");
if(n==0){
document.write("　４．<a href='http://www.scythe.co.jp/cooler/s-flex.html'>S-FLEX 12cmモデル</a><br>");
document.write("　５．<a href='http://www.scythe.co.jp/cooler/kazemaru2.html'>風丸2</a><br>");
document.write("　６．<a href='http://www.scythe.co.jp/cooler/kaze-jyuni-slim.html'>KAZE-JYUNIスリム</a><br>");
document.write("　７．<a href='http://www.scythe.co.jp/cooler/wing12pl.html'>WING12PL</a><br>");
document.write("　８．<a href='http://www.scythe.co.jp/cooler/gelid-silent-pwm.html'>GELID Silent PWM</a><br>");
document.write("　９．<a href='http://www.scythe.co.jp/cooler/kamaflow2-12.html'>KAMA FLOW2 12cm</a><br>");
document.write("１０．<a href='http://www.scythe.co.jp/cooler/sy1225sl12hpvc.html'>KAZE JYUNI可変PWM</a><br>");


}
}

//クーリングアクセサリー
function Rank_ca(n){
document.write("　１．<a href='http://www.scythe.co.jp/cooler/musashi.html'>MUSASHI VGAクーラー</a><br>");
document.write("　２．<a href='http://www.scythe.co.jp/cooler/pc-aircon.html'>PC AIRCON</a><br>");
document.write("　３．<a href='http://www.scythe.co.jp/cooler/mk-13.html'>MK-13</a><br>");
if(n==0){
document.write("　４．<a href='http://www.scythe.co.jp/cooler/spitfire.html'>Spitfire</a><br>");
document.write("　５．<a href='http://www.scythe.co.jp/cooler/kamabay-plus.html'>鎌ベイプラス</a><br>");
document.write("　６．<a href='http://www.scythe.co.jp/cooler/itakaze.html'>板風「ITAKAZE」</a><br>");
document.write("　７．<a href='http://www.scythe.co.jp/cooler/kama-stay.html'>鎌ステイ</a><br>");
document.write("　８．<a href='http://www.scythe.co.jp/cooler/xfan5.html'>XFAN5</a><br>");
document.write("　９．<a href='http://www.scythe.co.jp/cooler/scy-12fc.html'>12cm FAN CLIP</a><br>");
document.write("１０．<a href='http://www.scythe.co.jp/cooler/kamabay.html'>鎌平</a><br>");

}
}

//PCケース
function Rank_pc(n){
document.write("　１．<a href='http://www.scythe.co.jp/case/scy-t33.html'>SCY-T33-BK</a><br>");
document.write("　２．<a href='http://www.scythe.co.jp/case/gekkou-sl.html'>月光サイレント</a><br>");
document.write("　３．<a href='http://www.scythe.co.jp/case/scy-t66.html'>T66ケースブラック</a><br>");
if(n==0){
document.write("　４．<a href='http://www.scythe.co.jp/case/gekkou-st.html'>月光スタンダード</a><br>");
document.write("　５．<a href='http://www.scythe.co.jp/case/sara2.html'>SARA2</a><br>");
document.write("　６．<a href='http://www.scythe.co.jp/case/gunter.html'>GUNTER-BK</a><br>");
document.write("　７．<a href='http://www.scythe.co.jp/case/super18.html'>SUPER18-BK</a><br>");
document.write("　８．<a href='http://www.scythe.co.jp/case/scy-603.html'>SCY-603-BK</a><br>");
document.write("　９．<a href='http://www.scythe.co.jp/case/sturm-bk.html'>STURM-BK</a><br>");
document.write("１０．<a href='http://www.scythe.co.jp/case/scy-0939.html'>SCY-0939</a><br>");

}
}

//電源
function Rank_ps(n){
document.write("　１．<a href='http://www.scythe.co.jp/power/stronger-p.html'>ストロンガープラグイン</a><br>");
document.write("　２．<a href='http://www.scythe.co.jp/power/chouriki2-p.html'>超力２プラグイン</a><br>");
document.write("　３．<a href='http://www.scythe.co.jp/power/schwarzberg-p.html'>シュワルツバーグプラグイン</a><br>");
if(n==0){
document.write("　４．<a href='http://www.scythe.co.jp/power/stronger.html'>ストロンガー</a><br>");
document.write("　５．<a href='http://www.scythe.co.jp/power/core-power3.html'>CORE POWER3</a><br>");
document.write("　６．<a href='http://www.scythe.co.jp/power/chouriki2-n.html'>超力２ノーマル</a><br>");
document.write("　７．<a href='http://www.scythe.co.jp/power/energia.html'>80PLUS GOLDエナジア電源</a><br>");
document.write("　８．<a href='http://www.scythe.co.jp/power/kamariki4-p.html'>鎌力4プラグイン</a><br>");
document.write("　９．<a href='http://www.scythe.co.jp/power/schwarzberg-n.html'>シュワルツバーグノーマル</a><br>");
document.write("１０．<a href='http://www.scythe.co.jp/power/v-force.html'>V-FORCE</a><br>");

}
}

//入力機器
function Rank_id(n){
document.write("　１．<a href='http://www.scythe.co.jp/input-device/usb3footswitch.html'>USBトリプルフットスイッチ</a><br>");
document.write("　２．<a href='http://www.scythe.co.jp/input-device/kagemusya2.html'>影武者弐</a><br>");
document.write("　３．<a href='http://www.scythe.co.jp/input-device/stream-xt.html'>ストリーム</a><br>");
if(n==0){
document.write("　４．<a href='http://www.scythe.co.jp/input-device/kagemusya.html'>影武者キーボード ブラック</a><br>");
document.write("　５．<a href='http://www.scythe.co.jp/input-device/schon.html'>Schon</a><br>");
document.write("　６．<a href='http://www.scythe.co.jp/input-device/initial.html'>イニシャル</a><br>");
document.write("　７．<a href='http://www.scythe.co.jp/input-device/rakuraku2.html'>楽々キーボード２日本語版</a><br>");
document.write("　８．<a href='http://www.scythe.co.jp/input-device/pure-kb02jp.html'>Pure Keyboard 2 日本語版</a><br>");
document.write("　９．<a href='http://www.scythe.co.jp/input-device/sckb09.html'>ピュアキーボードミニ２</a><br>");
document.write("１０．<a href='http://www.scythe.co.jp/input-device/usb1footswitch.html'>USBシングルフットスイッチ</a><br>");

}
}

//HDDアクセサリ
function Rank_ha(n){
document.write("　１．<a href='http://www.scythe.co.jp/accessories/himuro.html'>氷室（HIMURO）</a><br>");
document.write("　２．<a href='http://www.scythe.co.jp/accessories/bay-rafter35.html'>BAY RAFTER3.5</a><br>");
document.write("　３．<a href='http://www.scythe.co.jp/accessories/kamazo-25sata-u30.html'>USB3.0鎌蔵SATA2.5</a><br>");
if(n==0){
document.write("　４．<a href='http://www.scythe.co.jp/accessories/open-rafter5.html'>OPEN RAFTER5</a><br>");
document.write("　５．<a href='http://www.scythe.co.jp/accessories/kamazo2-525sata.html'>鎌蔵2 5SATA</a><br>");
document.write("　６．<a href='http://www.scythe.co.jp/accessories/bay-rafter25revb.html'>BAY RAFTER2.5リビジョンB</a><br>");
document.write("　７．<a href='http://www.scythe.co.jp/accessories/hard-disk-stabilizer4.html'>Hard Disk Stabilizer x4</a><br>");
document.write("　８．<a href='http://www.scythe.co.jp/accessories/psa350-u3.html'>USB3.0仕様3.5インチHDD用外付けケース</a><br>");
document.write("　９．<a href='http://www.scythe.co.jp/accessories/bay-rafter-combo.html'>BAY RAFTER COMBO</a><br>");
document.write("１０．<a href='http://www.scythe.co.jp/accessories/kamazo-35sata-u30.html'>USB3.0鎌蔵SATA3.5</a><br>");

}
}

//ベイアクセサリ
function Rank_ba(n){
document.write("　１．<a href='http://www.scythe.co.jp/accessories/km01-525.html'>KAZE MASTER 5.25インチ版</a><br>");
document.write("　２．<a href='http://www.scythe.co.jp/accessories/km03-525.html'>風マスターPROブラック</a><br>");
document.write("　３．<a href='http://www.scythe.co.jp/accessories/k1-2.html'>K1-2</a><br>");
if(n==0){
document.write("　４．<a href='http://www.scythe.co.jp/accessories/km02-525.html'>KAZE MASTER アルミ 5.25インチ</a><br>");
document.write("　５．<a href='http://www.scythe.co.jp/accessories/kaze-server.html'>風サーバー</a><br>");
document.write("　６．<a href='http://www.scythe.co.jp/accessories/k1.html'>K1</a><br>");
document.write("　７．<a href='http://www.scythe.co.jp/accessories/km03-35.html'>風マスターPRO3.5ブラック</a><br>");
document.write("　８．<a href='http://www.scythe.co.jp/accessories/kaze-server35.html'>風サーバー3.5ブラック</a><br>");
document.write("　９．<a href='http://www.scythe.co.jp/accessories/sckmrd-2000.html'>KAMA READER 2</a><br>");
document.write("１０．<a href='http://www.scythe.co.jp/accessories/kaze-q.html'>風Ｑ</a><br>");

}
}

//その他のアクセサリ
function Rank_oa(n){
document.write("　１．<a href='http://www.scythe.co.jp/accessories/roccaforte.html'>ROCCAFORTE</a><br>");
document.write("　２．<a href='http://www.scythe.co.jp/accessories/pst3.html'>Power Supply Tester 3</a><br>");
document.write("　３．<a href='http://www.scythe.co.jp/accessories/tm02.html'>どこでも温度計2</a><br>");
if(n==0){
document.write("　４．<a href='http://www.scythe.co.jp/accessories/slim-line-sata.html'>スリムラインSATAケーブル</a><br>");
document.write("　５．<a href='http://www.scythe.co.jp/accessories/nl30.html'>ネオンライト</a><br>");
document.write("　６．<a href='http://www.scythe.co.jp/accessories/kama-vesa.html'>鎌VESA</a><br>");
document.write("　７．<a href='http://www.scythe.co.jp/accessories/ninja-wire.html'>忍者ワイヤー</a><br>");
document.write("　８．<a href='http://www.scythe.co.jp/accessories/power-usb.html'>Power USB2.0ケーブル</a><br>");
document.write("　９．<a href='http://www.scythe.co.jp/accessories/sctsc-1000.html'>温度センサーケーブル</a><br>");
document.write("１０．<a href='http://www.scythe.co.jp/accessories/scktw-1000.html'>ワイヤレスどこでも温度計</a><br>");

}
}
