function gup( name )
{	//	Function taken from http://www.netlobo.com/url_query_string_javascript.html
	name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
	var regexS = "[\\?&]"+name+"=([^&#]*)";
	var regex = new RegExp( regexS );
	var results = regex.exec( window.location.href );
	if( results == null )
		return "";
	else
		return unescape(results[1]);
}

function grabArray( name )
{
	var emptyArr = [];
	var str = new String(gup(name));
	if(str == "")	return(emptyArr);
	
	return(str.split(/,/));
}

