var ip = '<!--#echo var="REMOTE_ADDR"-->'var bannedip=["70.76.50.65", "192.168.1.2"]var handleips=bannedip.join("|")handleips=new RegExp(handleips, "i")if (ip.search(handleips)!=1){ alert ("You are banned from this website. Wait...")window.location.replace("http://ifandbut.com")}