//Return the value of the specified parameter in the url/querystring
function gup(href, name) {
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var results = regex.exec( href );
  if( results == null )
    return "";
  else
    return results[1];
}

//detect users browser
function detectBrowser() {
	if (typeof document.body.style.maxHeight != "undefined") {
	return true; //browser is not IE6,5,4
	  } else {
	return false;
	  }
}


//Rene
function confirmDelete(delUrl) {
if (confirm("Are you sure you want to delete")) {
document.location = delUrl;
}

}

function myPopup2(url) {
window.open( url, "myWindow",
"status = 1, height = 631, width = 800, resizable = 0" )
}

function changePage(newLoc)
{
nextPage = newLoc.options[newLoc.selectedIndex].value

if (nextPage != "")
{
document.location.href = nextPage
}
}



