function getValue(url,match)
{
  var output = '' ;
  
  if ( url.indexOf("?"+name+"=") || url.indexOf("&"+name+"=") )
  {
    var search = url.split("?")[1] ;
	var keyvalues = new Array() ;
	if ( search.indexOf("&" ) )
	  keyvalues = search.split("&") ;
	else
	  kevalues[0] = search ;

	for ( var i=0; i<keyvalues.length; i++ )
	{
	  var key = keyvalues[i].split("=")[0] ;
	  var value = keyvalues[i].split("=")[1] ;
	  if ( typeof value == "undefined" )
	    value = '' ;
	  
	  if ( key == match )
	  {
		if ( value && ( value == "true" || value == "false" || !isNaN(value) ) )
	      output = eval( value ) ;
        else if ( value )
		{
		  // turn +s into spaces
          var split_on_spaces = new Array() ;
		  split_on_spaces = value.split("+") ;
		  for ( var j=0; j<split_on_spaces.length; j++ )
		  {
		    output += split_on_spaces[j] ;
		    if ( j < split_on_spaces.length-1 )
		      output += " " ;
		  }
		  // end turn +s into spaces
		}
	  }
	}
  }

  output = unescape(output) ;
  return output ;
}