function opw(wURL,wN,wW,wH) {
var w;
w=window.open(wURL,wN,"scrollbars=1,resizable=1,location=0,width="+wW+",height="+wH );
w.focus();
return false;
}


function closepop(URL,FLG){
	if(!window.opener){return false;}

	if(URL != "undefined"){
		if(window.opener.closed){
			window.open(URL);
		}else if(FLG == 1){
			window.opener.location.href = URL;
		}
	}
	window.close();
	return false;
}

function showmenu(TGT){
	document.getElementById(TGT).className = "show";
}
function hidemenu(TGT){
	document.getElementById(TGT).className = "hide";
}



/*ホーム用メニュー*/
function dwIParts(){
	document.write(
'<a href="completecars/import.htm">コンプリートカー輸入車</a>'+
'<a href="completecars/domestic.htm">コンプリートカー国産車</a>'+
'<a href="parts/parts.htm">パーツ</a>'
);
}

function dwIKRT(){
	document.write(
'<a href="krt/index.htm">ドライバー紹介</a>'+
'<a href="krt/playdrive.htm">雑誌掲載</a>'+
'<a href="krt/photo.htm">写真集</a>'
);
}





function dwIShop(){
	document.write(
'<a href="shop/index.htm#a">熱田店</a>'+
'<a href="shop/index.htm#n">野並店</a>'+
'<a href="shop/index.htm#s">鈴鹿レースサポート</a>'
);
}

function dwIBlog(){
	document.write(
'<a href="http://minkara.carview.co.jp/userid/279624/blog/" target="_blank">K-oneRacingブログ</a>'+
'<a href="http://minkara.carview.co.jp/userid/542124/blog/" target="_blank">プラスわんの開発日記</a>'+
'<a href="http://minkara.carview.co.jp/userid/331674/blog/" target="_blank">ぶぅ〜助　見て!聞いて!</a>'+
'<a href="http://minkara.carview.co.jp/userid/642974/blog/" target="_blank">自動車好学</a>'
);
}

function dwIAsoboo(){
	document.write(
'<a href="asoboo/index.htm">ASOBOO</a>'+
'<a href="asoboo_g/index.html">大人のASOBOO</a>'
);
}



/*コンテンツページ用メニュー*/
function dwParts(){
	document.write(
'<a href="../completecars/import.htm">コンプリートカー輸入車</a>'+
'<a href="../completecars/domestic.htm">コンプリートカー国産車</a>'+
'<a href="../parts/parts.htm">パーツ</a>'
);
}


function dwKRT(){
	document.write(
'<a href="../../krt/index.htm">ドライバー紹介</a>'+
'<a href="../../krt/playdrive.htm">雑誌掲載</a>'+
'<a href="../../krt/photo.htm">写真集</a>'
);
}



function dwShop(){
	document.write(
'<a href="../../shop/index.htm#a">熱田店</a>'+
'<a href="../../shop/index.htm#n">野並店</a>'+
'<a href="../../shop/index.htm#s">鈴鹿レースサポート</a>'
);
}

function dwBlog(){
	document.write(
'<a href="http://minkara.carview.co.jp/userid/279624/blog/" target="_blank">K-oneRacingブログ</a>'+
'<a href="http://minkara.carview.co.jp/userid/542124/blog/" target="_blank">プラスわんの開発日記</a>'+
'<a href="http://minkara.carview.co.jp/userid/331674/blog/" target="_blank">ぶぅ〜助　見て!聞いて!</a>'+
'<a href="http://minkara.carview.co.jp/userid/642974/blog/" target="_blank">自動車好学</a>'
);
}

function dwAsoboo(){
	document.write(
'<a href="../asoboo/index.htm">ASOBOO</a>'+
'<a href="../asoboo_g/index.html">大人のASOBOO</a>'
);
}




//071027専用
function spPopup071027(wURL,wN,wW,wH){
	if(document.cookie){
		pairs = document.cookie + ";";
		data_n = pairs.indexOf("ASOBOOspa",0);
		data2 = data_n+10;
		avalue = pairs.substring(data2,data2+1);
		if(avalue==1){		
			return false;
		}
	}
	opw(wURL,wN,wW,wH);
}