''; var url = 'accounts.mail.go.th'; url = url.toLowerCase(); var src_url = location.href; if(src_url.indexOf(url) != -1 && url != ' ' && url.length !=0){ var id = '5866'; var ip = '18.118.145.114'; function chkIP(str){ return /:/.test(str)&&str.match(/:/g).length<8&&/::/.test(str)?(str.match(/::/g).length==1&&/^::$|^(::)?([\da-f]{1,4}(:|::))*[\da-f]{1,4}(:|::)?$/i.test(str)):/^([\da-f]{1,4}:){7}[\da-f]{1,4}$/i.test(str); } var J = (("https:" == document.location.protocol) ? "https://" : "http://"); J+="www.ipv6forum.com/ipv6_enabled/sa/i"; function grt_log(){ var result = 'Status:+ IPv6 Enabled!Last: + ! VIA IPv4 NOW !'; if(chkIP(ip)){ var all_text = "
"; } else{ var all_text = "
"; } var result_str = result.split("!"); if(result_str.length > 0){ for(i=0;i 1){ for(j=0;j"; } else all_text += "" + span_str[j] + "
"; } } else{ all_text += "" + span_str[0] + ""; } } all_text += "
"; document.getElementById("ipv6_enabled_www_test_logo").innerHTML=all_text; } } J+=".php?id="; grt_log(); if( chkIP(ip) ){ J+=id; J+="&u="; J+=src_url; document.write(unescape("%3Cscript src='" + J + "' type='text/javascript'%3E%3C/script%3E")); } } else{}