"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

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: 1642959, type: 'trailer', site: '95ae5f6e21754ad4b0f877d0b7c403ab', key: '6779356c4947716a324c70516f6c614f3050426161772929', timestamp: '132792638055828837', sig: '583277753464576c433832734a25326236306d552532626870534942423551253364', controls: true, autoplay: true, ua: 'UA-299547-17', qualitySwitcher: true, responsive: true , events: { ready: function() { player.setEndCap({ template: 'movie_suggestions', showJoinUnlimited: !false, data: recList }); } , bsevent: function() {} } }); }; function getRecommendations() { var recString = '{'; var membershipBenefits = []; var recomendations = [ { "title": "Wild Teen Fuck", "img": "https://imgs1cdn.adultempire.com/products/81/2677781.jpg", "url": "/unlimited/2678383/wild-teen-fuck-streaming-video.html?partner_ID=25717034&" }, { "title": "Teen Sex Young and Ready to Fuck", "img": "https://imgs1cdn.adultempire.com/products/94/2678394.jpg", "url": "/unlimited/2679302/teen-sex-young-and-ready-to-fuck-streaming-video.html?partner_ID=25717034&" }, { "title": "Spermabambis", "img": "https://imgs1cdn.adultempire.com/products/99/3070999.jpg", "url": "/unlimited/3071742/spermabambis-streaming-video.html?partner_ID=25717034&" }, { "title": "Girl Next Door #12, The", "img": "https://imgs1cdn.adultempire.com/products/64/1630864.jpg", "url": "/unlimited/1633966/girl-next-door-12-the-streaming-video.html?partner_ID=25717034&" }, { "title": "18 & Easy", "img": "https://imgs1cdn.adultempire.com/products/07/1654307.jpg", "url": "/unlimited/1655968/18-easy-streaming-video.html?partner_ID=25717034&" }, { "title": "After School Fuck Club 3", "img": "https://imgs1cdn.adultempire.com/products/14/1736114.jpg", "url": "/unlimited/1736232/after-school-fuck-club-3-streaming-video.html?partner_ID=25717034&" } ].sort(function() { return .5-Math.random();}); recString += '"ad_settings": {"display": "true", "header_text": "Join Unlimited Now", "button_text": "Join Now", "button_color": "#E84343", '; recString += '"button_hover_color": "#A60808", "button_text_color": "#FFFFFF", "button_text_hover_color": "#FFFFFF", "button_url": "/unlimited/account/activate", '; recString += '"bulletpoints": [{"text": "Over 100,000 Adult Movies"}, {"text": "Over 420,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 += '"type": "movie", "recommendation_header": "", '; recString += '"movies": '; //recString += JSON.stringify([].concat(membershipBenefits.slice(0,1), recomendations.slice(0,4), membershipBenefits.slice(1,2))); 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); $(".more").addClass("active"); $("#showmoretext").html?partner_ID=25717034&(" Loading..."); $.ajax({ url: "/Subscription/MoreRecommendations", dataType: "json", data: ({ Item_ID: currentItem, newPage: currentpage }), success: function(data) { $("#sp_morerecs").append(data).slideDown("slow"); $("#showmoretext").html?partner_ID=25717034&("Show More"); $(".more").removeClass("active"); } }); } (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_7913_22471_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, true); }); 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")); }); }); }); } })();