// knowhow/manualにいる時に表示する下レクタングル（本番サイトとテストサイト）
if (
	document.URL.indexOf("knowhow.dreamgate.gr.jp/manual", 0) != -1
	||
	document.URL.indexOf("knowhow-d2.r-cms.jp/manual", 0) != -1
	 ){

//document.write("<a href='https://www.dreamgate.gr.jp/sp/kokukin/request/' ");
//document.write(" onClick=\"var s=s_gi('dmgtdreamgategrjp'); ");
//document.write("s.linkTrackVars='eVar15,products,events'; ");
//document.write("s.linkTrackEvents='event4'; ");
//document.write("s.events='event4'; ");
//document.write("s.eVar15='knowhow-manual_rec-btm_dg_kokukin'; ");
//document.write("s.products='knowhow-manual_rec-btm_dg_kokukin'; ");
//document.write("s.tl(this,'o','広告クリック');\"> ");
//document.write("<img src='//www.dreamgate.gr.jp/banners/bnr_kokukin_200_100.jpg' style='margin-top: 10px;'");
//document.write("alt='日本政策金融公庫があなたの創業を応援！創業応援セット差し上げます。'>");
//document.write("</a>");

}


// knowhow/fastnaviにいる時に表示する下レクタングル（本番サイトとテストサイト）
else if (
	document.URL.indexOf("knowhow.dreamgate.gr.jp/fastnavi", 0) != -1
	||
	document.URL.indexOf("knowhow-d2.r-cms.jp/fastnavi", 0) != -1
	 ){

}

// knowhowトップにいる時に表示するレクタングル
else if (
	document.location.href=="http://knowhow.dreamgate.gr.jp/"
){

}



// fastnavi/CSP（キャリアスキルパック）にいる時に表示するバナー
else if (
	document.URL.indexOf("fastnavi/affiliate", 0) != -1
	||
	document.URL.indexOf("fastnavi/agri-biz", 0) != -1
	||
	document.URL.indexOf("fastnavi/agriculture", 0) != -1
	||
	document.URL.indexOf("fastnavi/akiba", 0) != -1
	||
	document.URL.indexOf("fastnavi/america", 0) != -1
	||
	document.URL.indexOf("fastnavi/bizEnglish", 0) != -1
	||
	document.URL.indexOf("fastnavi/businessidea", 0) != -1
	||
	document.URL.indexOf("fastnavi/businessplan", 0) != -1
	||
	document.URL.indexOf("fastnavi/chinatrade", 0) != -1
	||
	document.URL.indexOf("fastnavi/contents", 0) != -1
	||
	document.URL.indexOf("fastnavi/dankai", 0) != -1
	||
	document.URL.indexOf("fastnavi/financing", 0) != -1
	||
	document.URL.indexOf("fastnavi/foodbiz", 0) != -1
	||
	document.URL.indexOf("fastnavi/freemagazine", 0) != -1
	||
	document.URL.indexOf("fastnavi/fundRaising", 0) != -1
	||
	document.URL.indexOf("fastnavi/idea", 0) != -1
	||
	document.URL.indexOf("fastnavi/inChina", 0) != -1
	||
	document.URL.indexOf("fastnavi/kaigo", 0) != -1
	||
	document.URL.indexOf("fastnavi/kokoroe", 0) != -1
	||
	document.URL.indexOf("fastnavi/koreanbuying", 0) != -1
	||
	document.URL.indexOf("fastnavi/license", 0) != -1
	||
	document.URL.indexOf("fastnavi/management", 0) != -1
	||
	document.URL.indexOf("fastnavi/manners", 0) != -1
	||
	document.URL.indexOf("fastnavi/media", 0) != -1
	||
	document.URL.indexOf("fastnavi/mobile", 0) != -1
	||
	document.URL.indexOf("fastnavi/money", 0) != -1
	||
	document.URL.indexOf("fastnavi/netbusiness", 0) != -1
	||
	document.URL.indexOf("fastnavi/netshop", 0) != -1
	||
	document.URL.indexOf("fastnavi/presentation", 0) != -1
	||
	document.URL.indexOf("fastnavi/product", 0) != -1
	||
	document.URL.indexOf("fastnavi/prosperous", 0) != -1
	||
	document.URL.indexOf("fastnavi/restaurant", 0) != -1
	||
	document.URL.indexOf("fastnavi/restaurantDesign", 0) != -1
	||
	document.URL.indexOf("fastnavi/retail", 0) != -1
	||
	document.URL.indexOf("fastnavi/sitema", 0) != -1
	||
	document.URL.indexOf("fastnavi/spirit", 0) != -1
	||
	document.URL.indexOf("fastnavi/student", 0) != -1
	||
	document.URL.indexOf("fastnavi/woman", 0) != -1
	||
	document.URL.indexOf("fastnavi/yokohama", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/affiliate", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/agri-biz", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/agriculture", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/akiba", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/america", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/bizEnglish", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/businessidea", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/businessplan", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/chinatrade", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/contents", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/dankai", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/financing", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/foodbiz", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/freemagazine", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/fundRaising", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/idea", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/inChina", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/kaigo", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/kokoroe", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/koreanbuying", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/license", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/management", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/manners", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/media", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/mobile", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/money", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/netbusiness", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/netshop", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/presentation", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/product", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/prosperous", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/restaurant", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/restaurantDesign", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/retail", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/sitema", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/spirit", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/student", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/woman", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/yokohama", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/taste", 0) != -1 
	 ){


// ランダム表示用
// 配列をリセット
prm = new Array();
lnk = new Array();
img = new Array();
alt = new Array();

// catalystのパラメータ
prm[0] = "qa";

// リンク先
lnk[0] = "http://www.dreamgate.gr.jp/qa/user/search/list";


// 画像
img[0] = "http://www.dreamgate.gr.jp/image/banners/bnr_qa2_200_125.gif";

// alt
alt[0] = "教えてアドバイザー　起業Ｑ＆Ａ";

	// ランダムシャッフル
	for(i=0; i<prm.length; i++){
	var tmpA, tmpB, tmpC, tmpD, tmpE, tmpF, tmpG, tmpH, rnd;
	rnd=Math.floor(Math.random() * prm.length);
	
	tmpA=prm[i];
	tmpB=prm[rnd];
	tmpC=lnk[i];
	tmpD=lnk[rnd];
	tmpE=img[i];
	tmpF=img[rnd];
	tmpG=alt[i];
	tmpH=alt[rnd];
	
	prm[i]=tmpB;
	prm[rnd]=tmpA;
	lnk[i]=tmpD;
	lnk[rnd]=tmpC;
	img[i]=tmpF;
	img[rnd]=tmpE;
	alt[i]=tmpH;
	alt[rnd]=tmpG;
	}
//document.write("<div>");
//document.write("<A href='");
//document.write(lnk[i-1]);
//document.write("' ");
//document.write(" onClick=\"var s=s_gi('dmgtdreamgategrjp'); ");
//document.write("s.linkTrackVars='eVar15,products,events'; ");
//document.write("s.linkTrackEvents='event4'; ");
//document.write("s.events='event4'; ");
//document.write("s.eVar15='CSP_rec-btm_" +prm[i-1]+ "'; ");
//document.write("s.products='CSP_rec-btm_" +prm[i-1]+ "'; ");
//document.write("s.tl(this,'o','広告クリック');\"> ");
//document.write("<img src='");
//document.write(img[i-1]);
//document.write("' alt='");
//document.write(alt[i-1]);
//document.write("' style='margin-top: 10px;'>");
//document.write("</A>");
//document.write("</div>");


}


// fastnavi/SBP（スモールビジネスパック）にいる時に表示するバナー
else if (
	document.URL.indexOf("fastnavi/accounting", 0) != -1
	||
	document.URL.indexOf("fastnavi/aid", 0) != -1
	||
	document.URL.indexOf("fastnavi/capital", 0) != -1
	||
	document.URL.indexOf("fastnavi/chizai", 0) != -1
	||
	document.URL.indexOf("fastnavi/equipmentinvestment", 0) != -1
	||
	document.URL.indexOf("fastnavi/finance-strategy", 0) != -1
	||
	document.URL.indexOf("fastnavi/gopublic", 0) != -1
	||
	document.URL.indexOf("fastnavi/hansoku", 0) != -1
	||
	document.URL.indexOf("fastnavi/humanResource", 0) != -1
	||
	document.URL.indexOf("fastnavi/ipo", 0) != -1
	||
	document.URL.indexOf("fastnavi/it", 0) != -1
	||
	document.URL.indexOf("fastnavi/knowhow", 0) != -1
	||
	document.URL.indexOf("fastnavi/knowledge", 0) != -1
	||
	document.URL.indexOf("fastnavi/legal", 0) != -1
	||
	document.URL.indexOf("fastnavi/localbrand", 0) != -1
	||
	document.URL.indexOf("fastnavi/mindmark", 0) != -1
	||
	document.URL.indexOf("fastnavi/mobilebiz", 0) != -1
	||
	document.URL.indexOf("fastnavi/monozukuri", 0) != -1
	||
	document.URL.indexOf("fastnavi/obligation", 0) != -1
	||
	document.URL.indexOf("fastnavi/operatingFunds", 0) != -1
	||
	document.URL.indexOf("fastnavi/pcselect", 0) != -1
	||
	document.URL.indexOf("fastnavi/promotion", 0) != -1
	||
	document.URL.indexOf("fastnavi/publicity", 0) != -1
	||
	document.URL.indexOf("fastnavi/sales", 0) != -1
	||
	document.URL.indexOf("fastnavi/strategy", 0) != -1
	||
	document.URL.indexOf("fastnavi/subsidy", 0) != -1
	||
	document.URL.indexOf("fastnavi/systemintroduction", 0) != -1
	||
	document.URL.indexOf("fastnavi/tax", 0) != -1
	||
	document.URL.indexOf("fastnavi/techmark", 0) != -1
	||
	document.URL.indexOf("fastnavi/topsales", 0) != -1
	||
	document.URL.indexOf("fastnavi/trouble", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/accounting", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/aid", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/capital", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/chizai", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/equipmentinvestment", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/finance-strategy", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/gopublic", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/hansoku", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/humanResource", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/ipo", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/it", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/knowhow", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/knowledge", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/legal", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/localbrand", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/mindmark", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/mobilebiz", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/monozukuri", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/obligation", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/operatingFunds", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/pcselect", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/promotion", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/publicity", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/sales", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/strategy", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/subsidy", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/systemintroduction", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/tax", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/techmark", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/topsales", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/trouble", 0) != -1
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/repeat", 0) != -1 
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/voice", 0) != -1 
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/seo", 0) != -1 
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/gogaku", 0) != -1 
	||
	document.URL.indexOf("knowhow.dreamgate.gr.jp/onsen", 0) != -1 
	 ){


// ランダム表示用
// 配列をリセット
prm = new Array();
lnk = new Array();
img = new Array();
alt = new Array();

// catalystのパラメータ
prm[0] = "labo";
prm[1] = "labo";

// リンク先
lnk[0] = "http://www.dreamgate.gr.jp/labo/";
lnk[1] = "http://www.dreamgate.gr.jp/labo/";

// 画像
img[0] = "http://www.dreamgate.gr.jp/image/banners/bnr_labo_200_125.jpg";
img[1] = "http://www.dreamgate.gr.jp/image/banners/bnr_labo_200_125.jpg";

// alt
alt[0] = "labo";
alt[1] = "labo";

	// ランダムシャッフル
	for(i=0; i<prm.length; i++){
	var tmpA, tmpB, tmpC, tmpD, tmpE, tmpF, tmpG, tmpH, rnd;
	rnd=Math.floor(Math.random() * prm.length);
	
	tmpA=prm[i];
	tmpB=prm[rnd];
	tmpC=lnk[i];
	tmpD=lnk[rnd];
	tmpE=img[i];
	tmpF=img[rnd];
	tmpG=alt[i];
	tmpH=alt[rnd];
	
	prm[i]=tmpB;
	prm[rnd]=tmpA;
	lnk[i]=tmpD;
	lnk[rnd]=tmpC;
	img[i]=tmpF;
	img[rnd]=tmpE;
	alt[i]=tmpH;
	alt[rnd]=tmpG;
	}
//document.write("<div>");
//document.write("<A href='");
//document.write(lnk[i-1]);
//document.write("' ");
//document.write(" onClick=\"var s=s_gi('dmgtdreamgategrjp'); ");
//document.write("s.linkTrackVars='eVar15,products,events'; ");
//document.write("s.linkTrackEvents='event4'; ");
//document.write("s.events='event4'; ");
//document.write("s.eVar15='SBP_rec-btm_" +prm[i-1]+ "'; ");
//document.write("s.products='SBP_rec-btm_" +prm[i-1]+ "'; ");
//document.write("s.tl(this,'o','広告クリック');\"> ");
//document.write("<img src='");
//document.write(img[i-1]);
//document.write("' alt='");
//document.write(alt[i-1]);
//document.write("' style='margin-top: 10px;'>");
//document.write("</A>");
//document.write("</div>");


}


// caseトップにいる時に表示するレクタングル
else if (
	document.location.href=="http://case.dreamgate.gr.jp/"
){

// ランダム表示用
// 配列をリセット
prm = new Array();
lnk = new Array();
img = new Array();
alt = new Array();

// catalystのパラメータ
prm[0] = "labo";
prm[1] = "labo";

// リンク先
lnk[0] = "http://www.dreamgate.gr.jp/labo/";
lnk[1] = "http://www.dreamgate.gr.jp/labo/";

// 画像
img[0] = "http://www.dreamgate.gr.jp/image/banners/bnr_labo_320_88.jpg";
img[1] = "http://www.dreamgate.gr.jp/image/banners/bnr_labo_320_88.jpg";

// alt
alt[0] = "labo";
alt[1] = "labo";

// ランダムシャッフル
	for(i=0; i<prm.length; i++){
	var tmpA, tmpB, tmpC, tmpD, tmpE, tmpF, tmpG, tmpH, rnd;
	rnd=Math.floor(Math.random() * prm.length);
	
	tmpA=prm[i];
	tmpB=prm[rnd];
	tmpC=lnk[i];
	tmpD=lnk[rnd];
	tmpE=img[i];
	tmpF=img[rnd];
	tmpG=alt[i];
	tmpH=alt[rnd];
	
	prm[i]=tmpB;
	prm[rnd]=tmpA;
	lnk[i]=tmpD;
	lnk[rnd]=tmpC;
	img[i]=tmpF;
	img[rnd]=tmpE;
	alt[i]=tmpH;
	alt[rnd]=tmpG;
	}
document.write("<div>");
document.write("<A href='");
document.write(lnk[i-1]);
document.write("' ");
document.write(" onClick=\"var s=s_gi('dmgtdreamgategrjp'); ");
document.write("s.linkTrackVars='eVar15,products,events'; ");
document.write("s.linkTrackEvents='event4'; ");
document.write("s.events='event4'; ");
document.write("s.eVar15='case-top_rec_" +prm[i-1]+ "'; ");
document.write("s.products='case-top_rec_" +prm[i-1]+ "'; ");
document.write("s.tl(this,'o','広告クリック');\"> ");
document.write("<img src='");
document.write(img[i-1]);
document.write("' alt='");
document.write(alt[i-1]);
document.write("' style='margin-left: 4px; padding-bottom: 5px;text-align:-moz-center; #text-align:center;'>");
document.write("</A>");
document.write("</div>");


}


else{
}

