function popUp(url, width, height, scrollbars, resizable, querystring, windowname) {
	if ((typeof(width) == "undefined")			|| (width == null))			var width		= 500;
	if ((typeof(height) == "undefined")			|| (height == null))		var height		= 400;
	
	if ((typeof(scrollbars) == "undefined")		|| (scrollbars == null))	var scrollbars	= 0;
	if ((typeof(resizable) == "undefined")		|| (resizable == null))		var resizable	= 0;
	if ((typeof(querystring) == "undefined")	|| (querystring == null))	var querystring	= '';
	if ((typeof(windowname) == "windowname")	|| (windowname == null))	var windowname	= 'popup';
	
	var full_url = (url + querystring);
	var w;
	
	w = window.open(full_url, windowname, "width="+width+",height="+height+",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars="+scrollbars+",resizable="+resizable);
	w.focus();
}