function openWindow()
{
		/*
		 * ポップアップ・ウィンドウ用
		 *
		 *  1. url
		 *  2. window name
		 *  3. width
		 *  4. height
		 *  5. resizable
		 *  6. toolbar
		 *  7. scrollbars
		 *  8. location
		 *  9. menubar
		 * 10. status
		 *
		 */
		var args = arguments;
		var win_set = '';
		win_set += 'width=' + ((args[2])? args[2] : screen.width-30) 
		win_set += ',height=' + ((args[3])? args[3] : screen.height-30) 
		win_set += ',resizable=' + ((args[4])? 1 : 0) 
		win_set += ',toolbar=' + ((args[5])? 1 : 0) 
		win_set += ',scrollbars=' + ((args[6])? 1 : 0) 
		win_set += ',location=' + ((args[7])? 1 : 0) 
		win_set += ',menubar=' + ((args[8])? 1 : 0) 
		win_set += ',status=' + ((args[9])? 1 : 0);
		swin = window.open(args[0],args[1],win_set);
		swin.focus();
}


function openNormalWindow(url,wname)
{
		/*
		 * （ポップアップ：通常）
		 */
		swin = window.open(url,wname, "width=600, height=550, resizable=yes, toolbar=no, scrollbars=yes, location=no, menubar=yes, status=yes");
		swin.focus();
}

function openLargeWindow(url,wname)
{
		/*
		 * （ポップアップ：大）
		 */
		swin = window.open(url,wname, "width=800, height=550, resizable=yes, toolbar=no, scrollbars=yes, location=no, menubar=yes, status=yes");
		swin.focus();
}

function openBlankWindow(url,wname)
{
		/*
		 * （擬似target="_blank"）
		 */
		swin = window.open(url,wname);
		swin.focus();
}


// "openurl" onclick="openMod(this.href,wsize,hsize);return false;" onkeypress="openMod(this.href,wsize,hsize);return false;"
// 外部ドメインには使用しないでください
function openMod (openurl, wsize, hsize) {
var myMod;
	if (openurl) {
		mywin = window.open (openurl, 'window', 'toolbar=0,locationbar=0,status=0,directories=0,menubar=1,scrollbars=1,resizable=1');
		w = wsize;
		if(wsize<=1){
				w = screen.width/5*4;
			}else{
				w = wsize
		}
		if(hsize<=1){
				h = screen.height/5*4;
			}else{
				h = hsize
		}
		x = (screen.width - w) / 2;
		y = (screen.height - h) / 2;
		with (mywin) {
			resizeTo (w, h);
			window.moveTo (x, y);
			focus ();
		}
	}
return(false);
}


// "targeturl" onclick="targetMod(this.href);return false;" onkeypress="targetMod(this.href);return false;"
function targetMod (targeturl) {	
	if (targeturl) {
		mytargetwin = window.open (targeturl);
		mytargetwin.focus();
	}
return(false);
}




// "myUrl" onclick="parentWin(this.href);return false;" onkeypress="parentWin(this.href);return false;"
function parentWin(myUrl) {
if (myUrl) {
window.opener.location.href=myUrl;
window.opener.focus ();	
}
return(false);
}


var strSelectValue = 'index.html';

function SetValue(objRadio)
{
	strSelectValue = objRadio.value;
}
function Go()
{
		window.location.href=strSelectValue;
}




