<html>
<head>
<title>标题</title>
<script language="javascript">
function GetArgsFromHref(sHref,sArgName)
{
var args
= sHref.split("?");
var retval = "";
if(args[0] == sHref)
{
return retval;
}
var str = args[1];
args = str.split("&");
for(var i = 0; i < args.length; i ++)
{
str = args[i];
var arg = str.split("=");
if(arg.length <= 1)
continue;
if(arg[0] == sArgName)
retval = arg[1];
}
return retval;
}
function Page_Load()
{
var url=GetArgsFromHref(self.location.href,"url");
self.location=url;
}
</script>
</head>
<body onLoad="Page_Load();">
</body>
</html>