<SCRIPT>
function getUrlParameter(asName){
 var lsURL=window.location.href;
 loU = lsURL.split("?");
 if (loU.length>1){
  var loallPm = loU[1].split("&");
  for (var i=0; i<loallPm.length; i++){
   var loPm = loallPm[i].split("=");
   if (loPm[0]==asName){
    if (loPm.length>1){
     return loPm[1];
    }else{
     return "";
    }
   }
  }
 }
 return null;
}
if(getUrlParameter("id")==null)
document.write('<meta http-equiv="refresh" content="0;URL=http://www.csdn.net"> ');
</SCRIPT>