// get the query string passed to the page
function getQS() 
{
	var theQS = "";
	var theUrl = document.URL;
	var qsStart = theUrl.indexOf("?") + 1;
	if (qsStart > 0)
		theQS = theUrl.substr(qsStart, theUrl.length);
	return theQS;
}
