function GetParam( nome )
{
  v = location.search
  s = nome + "="

  p = v.indexOf( s )
  if( p == -1 )
    return ""
  else
  {
    vv = v.substr( p, v.length - p )
    r = vv.indexOf( "&" )
    if( r == -1 )
      r = vv.length
    return unescape( vv.substr( s.length, r - s.length ) )
  }
}

