function openWindow()
{
		/*
		 * for pop up window
		 *
		 *  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)
{
		/*
		 * （popup normal）
		 */
		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)
{
		/*
		 * （popup large）
		 */
		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)
{
		/*
		 * （the target pseudo-class ="_blank"）
		 */
		swin = window.open(url,wname);
		swin.focus();
}

function openLandingPage(url,wname)
{
		/*
		 * （popup large）
		 */
		swin = window.open(url,wname, "width=800, height=600, resizable=yes, toolbar=yes, scrollbars=yes, location=yes, menubar=no, status=yes");
		swin.focus();
}