FFN.banners.ab_toolbar={config:FFN.banners.data.config,resetVars:function(){var cfg=this.config;cfg.bannerIdHolderH=26;cfg.bannerIdHolder='FFN_Banner_Holder';cfg.bannerIdContainer='FFN_Banner_Container';cfg.bannerIdClose='FFN_Banner_Close';cfg.bannerIdWindows='FFN_Banner_windows';cfg.cookieNameFC='FFN_abT_'+cfg.pid;cfg.cookieNameWP='FFN_abTwp_'+cfg.pid;cfg.creativeTracking='toolbar_chat';cfg.offset='1%';cfg.delay=0;cfg.replay=0;cfg.scrollSpeed=15;cfg.freqCap=/\d+/.test(cfg.freqCap)?parseFloat(cfg.freqCap):0;cfg.chatDelay1=/\d+/.test(cfg.chatDelay1)?parseInt(cfg.chatDelay1,10):3;cfg.chatDelay2=/\-?\d+/.test(cfg.chatDelay2)?parseInt(cfg.chatDelay2,10):3;cfg.winPopups=/\d+/.test(cfg.winPopups)?parseInt(cfg.winPopups,10):100;cfg.compact=(/(g1107512|g1119958)/.test(cfg.gpid)||cfg.compact==='1')?'compact':'main';cfg.page=cfg.page.length>0?cfg.page:'registration';cfg.winPopupsCurrent=FFN.banners.masterSet.getCookie(cfg.cookieNameWP);cfg.winPopups=(cfg.winPopupsCurrent===null)?cfg.winPopups:((cfg.winPopupsCurrent>0)?cfg.winPopupsCurrent:0);cfg.thumb_00='http://graphics.pop6.com/ffadult/featured/external/43/134384_134384.134384.thumb.gif';cfg.thumb_01='http://graphics.pop6.com/ffadult/featured/external/55/135518_135518.135518.thumb.gif';cfg.thumb_02='http://graphics.pop6.com/ffadult/featured/external/photos/GA/yVGau02pa1nutxZwijCoXg.jpg';if(cfg.site==='cams'){cfg.swfFile={main:{swf:'cb_toolbar_cams_02_new.swf',width:240,height:180,version:'9.0.0'},compact:{swf:'cb_toolbar_cams_02_new.swf',width:240,height:180,version:'9.0.0'}};cfg.profile={over:'won_over.gif',out:'won_out.gif'};}else{cfg.swfFile={main:{swf:'cb_toolbar_35_new.swf',width:415,height:180,version:'8.0.0'},compact:{swf:'cbc_toolbar_03_new.swf',width:415,height:180,version:'8.0.0'}};cfg.profile={over:'profiles_over.gif',out:'profiles_out.gif'};}
cfg.bannerMsgs={id:'FFN_Banner_msgs',created:false,offsetTop:-35,offsetleft:15};cfg.imgPath=cfg.domain_graphics+'/banners/floater_ads/anchor/toolbar/';cfg.imgPathLang=cfg.imgPath+cfg.lang;cfg.swf=cfg.domain_content+'/banners/floater_ads/anchor/toolbar/'+cfg.swfFile[cfg.compact].swf;},build:function(){var cfg=this.config;var htmlCode='';var css='position:fixed;';var cssSWF='position:fixed; right:26px;';if(cfg.ie7){if(cfg.eHasDoctype){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 ) ); ';cssSWF='position:absolute; right:15px;';}
cfg.bannerMsgs.offsetTop=-23;}
if(cfg.ie6){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 ) ); ';cssSWF='position:absolute; right:15px;';cfg.bannerMsgs.offsetTop=-22;}
if(cfg.opera){cfg.bannerMsgs.offsetTop=-23;}
var dcbArg=cfg.dcb.length>0?('&dcb='+cfg.dcb):'';var langArg='&lang='+cfg.lang;var creativeTrackingArg='&creative='+cfg.creativeTracking;var pageLink=cfg.pageLink+creativeTrackingArg;if(cfg.site==='cams'){var genreKeysArg=cfg.genre_keys.length>0?'&genre_keys='+cfg.genre_keys:'';var ethnicityKeysArg=cfg.ethnicity_keys.length>0?'&ethnicity_keys='+cfg.ethnicity_keys:'';var hair_colorKeysArg=cfg.hair_color_keys.length>0?'&hair_color_keys='+cfg.hair_color_keys:'';}else{var findSex=cfg.findSex.length>0?'&find_sex='+cfg.findSex:'';var gndIDX=cfg.findSex==='1'?'M':'F';var lookingForPerson=cfg.lookingForPerson.length>0?'&looking_for_person='+cfg.lookingForPerson:'';}
var ages=cfg.age.length>0?cfg.age:'';var ageRange='';var ageRangeSWF='';var ageAvg=25;var minAge=cfg.minAgeDefault;var maxAge=cfg.maxAgeDefault;if(ages.length>0){ageRangeSWF='&age='+ages;ages=ages.split('-');ageRange='&min_age='+ages[0]+'&max_age='+ages[1];ageAvg=parseInt(((parseInt(ages[0],10)+parseInt(ages[1],10))/2),10);minAge=ages[0];maxAge=ages[1];}
var logoPath=cfg.logo;if(logoPath.length===0){logoPath=cfg.imgPath+'logo_'+cfg.site+'.gif';}
var swfVars;if(cfg.site==='cams'){var genreHref=cfg.href+'/p/cams/view.cgi/?action=list&pid='+cfg.pid+dcbArg+langArg+creativeTrackingArg;var genreLink={amateur:genreHref+'&adcat=amateur',brunette:genreHref+'&hair_color_keys=03&adcat=brunette',asian:genreHref+'&ethnicity_keys=02&adcat=asian',latina:genreHref+'&ethnicity_keys=06&adcat=latina',blonde:genreHref+'&hair_color_keys=02&adcat=blonde',sex:genreHref+'&genre_keys=03&adcat=sex',anal:genreHref+'&fetishes_keys=02&adcat=anal',teen:genreHref+'&age_range_keys=18-19&adcat=teen',tranny:genreHref+'&genre_keys=06&adcat=tranny'};var fv_mciab={'logoURL':encodeURIComponent(''),'skinURL':encodeURIComponent('cams_live_skin_3_no_chat.swf'),'clickURL':encodeURIComponent(cfg.href+'/p/cams/view.cgi?stream=\{stream\}&action=view&pid='+cfg.pid+dcbArg+langArg+creativeTrackingArg),'streamURL':encodeURIComponent(cfg.href+'/p/cams/cpcs/StreamInfo.cgi'),'window':encodeURIComponent(cfg.target),'pid':encodeURIComponent(cfg.pid),'colorTheme':encodeURIComponent('0xFF0000'),'colorModelName':encodeURIComponent('0x000000'),'volume':encodeURIComponent('0'),'genreKeys':encodeURIComponent(cfg.genre_keys),'cobrand':encodeURIComponent(cfg.dcb)};swfVars={cookiePopup:encodeURIComponent("FFN.banners.ab_toolbar.updateWindowPopups()"),popups:encodeURIComponent(cfg.winPopups),holderMax:encodeURIComponent("FFN.banners.ab_toolbar.holderMax()"),holderMin:encodeURIComponent("FFN.banners.ab_toolbar.holderMin()"),cobrand_bg:encodeURIComponent(cfg.colors.dark_table_color),cobrand_fg:encodeURIComponent(cfg.colors.dark_table_font_color),cobrand_bg_rollover:encodeURIComponent(cfg.colors.medium_table_color),cobrand_fg_rollover:encodeURIComponent(cfg.colors.medium_table_font_color),url_mciab:encodeURIComponent(cfg.banners_domain+'/images/cams/flash/dev/cams_live.swf?pid='+fv_mciab.pid+'&genreKeys='+fv_mciab.genreKeys+'&colorTheme='+fv_mciab.colorTheme+'&modelNameColor='+fv_mciab.colorModelName+'&volume='+fv_mciab.volume+'&skinURL='+fv_mciab.skinURL+'&clickURL='+fv_mciab.clickURL+'&traceOutput=1&streamURL='+fv_mciab.streamURL+'&window='+fv_mciab.window+'&cobrand='+fv_mciab.cobrand),tag_categories:encodeURIComponent(cfg.dt.tag_categories),tag_live_cams:encodeURIComponent(cfg.dt.tag_live_cams),tag_whos_on_now:encodeURIComponent(cfg.dt.tag_whos_on_now),category_00:encodeURIComponent(cfg.dt.category_00),category_link_00:encodeURIComponent(genreLink.amateur),category_01:encodeURIComponent(cfg.dt.category_01),category_link_01:encodeURIComponent(genreLink.anal),category_02:encodeURIComponent(cfg.dt.category_02),category_link_02:encodeURIComponent(genreLink.asian),category_03:encodeURIComponent(cfg.dt.category_03),category_link_03:encodeURIComponent(genreLink.blonde),category_04:encodeURIComponent(cfg.dt.category_04),category_link_04:encodeURIComponent(genreLink.latina),category_05:encodeURIComponent(cfg.dt.category_05),category_link_05:encodeURIComponent(genreLink.teen),category_06:encodeURIComponent(cfg.dt.category_06),category_link_06:encodeURIComponent(genreLink.tranny),audio:encodeURIComponent(cfg.audio)};}else{swfVars={cookiePopup:encodeURIComponent("FFN.banners.ab_toolbar.updateWindowPopups()"),popups:encodeURIComponent(cfg.winPopups),holderMax:encodeURIComponent("FFN.banners.ab_toolbar.holderMax()"),holderMin:encodeURIComponent("FFN.banners.ab_toolbar.holderMin()"),stat_online:encodeURIComponent(cfg.cron.online),stat_notification:encodeURIComponent("<br />• "+cfg.dt.stats_members+"<br />• "+cfg.dt.stats_photos+"<br />• "+cfg.dt.stats_chatting+"<br />• "+cfg.dt.stats_im),headline_00:encodeURIComponent(cfg.dt.headline_00),headline_01:encodeURIComponent(cfg.dt.headline_01),headline_02:encodeURIComponent(cfg.dt.headline_02),geoCity:encodeURIComponent(cfg.geo.city),pid:encodeURIComponent(cfg.pid),go_url_00:encodeURIComponent(pageLink),target:encodeURIComponent(cfg.target),page:encodeURIComponent(cfg.page),chat_delay:encodeURIComponent(cfg.chatDelay1),reopen_delay:encodeURIComponent(cfg.chatDelay2),url_piclist:encodeURIComponent(cfg.banners_domain+"/piclist?view=xml&no_flash=1&no_fakevid=0&size=3&thumb=thumb&models=1&pid="+cfg.pid+"&page="+cfg.page+ageRangeSWF+dcbArg+findSex+lookingForPerson),thumb_00:encodeURIComponent(cfg.thumb_00),thumb_01:encodeURIComponent(cfg.thumb_01),thumb_02:encodeURIComponent(cfg.thumb_02),handle_00:encodeURIComponent("xtaylor2"),handle_01:encodeURIComponent("xpat69"),handle_02:encodeURIComponent("x2much4u"),age:encodeURIComponent(ageAvg),gender:encodeURIComponent(cfg.dt.gender[gndIDX]),cobrand_bg:encodeURIComponent(cfg.colors.dark_table_color),cobrand_fg:encodeURIComponent(cfg.colors.dark_table_font_color),tag_friend_list:encodeURIComponent(cfg.dt.tag_friend_list),tag_meet_members_near:encodeURIComponent(cfg.dt.tag_meet_members_near),tag_notifications:encodeURIComponent(cfg.dt.tag_notifications),tag_online:encodeURIComponent(cfg.dt.tag_online),tag_online_members:encodeURIComponent(cfg.dt.tag_online_members),tag_see_all:encodeURIComponent(cfg.dt.tag_see_all),tag_button_label:encodeURIComponent(cfg.dt.tag_button_label),url_chat:encodeURIComponent(cfg.imgPathLang+'/xml_anchor_banner_toolbar.xml'),audio:encodeURIComponent(cfg.audio)};}
var flashVars='';for(var p in swfVars){flashVars+=p+'='+swfVars[p]+'&';}
flashVars=flashVars.substring(0,flashVars.length-1);htmlCode+='<div id="'+cfg.bannerIdHolder+'" style="'+css+' z-index:99999; width:98%; height:'+cfg.bannerIdHolderH+'px; right:'+cfg.offset+'; bottom:0px; display:none;">';htmlCode+='<div id="'+cfg.bannerIdContainer+'" style="z-index:99998; position:relative; width:100%; height:'+cfg.bannerIdHolderH+'px; top:0px;">';htmlCode+='<div style="z-index:99997; position:absolute; top:0px; left:0px;"><img src="../../Amy/images/'+cfg.imgPath+'left.gif" width="3" height="26" border="0" alt="left" /></div>';htmlCode+='<div style="z-index:99994; position:absolute; width:99%; top:0px; left:3px; background:url('+cfg.imgPath+'bg.gif) repeat-x; text-align:left;">';htmlCode+='<div style="float:left; padding-top:2px;"><a href="../../Amy/images/'+pageLink+'" target="'+cfg.target+'" title="'+cfg.dt.linkTitle+'"><img src="../../Amy/images/'+logoPath+'" height="24" border="0" alt="'+cfg.sitename+'" /></a></div>';htmlCode+='<div style="float:left;"><a href="../../Amy/images/'+pageLink+'" target="'+cfg.target+'" onmouseover="FFN.banners.masterSet.imgAct(\'but_profile\',\'profiles_over\'); FFN.banners.ab_toolbar.showMsg(this,\''+escape(cfg.dt.profiles)+'\');" onmouseout="FFN.banners.masterSet.imgAct(\'but_profile\',\'profiles_out\'); FFN.banners.ab_toolbar.hideMsg();"><img name="but_profile" src="../../Amy/images/'+cfg.imgPath+cfg.profile.out+'" width="51" height="26" border="0" /></a></div>';htmlCode+='<div style="float:left;"><a href="../../Amy/images/'+pageLink+'" target="'+cfg.target+'" onmouseover="FFN.banners.masterSet.imgAct(\'but_videos\',\'videos_over\'); FFN.banners.ab_toolbar.showMsg(this,\''+escape(cfg.dt.videos)+'\');" onmouseout="FFN.banners.masterSet.imgAct(\'but_videos\',\'videos_out\'); FFN.banners.ab_toolbar.hideMsg();"><img name="but_videos" src="../../Amy/images/'+cfg.imgPath+'videos_out.gif" width="49" height="26" border="0" /></a></div>';htmlCode+='<div style="float:left;"><a href="../../Amy/images/'+pageLink+'" target="'+cfg.target+'" onmouseover="FFN.banners.masterSet.imgAct(\'but_chat\',\'chat_over\'); FFN.banners.ab_toolbar.showMsg(this,\''+escape(cfg.dt.chat)+'\');" onmouseout="FFN.banners.masterSet.imgAct(\'but_chat\',\'chat_out\'); FFN.banners.ab_toolbar.hideMsg();"><img name="but_chat" src="../../Amy/images/'+cfg.imgPath+'chat_out.gif" width="49" height="26" border="0" /></a></div>';htmlCode+='<div style="float:left;"><table><tr><td height="24" valign="bottom" style="font-family:Arial, Helvetica, sans-serif; font-size:8px; font-weight:bold; color:#CCC;">'+cfg.dt.disclaimer+'</tr></td></table></div>';htmlCode+='</div>';htmlCode+='<div id="'+cfg.bannerIdWindows+'" style="'+cssSWF+' z-index:99996; width:'+cfg.swfFile[cfg.compact].width+'px; height:26px; bottom:0px; overflow:hidden;">';htmlCode+='<object id="FFN_chat" width="'+cfg.swfFile[cfg.compact].width+'" height="'+cfg.swfFile[cfg.compact].height+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">';htmlCode+='<param name="allowscriptaccess" value="always" />';htmlCode+='<param name="quality" value="high" />';htmlCode+='<param name="wmode" value="transparent" />';htmlCode+='<param name="bgcolor" value="#ffffff" />';htmlCode+='<param name="flashvars" value="'+flashVars+'" />';htmlCode+='<param name="movie" value="../../Amy/images/'+cfg.swf+'" />';htmlCode+='<embed width="'+cfg.swfFile[cfg.compact].width+'" height="'+cfg.swfFile[cfg.compact].height+'" flashvars="'+flashVars+'" src="../../Amy/images/'+cfg.swf+'" allowscriptaccess="always" quality="high" wmode="transparent" bgcolor="#ffffff" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';htmlCode+='</object>';htmlCode+='</div>';htmlCode+='<div style="z-index:99997; position:absolute; top:0px; right:0px;"><a id="'+cfg.bannerIdClose+'" href="#" title="'+cfg.dt.closeTitle+'"><img src="../../Amy/images/'+cfg.imgPath+'advertisement.gif" width="15" height="26" border="0" alt="'+cfg.dt.advertisement+'" /></a></div>';htmlCode+='</div>';htmlCode+='</div>';document.write(htmlCode);},updateWindowPopups:function(){var cfg=this.config;if(cfg.winPopupsCurrent!==null&&cfg.winPopupsCurrent<cfg.winPopups){cfg.winPopups=cfg.winPopupsCurrent;}
cfg.winPopups--;FFN.banners.masterSet.setCookie(cfg.cookieNameWP,cfg.winPopups,24,'/');},holderMax:function(){document.getElementById(this.config.bannerIdWindows).style.height='180px';},holderMin:function(){document.getElementById(this.config.bannerIdWindows).style.height='26px';},createElem:function(id,t,l,html,offsetTop,offsetLeft){offsetTop=offsetTop||0;offsetLeft=offsetLeft||0;var elmObj=document.createElement('div');elmObj.style.position='absolute';elmObj.id=id;elmObj.style.top=(t+offsetTop)+'px';elmObj.style.left=(l+offsetLeft)+'px';elmObj.innerHTML=html;document.body.appendChild(elmObj);},showMsg:function(aObj,text){var cfg=this.config;var pos=FFN.banners.masterSet.getElementTopLeftFixed(aObj);var msgID=cfg.bannerMsgs.id;var msgCreated=cfg.bannerMsgs.created;var msgOffsetTop=cfg.bannerMsgs.offsetTop;var msgOffsetLeft=cfg.bannerMsgs.offsetLeft;var msgTextID='FFN_msgText';var imgPath=cfg.domain_graphics+cfg.imgPath;var htmlCode='';htmlCode+='<div style="position:relative; white-space:nowrap; background-color:#333333; color:#FFFFFF; border:1px solid #CCCCCC; padding:2px 6px; text-align:center; font-size:10px; font-family:Arial, Helvetica, sans-serif;"><span id="'+msgTextID+'"> </span>';htmlCode+='<div style="position:absolute; left:5px; top:15px;"><img src="../../Amy/images/'+cfg.imgPath+'pointer_bottom.gif" width="6" height="5" border="0" alt="pointer" /></div>';htmlCode+='</div>';if(!msgCreated){FFN.banners.ab_toolbar.createElem(msgID,pos.top,pos.left,htmlCode,msgOffsetTop,msgOffsetLeft);cfg.bannerMsgs.created=true;}else{FFN.banners.masterSet.setElementPosition(msgID,pos.top,pos.left,msgOffsetTop,msgOffsetLeft);document.getElementById(msgID).style.display='';}
document.getElementById(msgTextID).innerHTML=unescape(text);},hideMsg:function(){document.getElementById(FFN.banners.data.config.bannerMsgs.id).style.display='none';},init:function(){FFN.banners.ab_toolbar.resetVars();var mS=FFN.banners.masterSet;var cfg=FFN.banners.data.config;var ck=mS.getCookie(cfg.cookieNameFC);if(!ck){mS.browserObjCheck();var imgs={profiles_out:cfg.imgPath+cfg.profile.out,profiles_over:cfg.imgPath+cfg.profile.over,videos_out:cfg.imgPath+'videos_out.gif',videos_over:cfg.imgPath+'videos_over.gif',chat_out:cfg.imgPath+'chat_out.gif',chat_over:cfg.imgPath+'chat_over.gif'};mS.imgCache(imgs);FFN.banners.ab_toolbar.build();mS.delay(cfg.delay);var btn_elm=document.getElementById(cfg.bannerIdClose);btn_elm.onclick=function(){mS.move(cfg.bannerIdContainer,'down');if(cfg.freqCap!==0){mS.setCookie(cfg.cookieNameFC,1,cfg.freqCap,'/');}
return false;};}}};FFN.banners.passInitFN=FFN.banners.ab_toolbar.init;