function parseParams()
{
locationHref = document.location.href;
arr = locationHref.split("?");
if ( typeof(arr[1]) != 'undefined' && arr[1]!='' )
{
arr[1] = "'"+arr[1]+"'";
ostr = arr[1].replace(/=/g,"':'");
ostr = ostr.replace(/&/g,"','"); //alert(ostr);
eval ( "var po={"+ ostr +"};" );
return po;
}
return {};
}
{
locationHref = document.location.href;
arr = locationHref.split("?");
if ( typeof(arr[1]) != 'undefined' && arr[1]!='' )
{
arr[1] = "'"+arr[1]+"'";
ostr = arr[1].replace(/=/g,"':'");
ostr = ostr.replace(/&/g,"','"); //alert(ostr);
eval ( "var po={"+ ostr +"};" );
return po;
}
return {};
}