// JavaScript Document
function openWin(windowURL, windowName, winX, winY, windowParams) {

	var x = (screen.width - winX) / 2;
	var y = (screen.height - winY) / 2;

	params = windowParams + ",left=" + x + ",top=" + y + ",width=" + winX + ",height=" + winY;

	win1 = window.open(windowURL, windowName, params);
}



function PrintPage(){
		//window.print('newwin');		//印刷をします
		window.print();
}


/*
function PrintPage(){
	if(document.getElementById || document.layers){
		window.print();		//印刷をします
	}
}
*/

/*function openWin() {
	winX = 300;
	winY = 300;
	x = (screen.width - winX) / 2;
	y = (screen.height - winY) / 2;
	win1 = window.open("http://www.yahoo.co.jp","newWin","left=" + x + ",top=" + y + ",width=" + winX + ",height=" + winY + ",status=no");
}*/