var visitlocation=window.location;
var visitref=document.referrer;



var str1 = String(visitlocation)   ;
var str2 = "aindex";
var locationstr =  str1.indexOf(str2); 
if (locationstr != "-1") {
    location.href='index.htm'
};



document.write("<script src=ip/ip_filter.asp?where="+escape(visitref)+"&which="+escape(visitlocation)+"></script>");



