//プリントアウトのメニューを開く-----------------

function printout() {

	window.print();

}


//ポップアップをする-----------------------------
function popup450(url){

	window.open("" + url +"", "Test", "width=475, height=550, menubar=no, toolbar=no, scrollbars=yes, resizable=yes ");
	
}

function popup475(url){

	window.open("" + url +"", "Test", "width=490, height=550, menubar=no, toolbar=no, scrollbars=yes, resizable=yes ");
	
}

function popup480(url){

	window.open("" + url +"", "Test", "width=495, height=550, menubar=no, toolbar=no, scrollbars=yes, resizable=yes ");
	
}

function popup500(url){

	window.open("" + url +"", "Test", "width=515, height=550, menubar=no, toolbar=no, scrollbars=yes, resizable=yes ");
	
}

function popup500short(url){

	window.open("" + url +"", "Test", "width=515, height=300, menubar=no, toolbar=no, scrollbars=yes, resizable=yes ");
	
}


function popup550(url){

	window.open("" + url +"", "Test", "width=565, height=600, menubar=no, toolbar=no, scrollbars=yes, resizable=yes ");
	
}

function popup575(url){

	window.open("" + url +"", "Test", "width=590, height=600, menubar=no, toolbar=no, scrollbars=yes, resizable=yes ");
	
}


//What's Newでポップアップからメインへ戻る（閉じる）------------
function popupback(url){

	if(opener.closed){
		NewWin=window.open("","Mwindow");
		NewWin.location.href=url;
	}
	else{
		opener.location.href=url
		}
	
	window.close();
	opener.focus();
}

