// Creates variable addr_str which is anything after a ? in the URL

var is_input = document.URL.indexOf('?');

// Check the position of the ? in the url
if (is_input != -1)
{ 
	// Create variable from ? in the url to the end of the string
	addr_str = document.URL.substring(is_input+1, document.URL.length);
	addr_str += "&addr_str=true";

// If there is no ? in the url state no values found
}
else
{
	addr_str = "addr_str=false";
}

