<html>
<head>
<script type="text/javascript">
function parseQString(loc) {
var qs = new Array();
loc = (loc == null) ? location.search.substring(1):loc.split('?')[1];
if (loc) {
var parms = loc.split('&');
for (var i=0;i<parms.length;i++) {
nameValue = parms[i].split('=');
qs[nameValue[0]]=(nameValue.length == 2)? decodeURIComponent(nameValue[1].replace(/\+/g,' ')):null; // use null or ""
}
}
return qs;
}
function getQSParm(parm) {
return (qs[parm])?qs[parm]:null
}
var qs = parseQString();
window.onload=function() {
var id = getQSParm("pg");
if (id != "pg"){
fb.end('ForSaleNew.aspx?cfm=del');
}
}
</script>
</head>
<body>
</body>
</html>
|