// JavaScript Document

// イメージ用配列
var SwImg; SwImg = new Array;


/* 画像プリロード */
function ImgPreload() {
	var N = ImgPreload.arguments[0];
	SwImg[N] = new Image();
	SwImg[N][0] = new Image();
	SwImg[N][0].src = ImgPreload.arguments[1];
	SwImg[N][1] = new Image();
	SwImg[N][1].src = ImgPreload.arguments[2];
}

/* ロールオーバー */
function ImgChenge() {
	var ID = ImgChenge.arguments[0];
	var N  = ImgChenge.arguments[1];
	document.images[ID].src = SwImg[ID][N].src;
}


/* ウィンドウオープン　*/

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//*********************
function popwindow(theURL,winName,width,height,features) { //v3.1
//*********************
  var window_width = width;
  var window_height = height;
  var newfeatures= features;
  var window_top = 0;
  var window_left = 0;
  newWindow=window.open(''+ theURL + '',''+ winName + '','width=' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + ','+ newfeatures + '');
  newWindow.focus();
}

//  -->
