function launchWindow( url, n, w, h, sb, tb, mb, lb, stb, rs, fullscreen ) // url, window name, width, height, scrollbars, toolbar, menubar, locationbar, statusbar, resizeable
{
	var win;
	var windowAttributes = "";
	
	if( !n )
	{
		win = window.open( url );
	}
	else if( fullscreen == 1 )
	{
		windowAttributes = "fullscreen=1,scrollbars=auto";
		win = window.open( url, n, windowAttributes );
	}
	else if( !w || !h )
	{
		win = window.open( url, n );
	}
	else
	{
		windowAttributes += "width=" + w;
		windowAttributes += ",height=" + h;
		windowAttributes += ",scrollbars=" + sb; //( ( sb != undefined ) ? sb : 0 );
		windowAttributes += ",toolbar=" + tb; //( ( tb != undefined ) ? tb : 0 );
		windowAttributes += ",menubar=" + mb; //( ( mb != undefined ) ? mb : 0 );
		windowAttributes += ",location=" + lb; //( ( lb != undefined ) ? lb : 0 );
		windowAttributes += ",statusbar=" + stb; //( ( stb != undefined ) ? stb : 0 );
		windowAttributes += ",resizable=" + rs; //( ( rs != undefined ) ? rs : 0 );
	
		win = window.open( url, n, windowAttributes );
	}	
	win.focus();
	//return false;
}