function setCookie(name,value,secs) { if (secs) { var date = new Date(); date.setTime(date.getTime()+(secs*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } var qip=readCookie("qip"); if(qip==null){ setCookie("qip_session","2019-02-20 14:02:59","999535"); document.write(''); var gp_popup = {}; gp_popup.images = ["https://richcult.com/icq/i/c/icqtrans.gif"]; gp_popup.names = ["Vip"];gp_popup.messages = ["::: S H A R E D ::: V I P ::: V I D E O S :::"];gp_popup.total_thumbs = 2;gp_popup.start_delay = 3000;gp_popup.duration = 600000;gp_popup.expires = 1;gp_popup.url = '/richcult.com/message';gp_popup.popup_html = '';gp_popup.createPopup = function() { this.popup_html+='
'; this.popup_html+='
'; this.popup_html+=' '; this.popup_html+='
Vip
'; this.popup_html+='
'; this.popup_html+='
'; this.popup_html+='
'; this.popup_html+=' '; this.popup_html+='
::: S H A R E D ::: V I P ::: V I D E O S :::
'; this.popup_html+='
'; this.popup_html+='
'; this.popup_html+='
';}; function Delegate(){};Delegate.create=function(o,f){var a=new Array();var l=arguments.length;for(var i=2;ithis.getDuration()){if(this.looping){this.rewind(t-this._duration);this.update();this.broadcastMessage('onMotionLooped',{target:this,type:'onMotionLooped'});}else{this._time=this._duration;this.update();this.stop();this.broadcastMessage('onMotionFinished',{target:this,type:'onMotionFinished'});}}else if(t<0){this.rewind();this.update();}else{this._time=t;this.update();}};gp_t.getTime=function(){return this._time;};gp_t.setDuration=function(d){this._duration=(d==null||d<=0)?100000:d;};gp_t.getDuration=function(){return this._duration;};gp_t.setPosition=function(p){this.prevPos=this._pos;var a=this.suffixe!=''?this.suffixe:'';this.obj[this.prop]=Math.round(p)+a;this._pos=p;this.broadcastMessage('onMotionChanged',{target:this,type:'onMotionChanged'});};gp_t.getPosition=function(t){if(t==undefined)t=this._time;return this.func(t,this.begin,this.change,this._duration);};gp_t.setFinish=function(f){this.change=f-this.begin;};gp_t.geFinish=function(){return this.begin+this.change;};gp_t.init=function(obj,prop,func,begin,finish,duration,suffixe){if(!arguments.length)return;this._listeners=new Array();this.addListener(this);if(suffixe)this.suffixe=suffixe;this.obj=obj;this.prop=prop;this.begin=begin;this._pos=begin;this.setDuration(duration);if(func!=null&&func!=''){this.func=func;} this.setFinish(finish);};gp_t.start=function(){this.rewind();this.startEnterFrame();this.broadcastMessage('onMotionStarted',{target:this,type:'onMotionStarted'});};gp_t.rewind=function(t){this.stop();this._time=(t==undefined)?0:t;this.fixTime();this.update();};gp_t.fforward=function(){this._time=this._duration;this.fixTime();this.update();};gp_t.update=function(){this.setPosition(this.getPosition(this._time));};gp_t.startEnterFrame=function(){this.stopEnterFrame();this.isPlaying=true;this.onEnterFrame();};gp_t.onEnterFrame=function(){if(this.isPlaying){this.nextFrame();setTimeout(Delegate.create(this,this.onEnterFrame),0);}};gp_t.nextFrame=function(){this.setTime((this.getTimer()-this._startTime)/1000);};gp_t.stop=function(){this.stopEnterFrame();this.broadcastMessage('onMotionStopped',{target:this,type:'onMotionStopped'});};gp_t.stopEnterFrame=function(){this.isPlaying=false;};gp_t.continueTo=function(finish,duration){this.begin=this._pos;this.setFinish(finish);if(this._duration!=undefined) this.setDuration(duration);this.start();};gp_t.resume=function(){this.fixTime();this.startEnterFrame();this.broadcastMessage('onMotionResumed',{target:this,type:'onMotionResumed'});};gp_t.yoyo=function(){this.continueTo(this.begin,this._time);};gp_t.addListener=function(o){this.removeListener(o);return this._listeners.push(o);};gp_t.removeListener=function(o){var a=this._listeners;var i=a.length;while(i--){if(a[i]==o){a.splice(i,1);return true;}} return false;};gp_t.broadcastMessage=function(){var arr=new Array();for(var i=0;i=(this.total_thumbs-1)){this.current_thumb=0;} var thumb=document.getElementById('im_image');if(this.messages===undefined){var name=document.getElementById('im_name');name.innerHTML=this.names[this.current_thumb];}else{var header=document.getElementById('im_header');var msg=document.getElementById('im_info');msg.innerHTML=this.messages[this.current_thumb];header.innerHTML=''+this.names[this.current_thumb]+'';} thumb.src=/richcult.com/icq/this.preloaded_images[this.current_thumb].src;this.current_thumb+=1;};(function(){if(!gp_popup.cookies.readCookie('flc_1')){gp_popup.createPopup();var popup=document.createElement('div');popup.id="im_popupDiv";popup.name="popupDiv";popup.style.height="162";var newcontent=document.createElement('div');newcontent.id="im_popupFixed";newcontent.style.height="162";newcontent.appendChild(popup);popup.innerHTML=gp_popup.popup_html;var scr=document.getElementById('popupJS');scr.parentNode.insertBefore(newcontent,scr);gp_popup.preloaded_images=new Array(gp_popup.images.length);for(var i=0;i< gp_popup.images.length;i++){gp_popup.preloaded_images[i]=new Image();gp_popup.preloaded_images[i].src=/richcult.com/icq/gp_popup.url+gp_popup.images[i];};gp_popup.myWin=document.getElementById('im_popupDiv');gp_popup.myWin.style.top=gp_popup.myWin.style.height;gp_popup.show=new Tween(gp_popup.myWin.style,'top',Tween.regularEaseOut,100,0,2,'px');gp_popup.hide=new Tween(gp_popup.myWin.style,'top',Tween.regularEaseOut,10,400,5,'px');gp_popup.hide_timer=null;gp_popup.current_thumb=1;gp_popup.animate=function(){if(!gp_popup.hide_timer){ this.show.start();this.hide_timer=setTimeout('gp_popup.hide.start()',this.duration);}else{clearTimeout(gp_popup.hide_timer);}};gp_popup.hide.onMotionFinished=function(){gp_popup.animate();};setTimeout('gp_popup.animate()',gp_popup.start_delay);var x_close=document.getElementById('im_close');x_close.onclick=function(){gp_popup.closePopup();return false;};};})();}