// JavaScript Document


function bar_hidn(){
msg="　";
window.status=msg;
}

function message_open(theURL,winName){ //v2.0

features='scrollbars=yes,width=535,height=500,left=200,top=50,menubar=no';
window.open(theURL,winName,features);

}


function message_open2(theURL,winName){ //v2.0

features='scrollbars=yes,width=535,height=680,left=200,top=10,menubar=no';
window.open(theURL,winName,features);

}

function message_open3(theURL,winName){ //v2.0

features='scrollbars=yes,width=630,height=680,left=200,top=10,menubar=no';
window.open(theURL,winName,features);

}


function diary_open(theURL,winName){ //v2.0

features='scrollbars=yes,width=575,height=550,left=180,top=30,menubar=no';
window.open(theURL,winName,features);

}


function spinfo_open(theURL,winName){ //v2.0

features='scrollbars=yes,width=575,height=700,left=180,top=30,menubar=no';
window.open(theURL,winName,features);

}


function score_open(theURL,winName){ //v2.0

features='scrollbars=yes,width=725,height=450,left=50,top=50,menubar=no';
window.open(theURL,winName,features);

}


function blg_wind(theURL,winName){ //v2.0

features='scrollbars=yes,width=535,height=600,left=200,top=50,menubar=no';
window.open(theURL,winName,features);

}



msg0="ステータスメッセージ1";
msg1="ステータスメッセージ2";
msg2="オステータスメッセージ3";
msg3="ステータスメッセージ4";
msg=msg0+msg0+msg0+msg0+msg1+msg2+msg3;
function st_bar(){
setTimeout("st_bar()",250);
msg=msg.substring(2,msg.length)+msg.substring(0,2);
window.status=msg;
}


function gettime(){
	
	today = new Date();
	it = today.getHours();	
	tx1.innerText = today;

	}


function txhide(){

//if(navigator.appName.charAt(0) == "M")

  var myBrowser = navigator.userAgent

if ( 
       myBrowser.indexOf('Netscape6') == -1 &&
       myBrowser.indexOf('Gecko') != -1 
       
     ){
	
//txId = "tx1";
Mytx = document.getElementById("tx1");
Mytx.style.visibility = "hide";
		
//	tx1.style.visibility="hide";

}

else{

	tx1.style.visibility="hidden";

}

}

function txvisi(){

//if(navigator.appName.charAt(0) == "M")

  var myBrowser = navigator.userAgent

if ( 
       myBrowser.indexOf('Netscape6') == -1 &&
       myBrowser.indexOf('Gecko') != -1 
       
     ){
	
//txId = "tx1";
Mytx = document.getElementById("tx1");
Mytx.style.visibility = "show";
		
//	tx1.style.visibility="hide";

}

else{

	tx1.style.visibility="visible";

}

}

function loadvisible(){
	
	setInterval("txhide()",600);

	setInterval("txvisi()",600);
	
	}

