// JavaScript Document

function writeMaintenance(start,end) {

var start;
var end;

	var today = parseInt(getDateLabel());

if ( today >= start && today <= end ) {

	document.write( '<div class="maintainance">' );
	document.write( '<h3>データ公開サイトの緊急メンテナンスについて</h3>' );
	document.write( '<p>' );
	document.write( '[2010/03/03]<br />' );
	document.write( '「JAMSTEC観測航海データサイト」他いくつかのデータ公開サイトが緊急メンテナンスのため停止中です。<br />' );
//	document.write( '[2010/03/01]<br />' );
//	document.write( '国際海洋環境情報センター（GODAC）のシステムメンテナンスに伴い、GODACに関係するウェブサイトや公開サービス等が断続的に停止いたします。<br />' );
//	document.write( 'ご迷惑をお掛け致しますが、皆様のご理解とご協力の程、よろしくお願いいたします。<br />' );
	document.write( '<a href="/j/database/notification_20100303.html">詳しくはこちらをご覧下さい。</a>' );
	document.write( '</p>' );
	document.write( '</div>' );
	document.write( '' );
	document.write( '' );
}

}


function writeMaintenanceE(start,end) {

var start;
var end;

	var today = parseInt(getDateLabel());

if ( today >= start && today <= end ) {

	document.write( '<img class="sepbar" src="/e/common/img/gray_bar_360.gif" width="360" height="1" alt="" style="border:none" /><br />' );
	document.write( '<div class="maintainance">' );
	document.write( '<h3>Web Services Maintenance Information</h3>' );
	document.write( '<p>' );
	document.write( '[2010/03/01]<br />' );
	document.write( 'The periodic maintenance of a part of JAMSTEC web services are carried out.<br />' );
	document.write( '<a href="/e/about/informations/notification_20100301.html">See details.</a>' );
	document.write( '</p>' );
	document.write( '</div>' );
	document.write( '' );
	document.write( '' );
}

}

/*
function writeMaintenance(start,end) {

var start;
var end;

	var today = parseInt(getDateLabel());

if ( today >= start && today <= end ) {

	document.write( '<div class="maintainance">' );
	document.write( '<h3>システムメンテナンスに伴うサービスの停止のお知らせ</h3>' );
	document.write( '<p>' );
	document.write( '[2009/09/11]<br />' );
	document.write( 'システムメンテナンスに伴い、一部公開サービスが断続的に停止いたします。<br />' );
//	document.write( 'ご迷惑をお掛け致しますが、皆様のご理解とご協力の程、よろしくお願いいたします。<br />' );
	document.write( '<a href="/j/database/notification_20090911.html">詳しくはこちらをご覧下さい。</a>' );
	document.write( '</p>' );
	document.write( '</div>' );
	document.write( '' );
	document.write( '' );
}

}


function writeMaintenanceE(start,end) {

var start;
var end;

	var today = parseInt(getDateLabel());

if ( today >= start && today <= end ) {

	document.write( '<img class="sepbar" src="/e/common/img/gray_bar_360.gif" width="360" height="1" alt="" style="border:none" /><br />' );
	document.write( '<div class="maintainance">' );
	document.write( '<h3>Web Services Maintenance Information</h3>' );
	document.write( '<p>' );
	document.write( '[2009/09/11]<br />' );
	document.write( 'The periodic maintenance of a part of JAMSTEC web services are carried out.<br />' );
	document.write( '<a href="/e/database/notification_20090911.html">See details.</a>' );
	document.write( '</p>' );
	document.write( '</div>' );
	document.write( '' );
	document.write( '' );
}

}
*/


function writeSpam(start,end) {

var start;
var end;

	var today = parseInt(getDateLabel());

if ( today >= start && today <= end ) {


	document.write( '<div class="maintainance">' );
	document.write( '<h3>JAMSTECをかたった不審なメールについて</h3>' );
	document.write( '<p>' );
	document.write( '最近、独立行政法人海洋研究開発機構（JAMSTEC）をかたった不審な電子メールが送信されています。<br />' );
	document.write( '内容に心当たりのない電子メールを受信された場合は、ウィルス感染の可能性もあるため添付ファイルを開かずに電子メールごと削除して下さい。<br /><br />' );
	document.write( 'もし不審な電子メールを受信した場合には下記までご連絡下さい。<br />' );
	document.write( '<img src="img/mail-info.gif">' );
	document.write( '</p>' );
	document.write( '</div>' );
	document.write( '' );
	document.write( '' );
}


}


