(function(type){ var url="http://digifun.info/informer/"+type+"/"; var o=document.getElementById("digifun_main_informer"); if(o){ var so=document.createElement("script"); document.getElementsByTagName("head")[0].appendChild(so); if(so.setAttribute) so.setAttribute("src",url); else so.src=url; } })('main');