function SWindowX(Aurl,wx,wy) {
	//Internet Exproler ver4 or more
	var isIE4 = (navigator.appVersion.charAt(0) >= "4") && (navigator.appName.charAt(0) == "M");

	if ( isIE4 ) {
		wo11=window.open("","","width="+wx+",height="+wy+"");
	}
	else {
		wx = wx + 16;
		wy = wy + 16;
		wo11=window.open("","","width="+wx+",height="+wy+"");
	}

	wo11.document.open();
	wo11.document.writeln("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
	wo11.document.writeln("<html>");
	wo11.document.writeln("<head>");
	wo11.document.writeln("<META Http-Equiv=\"Content-Script-Type\" Content=\"text/javascript\">");
	wo11.document.writeln("<title>Picture</title>");
	wo11.document.writeln("</head>");

	if ( isIE4 ) {
		wo11.document.writeln("<body STYLE=\"margin:0 0 0 0;\">");
	}
	else {
		wo11.document.writeln("<body>");
	}

	wo11.document.write("<A HREF=\"JavaScript:window.close();\">");

	if ( isIE4 ) {
		wo11.document.write("<IMG STYLE=\"border-width:0 0\" SRC=\"" + Aurl + "\" alt=\"クリックで閉じます\">");
	}
	else {
		wo11.document.write("<IMG SRC=\"" + Aurl + "\" alt=\"クリックで閉じます\" border=\"0\">");
	}

	wo11.document.writeln("</A>");
	wo11.document.writeln("</body>");
	wo11.document.writeln("</html>");
	wo11.document.close();
}

function wop(file)
{
window.pref=window.open(file,"profile","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=400,height=500");
window.pref.focus();
}

function wop2(file)
{
window.pref=window.open(file,"profile","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=500,height=600");
window.pref.focus();
}

function wop3(file)
{
window.pref=window.open(file,"profile","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=680,height=630");
window.pref.focus();
}

function wop4(file)
{
window.pref=window.open(file,"profile","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=700,height=650");
window.pref.focus();
}

function wop5(file)
{
window.pref=window.open(file,"profile","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=500,height=500");
window.pref.focus();
}

function imgop(file) 
{
opc = "/window.htm?"+ file;
tmp = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=10,height=10"
	pref=window.open(opc,"opimg",tmp);
	pref.focus(); 
}
