PXO=window.PXO||{};PXO.im_banner={name:'PXO Ads',version:'3.0.0',description:'Displays a IM chat banner in bottom of viewport',srcName:'js_im_box',size:'thumb',skinIDX:0,domain:'http://www.youporndump.com',domain_secure:'https://www.youporndump.com',domain_cobrand:'youporndump.com',graphics_domain:'http://www.youporndump.com',site:'youporndump',pid:'ad',toPid:'',toSite:'HASH(0xa000004)',pageVal:'registration',madirect:'',siteType:'dating',keysExt:'',freqCap:12,creative:'creative=im_box',extraArgs:'',modExtraAgs:'',genre:''||'',ethnicity:''||'',hair_color:''||'',del:'',qryStr:'',alignment:'',customMsg:'',customMsgAdd:'',cams:{thumb:{width:'235',height:'116',bg_dir:'cams/',img_width:'82px',img_height:'62px',down_pos:'-120',pic_size:1},bigthumb:{width:'293',height:'160',bg_dir:'cams/large/',img_width:'140px',img_height:'106',down_pos:'-164'}},dating:{thumb:{width:'302',height:'270',bg_dir:'',img_width:'47',img_height:'62',down_pos:'-120'},bigthumb:{width:'233',height:'160',bg_dir:'large/',img_width:'80',img_height:'106',down_pos:'-164'}},skin:[{header_font_color:'#666666',body_font_color:'#000000',handle_pos:'25px'},{header_font_color:'#666666',body_font_color:'#000000',handle_pos:'10px'},{header_font_color:'#FFFFFF',body_font_color:'#000000',handle_pos:'10px'},{header_font_color:'#CCCCCC',body_font_color:'#000000',handle_pos:'10px'},{header_font_color:'#666666',body_font_color:'#000000',handle_pos:'10px'},{header_font_color:'#FFFFCC',body_font_color:'#FFFFCC',handle_pos:'10px'},{header_font_color:'#FFFFCC',body_font_color:'#FFFFCC',handle_pos:'10px'}],re:{toDomain:/[^\.\/]+\.com/,toPid:/(a|b|f|g|p)\d+c?(\-(all|brk|cpct|cpm|lp|npct|pct|pmb|pmem|pmo|po|ppc))?(\+reg)?[^&?]+/},update:true,buildArgs:function(name,val){if(val.length===0){return'';}
val=val.split(',');var i,result='',valLen=val.length;for(i=0;i<valLen;i++){result+='&'+name+'='+val[i];}
return result;},base64:(function(){var alphaNumerical='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';var errMsg='ERROR: non-ASCII characters cannot be converted.';var base64Chrs={standard:{set:alphaNumerical+'+/=',re:/[^A-Za-z0-9\+\/\=]/g},url:{set:alphaNumerical+'-_',re:/[^A-Za-z0-9\-\_]/g},regex:{set:alphaNumerical+'!-',re:/[^A-Za-z0-9\!\-]/g},filename:{set:alphaNumerical+'+-',re:/[^A-Za-z0-9\+\-]/g}};function checkInput(input){if(/([^\u0000-\u00ff])/.test(input)){return false;}
return true;}
return{encode:function(input,type){input=input||'';type=type||'standard';var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var output='';var i=0;var chrSet=base64Chrs[type].set;if(!checkInput(input)){return errMsg;}
while(i<input.length){chr1=input.charCodeAt(i++);chr2=input.charCodeAt(i++);chr3=input.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else if(isNaN(chr3)){enc4=64;}
output=output+chrSet.charAt(enc1)+chrSet.charAt(enc2)+chrSet.charAt(enc3)+chrSet.charAt(enc4);}
return output;},decode:function(input,type){input=input||'';type=type||'standard';var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var output='';var i=0;var chrSet=base64Chrs[type].set;if(!checkInput(input)){return errMsg;}
input=input.replace(base64Chrs[type].re,'');while(i<input.length){enc1=chrSet.indexOf(input.charAt(i++));enc2=chrSet.indexOf(input.charAt(i++));enc3=chrSet.indexOf(input.charAt(i++));enc4=chrSet.indexOf(input.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2);}
if(enc4!==64){output=output+String.fromCharCode(chr3);}}
return output;}};}()),setMedleyAds:function(ma,url){return ma!==''?(ma+'?MD='+this.base64.encode(url)):url;},checkClickTracking:function(qryStr,redir,paramName){var re=new RegExp('\\&'+paramName+'\\=(https?\\:\\/\\/[^\\?]+\\?.+\\=)$'),clkURL=re.exec(qryStr);return(clkURL)?(clkURL[1]+redir):redir;}};if(/^(cams|gd|payg|lfc)$/.test(PXO.im_banner.site)){PXO.im_banner.siteType='cams';}
var gCookieName='PPX_im_'+PXO.im_banner.pid;var gDivID='PPX_imBox';var gDelay=0;var banSizeObj=PXO.im_banner[PXO.im_banner.siteType][PXO.im_banner.size];var udCity='Praha';var userInfo=[];userInfo[1]=new userData('bothways40','24','T','Praha','','Czech Republic','<img style="border: 0 transparent none;" src="http://graphics.pop6.com/ffadult/featured/external/photos/DH/oFdHs4zBFf3q0SPB9RdZzYA.jpg" width="47" height="62" alt="No Photo" title="bothways40" />','http://trannydates.com/go/g615196+reg?hostpid=&picid=23IVlWP8_ik0x5JwCWxsWAA--&hr=&looking_for_person=7&show=t-t');if(/(\[NO PHOTO\]|\/default\/)/.test(userInfo[1].img)){userInfo[1].img='<img src="'+PXO.im_banner.graphics_domain+'/banners/imchat/no_image_t_4.jpg" width="'+banSizeObj.img_width+'" height="'+banSizeObj.img_height+'" alt="'+userInfo[1].handle+'" title="'+userInfo[1].handle+'" style="border:0 transparent none;"/>';}
userInfo[1].href+='&'+PXO.im_banner.creative;if(PXO.im_banner.extraArgs.length!==0){PXO.im_banner.del='?';PXO.im_banner.modExtraAgs=PXO.im_banner.extraArgs.substr(1,PXO.im_banner.extraArgs.length);}
if(PXO.im_banner.domain_cobrand.length>0){PXO.im_banner.domain='http://'+PXO.im_banner.domain_cobrand;}
PXO.im_banner.page={cover:PXO.im_banner.domain+'/go/'+PXO.im_banner.pid+PXO.im_banner.del+PXO.im_banner.modExtraAgs+'&'+PXO.im_banner.creative,registration:PXO.im_banner.domain+'/go/'+PXO.im_banner.pid+'+reg'+'?'+PXO.im_banner.creative,gallery:PXO.im_banner.domain+'/go/page/gallery_landing_page?pid='+PXO.im_banner.pid+PXO.im_banner.extraArgs+'&'+PXO.im_banner.creative,model:PXO.im_banner.domain+'/p/cams/view.cgi?&action=bio&stream='+userInfo[1].handle+'&pid='+PXO.im_banner.pid+'&'+PXO.im_banner.creative,view:PXO.im_banner.domain+'/p/cams/view.cgi?&action=view&stream='+userInfo[1].handle+'&pid='+PXO.im_banner.pid+'&'+PXO.im_banner.creative};if(PXO.im_banner.siteType==='cams'){if(typeof PXO.im_banner.page[PXO.im_banner.pageVal]==='undefined'){PXO.im_banner.pageVal='model';}
if(/^(gd|payg|lfc)$/.test(PXO.im_banner.site)){PXO.im_banner.page.model=PXO.im_banner.domain_secure+'/lvs_viewer?stream='+userInfo[1].handle+'&pid='+PXO.im_banner.pid+'&'+PXO.im_banner.creative;PXO.im_banner.page.view=PXO.im_banner.page.model;}
userInfo[1].href=PXO.im_banner.page[PXO.im_banner.pageVal];}
var msg=[];msg[0]='what are u doin 2night cutie?<br />I\'m in '+udCity+', wanna do something?';msg[1]='Hey cutie<br />what\'s there to do in<br />'+udCity+'?';msg[2]='hey! I love '+udCity+' boys!<br />wanna do something?<br />Reply now';msg[3]='hey sweetheart!<br />I\'m in '+udCity+', wanna come over?<br />Reply now';msg[4]='hey you live in '+udCity+' too!?<br />wanna come hang out?<br />Reply now';msg[5]='hey you live in '+udCity+' too!?<br />wanna come over and chill with me?';msg[6]='I\'m in '+udCity+' too!<br />wanna meet up for a drink?<br />Reply now';msg[7]='I\'m in '+udCity+' too!<br />wanna go do something?<br />Reply now';msg[8]='hey you! Wanna hang out?<br />lets meet up in<br />'+udCity;if(PXO.im_banner.pageVal===''){PXO.im_banner.pageVal='registration';}
if(PXO.im_banner.toSite.indexOf('HASH(')!==0){userInfo[1].href=userInfo[1].href.replace(PXO.im_banner.re.toDomain,PXO.im_banner.toSite);}
if(PXO.im_banner.toPid.length>0){if(PXO.im_banner.pageVal==='registration'){PXO.im_banner.toPid+='+reg';}
userInfo[1].href=userInfo[1].href.replace(PXO.im_banner.re.toPid,PXO.im_banner.toPid);}
if(PXO.im_banner.siteType!=='dating'){userInfo[1].href=PXO.im_banner.setMedleyAds(PXO.im_banner.madirect,userInfo[1].href);}
userInfo[1].href=PXO.im_banner.checkClickTracking(PXO.im_banner.qryStr,userInfo[1].href,'third_party_click');var randIDX,css='position:fixed;',html_code='';PXO.im_banner.alignment=/^(left|right)$/i.test(PXO.im_banner.alignment)?PXO.im_banner.alignment:'right';if(PXO.im_banner.customMsg.length!==0){PXO.im_banner.customMsg=PXO.im_banner.base64.decode(PXO.im_banner.customMsg).replace(/\n/g,'<br/>').replace(/\[LOC\]/g,'<b>'+udCity+'</b>');if(PXO.im_banner.customMsgAdd==='1'){msg.push(PXO.im_banner.customMsg);}else{msg=[PXO.im_banner.customMsg];}}
randIDX=Math.floor(Math.random()*msg.length);if(document.all&&window.XMLHttpRequest&&!window.opera){if((window.document.childNodes[0].text==undefined)||(window.document.childNodes[0].text.search(/DOCTYPE\s+HTML\s+PUBLIC.+\.dtd/i)==-1)){css='position:absolute; top:expression( eval( document.compatMode && document.compatMode == \'CSS1Compat\' ) ? documentElement.scrollTop + (documentElement.clientHeight-this.clientHeight) : document.body.scrollTop + ( document.body.clientHeight-this.clientHeight ) ); ';}}
if(document.all&&!window.XMLHttpRequest){css='position:absolute; top:expression( eval( document.compatMode && document.compatMode == \'CSS1Compat\' ) ? documentElement.scrollTop + (documentElement.clientHeight-this.clientHeight) : document.body.scrollTop + ( document.body.clientHeight-this.clientHeight ) ); ';}
html_code+='<div id="PPX_imBox_Container" style="'+css+' display:none; z-index:99999; bottom:0px; width:'+banSizeObj.width+'px; height:'+banSizeObj.height+'px; '+PXO.im_banner.alignment+':5px; overflow:hidden; background-color:transparent; border-width:0px;">';html_code+='<div id="'+gDivID+'" style="position:relative; top:'+banSizeObj.height+'px; z-index:99998; width:'+banSizeObj.width+'px; height:'+banSizeObj.height+'px; font-family:Arial, Helvetica, sans-serif; font-size:12px; padding:0px;">';html_code+='<div style="position:absolute; top:5px; right:5px;"><a id="PPX_btn_close" href="#" onclick="phmg_move(\''+gDivID+'\',\'down\'); return false;" style="color:#666666; font-size:12px; text-decoration:none;"><img src="http://graphics.pop6.com/common/others/spacer.gif" height="15" width="15" border="0" style="border-width:0px;" /></a></div>';html_code+='<div><img src="http://www.youporndump.com/images/msnbg1.png" width="302" height="20"></div>';html_code+='<div style="border:1px solid black;"><iframe src="http://www.youporndump.com/ads/im.php" frameborder="0" scrolling="no" width="300" height="250"></iframe></div>';html_code+='<div style="clear:both;"></div>';html_code+='</div>';html_code+='</div>';document.write(html_code);phmg_delay(gDelay);var phmg_timer;var phmg_btn_elm=document.getElementById('PPX_btn_close');phmg_btn_elm.onclick=function(){phmg_move(gDivID,'down');if(PXO.im_banner.freqCap!=0){phmg_setCookie(gCookieName,1,PXO.im_banner.freqCap,'/');}
return false;};function phmg_delay(sec){sec=sec||0;phmg_timer=setTimeout('phmg_checkCookie()',1000*sec);}
function phmg_checkCookie(){var ck=phmg_getCookie(gCookieName);if(!ck){phmg_move(gDivID);}else{clearTimeout(phmg_timer);}}
function phmg_move(elmID,direction){var supported=(document.getElementById);if(!supported){return;}
var x;var divPath=document.getElementById(elmID);var currPos=parseInt(divPath.style.top,10);var holderDisplay=document.getElementById('PPX_imBox_Container');holderDisplay.style.display='';if(direction==='down'){x=divPath.offsetHeight;if(currPos<=x){currPos+=(currPos+5)>x?((x-currPos)+1):5;divPath.style.top=currPos+'px';phmg_timer=setTimeout("phmg_move('"+elmID+"','down')",30);}else{clearTimeout(phmg_timer);holderDisplay.style.display='none';}}else{x=0;if(currPos>x){currPos-=currPos<5?currPos:5;divPath.style.top=currPos+'px';phmg_timer=setTimeout("phmg_move('"+elmID+"','')",30);}else{clearTimeout(phmg_timer);}}}
function phmg_setCookie(name,value,expires,path,domain,secure){var expStr='';var type='H';var ms={Y:31557600000,W:604800000,D:86400000,H:3600000,M:60000,S:1000};if(expires){var expDte=new Date();var expMS=expDte.valueOf()+(ms[type]*expires);expDte.setTime(expMS);expStr='; expires='+expDte.toGMTString();}
pathStr=((path===undefined)?'':('; path='+path));domainStr=((domain===undefined)?'':('; domain='+domain));secureStr=((secure===undefined)?'':('; secure'));document.cookie=name+'='+escape(value)+expStr+pathStr+domainStr+secureStr;}
function phmg_getCookie(name){var output=null;var cks=' '+document.cookie+';';var matchCk=' '+name+'=';var startPos=cks.indexOf(matchCk);var endPos;if(startPos!=-1){startPos+=matchCk.length;endPos=cks.indexOf(';',startPos);output=unescape(cks.substring(startPos,endPos));}
return output;}
function userData(handle,age,sex,city,state,country,img,href){this.handle=handle;this.age=age;this.sex=sex;this.city=city;this.state=state;this.country=country;this.img=img;this.href=href;}
