"use strict";
var _mtm = _mtm || [];
_mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://analytics.adultempire.com/js/container_iXaVs8DZ.js'; s.parentNode.insertBefore(g,s);
top
©1997-2022 Ravana, LLC. All rights reserved.
var player = null;
var tag = document.createElement('script');
tag.src = "https://www.adultempire.com/gw/player/aeplayer.js";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
var recList = getRecommendations();
function onAEVideoAPIReady() {
player = new AEVideoPlayer('playerDiv', {
item: 2789475,
scene: 717952,
type: "preview",
site: '95ae5f6e21754ad4b0f877d0b7c403ab',
key: '6779356c4947716a324c70516f6c614f3050426161772929',
timestamp: '132972936927315049',
sig: '546754687439777a326f697539586c537454334155436c4e453655253364',
controls: true,
qualitySwitcher: true,
autoplay: true,
ua: 'UA-299547-17',
responsive: true
, events: {
ready: function() {
player.setEndCap({
template: 'scene_suggestions',
showJoinUnlimited: !false,
data: recList
});
}
, bsevent: function() {}
}
});
};
function getRecommendations() {
var recString = '{';
var membershipBenefits = [];
var recomendations = [
{"title": "Real Teens Vol. 10 - Scene 3",
"img": "https://caps1cdn.adultempire.com/n/1958/320/3161958_05260_320c.jpg",
"url": "/unlimited/822589/real-teens-vol-10-streaming-scene.html?partner_ID=25717034&"},
{"title": "True Confessions Of A Porn Starlet 6 - Scene 3",
"img": "https://caps1cdn.adultempire.com/q/7494/320/2787494_04780_320c.jpg",
"url": "/unlimited/719833/true-confessions-of-a-porn-starlet-6-streaming-scene.html?partner_ID=25717034&"},
{"title": "Wedding Nightmare Chloe Cherry Gets Fucked by Fiance's Five Friends",
"img": "https://caps1cdn.adultempire.com/q/6724/320/3196724_04000_320c.jpg",
"url": "/unlimited/840758/wedding-nightmare-chloe-cherry-gets-fucked-by-fiances-five-friends-streaming-scene.html?partner_ID=25717034&"},
{"title": "Troubled Teen ReHab 2",
"img": "https://caps1cdn.adultempire.com/q/6722/320/3196722_01560_320c.jpg",
"url": "/unlimited/840764/troubled-teen-rehab-2-streaming-scene.html?partner_ID=25717034&"},
{"title": "Squirt On My Stepmom Honey",
"img": "https://caps1cdn.adultempire.com/q/7753/320/3207753_01130_320c.jpg",
"url": "/unlimited/844247/squirt-on-my-stepmom-honey-streaming-scene.html?partner_ID=25717034&"},
{"title": "California Neighbors Do Anal!",
"img": "https://caps1cdn.adultempire.com/r/8344/320/3208344_02720_320c.jpg",
"url": "/unlimited/844487/california-neighbors-do-anal-streaming-scene.html?partner_ID=25717034&"},
{"title": "A Mother's Job is Never Done Anal Assassin Trains Her Step-Daughter",
"img": "https://caps1cdn.adultempire.com/r/8333/320/3208333_02880_320c.jpg",
"url": "/unlimited/844488/a-mothers-job-is-never-done-anal-assassin-trains-her-step-daughter-streaming-scene.html?partner_ID=25717034&"},
{"title": "Stepdaughter Orgy",
"img": "https://caps1cdn.adultempire.com/q/7634/320/3217634_01560_320c.jpg",
"url": "/unlimited/848341/stepdaughter-orgy-streaming-scene.html?partner_ID=25717034&"},
{"title": "Magna Cum Laude",
"img": "https://caps1cdn.adultempire.com/p/5215/320/3235215_00280_320c.jpg",
"url": "/unlimited/858275/magna-cum-laude-streaming-scene.html?partner_ID=25717034&"}
].sort(function() { return .5-Math.random();});
recString = recString + '"ad_settings": {"display": "true", "header_text": "Join Unlimited Now", "button_text": "Join Now", "button_color": "#E84343", ';
recString = recString + '"button_hover_color": "#A60808", "button_text_color": "#FFFFFF", "button_text_hover_color": "#FFFFFF", "button_url": "/unlimited/account/activate", ';
recString = recString + '"bulletpoints": [{"text": "Over 120,000
Adult Movies"}, {"text": "Over 500,000
Adult Scenes"}, {"text": "Watch Anywhere, Anytime"}, {"text": "Unlimited Streaming for Less than Cost of a Single DVD"}, {"text": "Discounts on all purchases (DVD, Bluray, Sextoys, VOD)"}]}, '
recString = recString + '"type": "scene", "recommendation_header": "", ';
recString = recString + '"movies": ';
recString += JSON.stringify(recomendations);
recString = recString + '}';
return JSON.parse(recString);
}
function jumpPosition(position) {
player.seek(position);
player.play();
$('#toplink').trigger('click');
}
function showmorerecommendations(currentItem) {
var currentpage = parseInt($("#hid_currentrecpage").val()) + 1;
$("#hid_currentrecpage").val(currentpage);
$("#showmorerecs").addClass("active");
$("#showmoretext").html?partner_ID=25717034&("
Loading...");
$.ajax({
url: "/Subscription/MoreRecommendations",
dataType: "json",
data: ({
Item_ID: currentItem,
newPage: currentpage,
Type: "scene"
}),
success: function(data) {
$("#sp_morerecs").append(" " + data).slideDown("slow");
$("#showmoretext").html?partner_ID=25717034&("Show More");
$("#showmorerecs").removeClass("active");
}
});
}
//scene editing scripts
(function() {
//dom event listeners.
if (window.addEventListener)
{
window.addEventListener('load',scriptBag,false);
}
else if (window.attachEvent)
{
window.attachEvent('onload',scriptBag);
}
else
{
//Older browsers only
if (typeof window.onload=='function')
{
var oldload=window.onload;
window.onload=function(){
oldload();
scriptBag();
}
}
else
{
window.onload = new function() { scriptBag(); };
}
}
//retrieves a meta and stop execution of dependent scripts in success
function getScript(url,success){
var script=document.createElement('script');
script.src=url;
var head=document.getElementsByTagName('head')[0],done=false;
script.onload=script.onreadystatechange = function(){
if ( !done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete') ) {
done=true;
success();
script.onload = script.onreadystatechange = null;
head.removeChild(script);
}
};
head.appendChild(script);
}
function scriptBag() {
getScript('https://www.adultempire.com/static/js/r1_0_8122_21514_subscriptioncombo.js',function(){
//disable caching of ajax responses
//hmmm. could you cache the customer cells?
$.ajaxSetup({ cache: false });
$(document).ready(function(){
var _pedc = _pedc || [];
$('.edc').each(function() {
var sec = $(this).attr('id');
var qs = $(this).attr('params');
$(this).load('/edc/' + sec + "?" + qs, function() {
_pedc.push(sec);
if(_pedc.length == $('.edc').length) {
// All content loaded
}
});
});
});
//Check for splash page modal (set in application controller)
//
//common scripts
InitAutoComplete();
$("#searchbtn").click(function () {
DoUnlimtedSearch();
});
$("#txt_Search").keypress(function (e) {
code = (e.keyCode ? e.keyCode : e.which);
if (code == 13) { DoUnlimtedSearch(); }
});
//Add handling for mouseoffing the main navigation
$("#browse-cotainer").mouseleave(function () {
if ($("#unlimitednavmenu").hasClass("active"))
toggleMainNav();
});
$("input, textarea").focus(function() {$(this).select(); });
$(function() {
InitiateFancyBox('', false, false);
});
function redirectPage() {
window.location = linkLocation;
}
//Swap the vector images if the browser supports svgs
$(".svgswap").svgswap();
//google tracking
//seperated due to extra unlimited tracker
$(function() {
// if tracking=false omit impressions from GA.
$('*:not(a)[data-ta][data-tl][data-tid]').each(function() {
ga('send', 'event', 'tracking', $(this).attr("data-ta"), $(this).attr("data-tl") + "-" + $(this).attr("data-tid"), 1, {'nonInteraction': 1});
});
$(document).on('click', 'a[data-ta][data-tl][data-tid]', function() {
ga('send', 'event', 'tracking', $(this).attr("data-ta"), $(this).attr("data-tl") + "-" + $(this).attr("data-tid"));
});
$(document).on('click', 'a[Category]', function() {
ga('send', 'event', ($(this).attr("Category")), 'click', $(this).attr("Label"));
ga('unlimitedTracker.send', 'event', ($(this).attr("Category")), 'click', $(this).attr("Label"));
});
});
});
}
})();