Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 14th, 2012  |  syntax: JavaScript  |  size: 10.45 KB  |  hits: 34  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. if(!_fw){var _fw={adv:null,cssfixed:true,freebar:null,imagesprefix:"http://images.webs.com/static/templates/freebars/",url:"http://www.webs.com/?referer=advbar&cm_mmc=Freewebs-_-Free%20Website-_-AdvBar-_-Free%20Website&utm_source=product&utm_medium=userSite&utm_term=footer&utm_content=other&utm_campaign=advanced"}}var fwescort={appendChoice:null,iScript:null,provisional_message:"This Webs account is still provisional. Forms are not permitted on a provisional account (Webs accounts are provisional for the first 7 days).",k4:function(){var d=fwescort.appendChoice.getElementsByTagName("form");for(var c=0;c<d.length;c++){if(d[c].action!="http://members.freewebs.com/guestbookA.jsp"&&d[c].action!="http://members.freewebs.com/formMail.jsp"&&d[c].action!="http://members.webs.com/formMail.jsp"&&d[c].action!="http://link.members.freewebs.com/Members/Subscriptions/PublicDispatcher.jsp"&&d[c].action!="http://polls.freewebs.com/Members/Polls/vote.jsp"&&d[c].action!="http://members.freewebs.com/guestbook.jsp"&&d[c].action!="http://wildfire.gigya.com/wildfire/WFPop.aspx"&&d[c].action!="http://link.members.freewebs.com/s/subscriptions/publicDispatcher"&&d[c].action.indexOf("/apps/")<0){d[c].setAttribute("action","#");d[c].onsubmit=function(){alert(fwescort.provisional_message);return false};var a=d[c].getElementsByTagName("input");for(var b=0;b<a.length;b++){if(a[b].type==="button"){a[b].onclick=function(){alert(fwescort.provisional_message);return false}}}}}},k5:function(){var d=fwescort.appendChoice.getElementsByTagName("iframe"),c=(typeof window.innerWidth!=="undefined"?window.innerWidth:document.documentElement.clientWidth),a=(typeof window.innerHeight!=="undefined"?window.innerHeight:document.documentElement.clientHeight);for(var b=0;b<d.length;b++){if(d[b].src.indexOf("sex")>0||d[b].src.indexOf("wildorchidz.com")>0||d[b].src.indexOf("datinggold.com")>0||d[b].src.indexOf("gooogle.info")>0||d[b].src.indexOf("antivirus-scanonline.com")>0){d[b].src="http://members.webs.com/provisional_iframes.jsp"}if(d[b].id!=="google_ads_iframe_user_bbtemplate_300x250"&&d[b].id!=="google_ads_iframe_user_blog_728x90"&&(d[b].offsetWidth>=(c-5)||d[b].offsetHeight>=(a-5))&&fwescort.props.prov==1){d[b].src="http://members.webs.com/provisional_iframes.jsp"}}},k6:function(){var a=fwescort.appendChoice.getElementsByTagName("a");for(var b=0;b<a.length;b++){if(/fuseaction=invite.addfriend_verify/.test(a[b].href)||/freeads4swingers/.test(a[b].href)){a[b].href="#"}}},getCookie:function(c){var b=null,e,d=document.cookie.split(";");for(var a=0;a<d.length;a++){if(e=d[a].match(new RegExp(c+"=(.*)"))){b=e[1]}}return b},fw_i:function(f){fwescort.props={un:f.un,np:f.np,prov:f.prov,al:f.al,stb:f.stb,tbc:f.tbc,cd:f.cd,ll:f.ll,cat:f.cat,fr:f.fr,te:f.te,dr:f.dr,seb:f.seb};if(fwescort.props.fr===1){window.location="http://www.webs.com/abuseFrozen.htm?uname="+fwescort.props.un}if(fwescort.props.seb===1){var h=document;var e=h.getElementsByTagName("body")[0];var j=h.createElement("div");j.setAttribute("id","expired_prem_msg");j.innerHTML='<div>This site\'s premium subscription has expired. If you are the site owner, please login to renew your services. <span class="epm_button_wrapper"><a class="btn_core btn_core_blue btn_core_sm" href="http://members.webs.com/s/premium/index?ss=prevprem_usersite_banner" rel="nofollow" title="Renew your premium subscription"><span>Renew Now</span></a></span></div>';var l=h.createElement("a");l.setAttribute("id","expired_prem_msg_close");l.innerHTML="close";e.appendChild(j);e.appendChild(l);h.getElementById("expired_prem_msg_close").onclick=function(){document.getElementById("expired_prem_msg").style.display="none";document.getElementById("expired_prem_msg_close").style.display="none"}}if(document.cookie.indexOf("fwwwToken")>=0){var c=fwescort.getCookie("fwwwToken");if(c!=null){var m=document.createElement("script");m.type="text/javascript";m.src="http://link.members.webs.com/Members/memberState.jsp?token="+c+"&un="+fwescort.props.un;fwescort.appendChoice.appendChild(m)}}var n=fwescort.fw_getU(window.location);if(fwescort.props.un&&document.getElementById&&document.getElementsByTagName){if(document.getElementById("fw-footer")){var k=document.getElementById("fw-footer").getElementsByTagName("a");if(k&&k.length!=null&&k.length>0&&k[0].href!=null){if(k[0].href.indexOf("members.webs.com")>0){k[0].href="http://www.webs.com/?referer=freebar&cm_mmc=Freewebs-_-Free%20Website-_-Freebar&utm_source=product&utm_medium=userSite&utm_term=footer&utm_content=other&utm_campaign=freebar"}}}}if(fwescort.props.np&&typeof(fwescort.props.un)==="string"&&fwescort.props.dr){var b=new Image();b.onload=function(){};b.src="http://audit.303br.net?anId=112&pubId=null"}if(fwescort.props.te){var g=new Popover("http://www.webs.com/s/popovers/publicPopover?stringId=Trial_Expired_Popover-User_Site",{height:280,width:550,heading:"Trial Expired!",showLoading:true,closeButton:false});g.show()}if(fwescort.props.cat!=998&&fwescort.props.np&&fwescort.props.al==2){if(window==parent||(parent.document.getElementsByTagName("iframe")[0]==null&&window==parent.frames[parent.frames.length-1])){if(navigator.userAgent.indexOf("MSIE 6")>0){fwescort.initFreebar(fwescort.props.ll)}else{fwescort.initMeeboBar()}}}if(fwescort.props.np==1&&fwescort.props.al==2){window.status="This site is hosted for free at Webs.com."}if(fwescort.props.prov==1){window.setInterval(function(){fwescort.k4()},3000);fwescort.k4();fwescort.k6()}if(fwescort.props.np==1){fwescort.k5();window.setTimeout(function(){fwescort.k5()},3000)}},fw_getU:function(b){b=b.toString();var c,d=new RegExp("http://(www.)?freeweb[sz].com/","i"),a=d.exec(b);if(a==null||a.index!=0){return""}else{b=b.substring(a[0].length);if((c=b.indexOf("/"))>0){return b.substring(0,c)}else{return b}}},hashUN:function(a){if(a.length<5){return 0}return a.charCodeAt(0)*31*31*31*31+a.charCodeAt(1)*31*31*31+a.charCodeAt(2)*31*31+a.charCodeAt(3)+31+a.charCodeAt(4)},initFreebar:function(f){var d="http://www.webs.com/?referer=advbar&cm_mmc=Freewebs-_-Free%20Website-_-AdvBar-_-Free%20Website&utm_source=product&utm_medium=userSite&utm_term=footer&utm_content=other&utm_campaign=advanced",j="xmd0kf4ghe846jqo9pd",h=(typeof f=="undefined"?0:f),e=new Date(),e=Math.floor(e.getTime()/86400000),k=e-fwescort.props.ll,c=true,b=(location.href.indexOf("forcead=1")>0)||k>30,a=false,l=null,g=null;if(b&&location.href.indexOf("freewebs")>0&&location.href.indexOf("freewebs")<11){l=document.createElement("div");l.style.cssText="position: absolute; width: 100%; height: 90px; left: 0px; top: 40px; text-align: center; z-index: 10001; background-color: #"+document.bgColor+";";l.innerHTML='<iframe src="http://www.freewebs.com/adv-iframe.htm" frameborder="0" border="0" scrolling="no" style="margin: 0 auto; width: 728px; height: 90px;">';fwescort.appendChoice.style.paddingTop=100+"px";fwescort.appendChoice.appendChild(l)}if(c){g=document.createElement("div");_fw.freebar=g;_fw.adv=g;if(window["_load_random_"+j]&&typeof window["_load_random_"+j]==="function"){window["_load_random_"+j]()}if(!window["_load_random_"+j]&&!window["_set_random_"+j]){g.style.cssText="width: 100%; height: 32px; position: absolute; top: 0px; left: 0px; text-align: right; background: #66CCFF url('http://images.webs.com/static/templates/freebars/bar_stretchblue-bg.gif') repeat-x top left;";g.innerHTML='<div style="position:absolute; left: 0px; top: 0px; width: 260px; height: 32px;"><a href="http://www.webs.com/?referer=advbar&cm_mmc=Freewebs-_-Free%20Website-_-AdvBar-_-Free%20Website&utm_source=product&utm_medium=userSite&utm_term=footer&utm_content=other&utm_campaign=advanced"><img src="http://images.webs.com/static/templates/freebars/bar_stretchblue-web.gif" width=260 height=32 border=0 align=middle></a></div><a href="'+d+'" target="_top"><img src="http://images.webs.com/static/templates/freebars/bar_stretchblue-logo.gif" width=168 height=32 border=0 align=middle title="Get your free website today!"></a>';fwescort.appendChoice.style.paddingTop=(b?140:40)+"px"}else{g.style.left=0}if(window["_set_random_"+j]&&typeof window["_set_random_"+j]==="function"){window["_set_random_"+j]()}if(g.style.top.indexOf("-")<=0){g.style.top=0}fwescort.appendChoice.appendChild(g)}},initMeeboBar:function(){var a="xmd0kf4ghe846jqo9pd";if(window["_load_random_"+a]&&typeof window["_load_random_"+a]==="function"){window["_load_random_"+a]()}if(!document.getElementById("meebo")&&!window["_load_random_"+a]&&!window["_set_random_"+a]){window.Meebo||function(R){function E(){return["<",L,' onload="var d=',N,";d.getElementsByTagName('head')[0].",K,"(d.",M,"('script')).",J,"='//cim.meebo.com/cim?iv=",T.v,"&",D,"=",R[D],R[I]?"&"+I+"="+R[I]:"",R[P]?"&"+P+"="+R[P]:"","'\"></",L,">"].join("")}var O=window,T=O.Meebo=O.Meebo||function(){(T._=T._||[]).push(arguments)},Q=document,L="body",H=Q[L],C;if(!H){C=arguments.callee;return setTimeout(function(){C(R)},100)}T.$={0:+new Date};T.T=function(b){T.$[b]=new Date-T.$[0]};T.v=4;var K="appendChild",M="createElement",J="src",I="lang",D="network",P="domain",G=Q[M]("div"),z=G[K](Q[M]("m")),S=Q[M]("iframe"),N="document",F,B=function(){T.T("load");T("load")};O.addEventListener?O.addEventListener("load",B,false):O.attachEvent("onload",B);G.style.display="none";H.insertBefore(G,H.firstChild).id="meebo";S.frameBorder="0";S.id="meebo-iframe";S.allowTransparency="true";z[K](S);try{S.contentWindow[N].open()}catch(y){R[P]=Q[P];F="javascript:var d="+N+".open();d.domain='"+Q.domain+"';";S[J]=F+"void(0);"}try{var A=S.contentWindow[N];A.write(E());A.close()}catch(u){S[J]=F+'d.write("'+E().replace(/"/g,'\\"')+'");d.close();'}T.T(1)}({network:"webs2"});if(window.Meebo){Meebo("addButton",{id:"webs_meebo_button_get_a_free_website",type:"action",icon:"http://images.webs.com/static/global/icons/silk/star.png",label:"Get a free website at Webs.com",onClick:function(){top.location="http://www.webs.com/?referer=advbar&cm_mmc=Freewebs-_-Free%20Website-_-AdvMeebo-_-Free%20Website&utm_source=product&utm_medium=userSite&utm_term=footer&utm_content=other&utm_campaign=advanced"}})}}if(window["_set_random_"+a]&&typeof window["_set_random_"+a]==="function"){window["_set_random_"+a]()}},loadEvent:function(a){if(typeof jQuery!="undefined"){jQuery(document).ready(function(){a()})}else{fwescort.fallback_loadEvent(function(){a()})}},fallback_loadEvent:(function(){var load_events=[],load_timer,script,done,exec,old_onload,init=function(){done=true;clearInterval(load_timer);for(i=0;i<load_events.length;i++){exec=load_events.shift();exec()}if(script){script.onreadystatechange=""}};return function(func){if(done){return func()}if(!load_events[0]){if(document.addEventListener){document.addEventListener("DOMContentLoaded",init,false);