	function login_check()
	{
		var form=document.loginForm;
		if(form.onmemberID.value=="")
		{
			alert('IDを入力してください');
			form.onmemberID.focus();
		}
		else if(form.onmemberPWD.value=="")
		{
			alert('パスワードを入力してください');
			form.onmemberPWD.focus();
		}
		else
		{
			form.submit();
		}
	}

	function CheckKey() {
		 key=event.keyCode;
		 if (key==13) document.loginForm.submit();
	  }



var imageArray = new Array(); // leave as is.

// Specify number of milliseconds between image switches.
var switchMilliseconds = 4000;
var crossFadeDuration = 30;
// Specify the id of the div or other HTML tag with the 
//   background image to switch.

var divID = 'slide_area';

// To add more images, continue the pattern below.

imageArray[0] = 'images/sub_img1.jpg';
imageArray[1] = 'images/sub_img2.jpg';
imageArray[2] = 'images/sub_img3.jpg';
/*imageArray[3] = 'http://www.willmaster.com/iconimages/servicesicon.jpg';
imageArray[4] = 'http://www.willmaster.com/iconimages/secretexclusiveicon.jpg';
imageArray[5] = 'http://www.willmaster.com/iconimages/freeicon.jpg';*/

// No further customization needed in this JavaScript

function publishPicture(i) {
if (document.all) {
document.getElementById(divID).style.filter="blendTrans(duration=2)";
document.getElementById(divID).style.filter="blendTrans(duration=crossFadeDuration)";
document.getElementById(divID).filters.blendTrans.Apply();
}
document.getElementById(divID).style.background = 'url("'+imageArray[i]+'")';
if (document.all) {
		document.getElementById(divID).filters.blendTrans.Play();
		}
i++;
if( i > (imageArray.length - 1) ) { i = 0; }
setTimeout('publishPicture('+i+')',switchMilliseconds);
}