function mail(){
window.open('activity/comment.html', 'detailWindow', 'resizable=yes,scrollbars=no,toolbar=no,width=400,height=330');
}
function mailY(){
window.open('activity/commentY.html', 'detailWindow', 'resizable=yes,scrollbars=no,toolbar=no,width=340,height=380');
}
function jump() {
   top.frame.location.href = "activity/";
   top.self.location.href = "#act";
   return false;
}

var difx = 0;
var title = new Array();
title[0] = '<b>サークル紹介</b><br>　活動に対する理念的紹介です。'
title[1] = '<b>メンバー用のグループウェア</b><br>　共有ツール、お知らせなど'
title[2] = '<b>活動内容</b><br>　各活動の詳細を書いてます。'
title[3] = '<b>質問＆回答集</b><br>　サイトによく寄せられるQ&A集です。'
title[4] = '<b>日記型ウェブログ</b><br>　メンバーによるレポート交換ダイアリー<br>'
title[5] = '<b>スケジュール</b><br>　今後の予定など<br>個人のちょっとした予定なんかも入ってたりします'
title[6] = '<b>写真＆画像</b><br>　ちょっとぼかしてますが、<br>簡単に雰囲気など伝われば'
title[7] = '<b>バックナンバー</b><br>　過去ログ<br>コラムもこっちに格納'
title[8] = '<b>リンク</b><br>　ボランティア関係など'
title[9] = '<b>メール</b><br>　質問等あれば遠慮なくドーゾ☆参加希望もこちらから '
title[10] = '<b>ゲストブック</b><br>　フリーなゲストブックです。立ち寄った方に一言二言、残してもらえるとありがたいです。'
title[11] = '<b>トップページへ</b><br>'


var flag = 0;
var dify = 20;
var ms = 0;
var ms2= 0;
var x = -300;
var y = -100;

for (i=0;i<title.length;i++){
	document.write("<span id='span"+i+"' class='titSty'>");
	document.write(title[i]);
     document.write("<\/span>");
	}
function ehand(e){
	x = (document.all) ? document.body.scrollLeft+event.clientX : e.pageX;
	y = (document.all) ? document.body.scrollTop+event.clientY : e.pageY;
    	flg=1;
    	if(flag ==1){ appear(ms2);}else{disappear(ms2);}
	}
function appear(ms){
	flag = 1;
	if (flg==1 && document.all){
     var thisspan = document.all("span"+ms).style;
     thisspan.posLeft=x-difx;
     thisspan.posTop =y+dify;
     thisspan.visibility="visible"
     }
if (flg==1 && document.layers){
	var thisspan = eval("document.span"+ms);
	thisspan.left=x-difx;
	thisspan.top=y+dify;
	thisspan.visibility="visible"
	}
if (flg==1 && !document.all && document.getElementById){
	var thisspan = document.getElementById("span"+ms);
	thisspan.style.left=x-difx;
	thisspan.style.top =y+dify;
	thisspan.style.visibility="visible"
	}
ms2=ms;
	}
function disappear(ms){
	flag = 0;
	if (document.all){
	var thisspan = document.all("span"+ms).style;
	thisspan.visibility="hidden";
	}
if (document.layers){
	var thisspan = eval("document.span"+ms);
	thisspan.visibility="hidden";
	}
if (!document.all && document.getElementById){
	var thisspan = document.getElementById("span"+ms).style;
	thisspan.visibility="hidden";
	}
ms2=ms;
	}
function NN_reload(){
	if (document.layers) location.reload();
	}
if (document.layers){
	document.captureEvents(Event.MOUSEMOVE);
	}
if (!document.all && document.getElementById){
	window.onmousemove = ehand;
	window.captureEvents(Event.MOUSEMOVE);
	} else {
	document.onmousemove = ehand;
	}
window.onresize = NN_reload;

