function global_winopen(url, winname, width, height, xoffset, yoffset)
{
	// default offsets
	
	var default_xoffset = 300;
	var default_yoffset = 200;
	
	// do we have offset parameters?
	
	xoffset = (xoffset == null) ? default_xoffset : xoffset;
	yoffset = (yoffset == null) ? default_yoffset : yoffset;
	
	// make sure that at a minimum the url is present else do nothing
	
	if (url != null)
	{
		// set the window properties
		
		var winproperties = "toolbar=no,location=no,status=no,directories=no,width=" + width + ",height=" + height + ",scrollbars=no,resizable=no,left=" + 600 + ",top=" + 300;
		
		// open the window
	
		window.open(url, winname, winproperties);
	}
}