<!--
function Querystring()
{
// get the query string, ignore the ? at the front.
	var querystring=location.search.substring(1,location.search.length);

// parse out name/value pairs separated via &
	var args = querystring.split('&');

// split out each name = value pair
	for (var i=0;i<args.length;i++)
	{
		var pair = args[i].split('=');

		// Fix broken unescaping
		temp = unescape(pair[0]).split('+');
		name = temp.join(' ');

		temp = unescape(pair[1]).split('+');
		value = temp.join(' ');

		this[name]=value;
	}

	this.get=Querystring_get;
}

function Querystring_get(strKey,strDefault)
{
	var value=this[strKey];
	if (value==null)
	{
		value=strDefault;
	}
	return value;
}

function mylocationreload(cnewuser) {
//	document.write('<H2>Carl is testing -- use LOAD later. '+document.myform.xUser2View.name+document.myform.xUser2View.value+'</H2>');
	var cLoc = new String(location.href);
//	location.href = cLoc.replace(/\&xUser2View=\S*/gi,'') + '&xUser2View=' + cnewuser;
//	location.href = cLoc.replace(/\&xUser2View=\S*/gi,'') + '&xUser2View=' + document.myform.xUser2View.value;
	makejslink('Load Query');
}
function makejslinkFP(cJSMode) {
	document.FrontPage_Form1.mode.value = cJSMode;
	document.FrontPage_Form1.submit();
}
function makejslink(cJSMode) {
	document.myform.mode.value = cJSMode;
	document.myform.submit();
}
function clrfield(cField) {
	document.myform[cField].value='';
	document.myform[cField].reset;
}
function resetfield(cField) {
	document.myform[cField].value='';
	document.myform[cField].reset;
}

-->
