function checkid(){
	if(location.search){
	document.write('<link href="css/ads.css" rel="stylesheet" type="text/css">');
	}
}

function ch_type(sel){
// ウィンドウを開く方法を選択
var form=document.form1;
var open_type=sel.options[sel.selectedIndex].value;
if(open_type==1){form.target="";}
else{form.target="_blank";}
}

function windowfm() {window.open("./cgi-bin/registing.cgi?mode=contact","","");}
function windowo0oo00() {window.open("http://www.o0oo00.com/flanagan/cgi-bin/mailer/mail.cgi?id=master","01","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=880,height=550");}


function change(obj,col,borderc,borderw,color)
{
	obj.style.backgroundColor = col;
	obj.style.borderColor     = borderc;
	obj.style.borderWidth     = borderw;
	obj.style.color     = color;
}

// テキストコピー
var CYA=1
function HantenC(InTA) {
var akoTP=eval("document."+InTA)
akoTP.focus()
akoTP.select()
if (document.all&&CYA==1){
therange=akoTP.createTextRange()
therange.execCommand("Copy")
window.status="コピー完了"
setTimeout("window.status=''",1800)
}}



// ステータス１

defaultStatus = "      ";


// ステータス２

function hihyouzi(){
window.status = '';
return true;
}
if (document.layers)
document.captureevents(event.mouseover | event.mouseout);
document.onmouseover = hihyouzi;
document.onmouseout = hihyouzi;

var arrMoji1 = new Array("");
var arrUrl1 = new Array("display:inline;");
function Check(){
	nTemp = Math.round(Math.random()*(arrUrl1.length-1));
	strHtml1 = "<span style='"+arrUrl1[nTemp]+"'><script src='./cgi-bin/pbbs1.cgi?kt=m10&max=80' charset='Shift_JIS'></script><script src='./cgi-bin/pbbs2.cgi?kt=m18&max=80' charset='Shift_JIS'></script>" + arrMoji1[nTemp] + "";
	document.write(strHtml1);
}