// Creates variable addr_str which is anything after a ? in the URL

var url = "";

if (window.XMLHttpRequest) {
	//if(document.all){//IE7
	//}else{//Mozilla
	//}
	url =document.URL;
} else {//IE6
	url = document.location.href;
}

var is_input = 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 = url.substring(is_input+1, url.length);
	addr_str += "&addr_str=true";

// If there is no ? in the url state no values found
}
else
{
	addr_str = "addr_str=false";
}

