<!--  //  有料領域でSTREAM利用Script
//  STREAM 飛び先
//  ドメイン・パス取得
path = location.pathname;
host = document.domain;
//  パス分解
conv = path.split("/");
//  リクエストCGIへのURL作成
dir1 = "vyj";
free = "http://www.bitway.ne.jp";
down = "http://shared-dl.primestage.net/bitway/doc/";
paid = "http://"+host+"/bitway/"+conv[2]+"/"+conv[3];
surl = "/cgi-bin/"+dir1+"/request.cgi?url=shueisha/";
//  リンク

function st(url){

if (host == "fe.bitway.ne.jp"){

location.href = paid+surl+url;

} else {

if (host == "testfe.bitway.ne.jp"){

location.href = paid+surl+url;

} else {

location.href = free+surl+url;

}

}

}

function stf(url){

if (host == "fe.bitway.ne.jp"){

location.href = paid+surl+url;

} else {

if (host == "testfe.bitway.ne.jp"){

location.href = paid+surl+url;

} else {

location.href = free+surl+url;

}

}

}


function stp(url){

if (host == "fe.bitway.ne.jp"){

location.href = paid+surl+url;

} else {

if (host == "testfe.bitway.ne.jp"){

location.href = paid+surl+url;

} else {

location.href = free+surl+url;

}

}

}


function std(url){ location.href = down+url; }


// -->
