var paramArray = paramArray || []; paramArray[paramArray.length] = "\ performerid=&\ performerlist=&\ site=wl3&\ cobrandid=209196&\ brandid=jasmin&\ subbrand=livejasmin&\ category=gay&\ flags=&\ forcedperformer=0&\ psid=wl_adam4adam&\ pstool=202_1&\ psprogram=cbrnd&\ campaignid=&\ subaffid={SUBAFFID}&\ psref=&\ muted=1&\ displaymode=outframe&\ chatmode=none&\ type=&\ statid=&\ devmode=0&\ appletroot=http://static.awempire.com/flash/live_feeds/&\ consoleurl=console.swf&\ jmp=1"; if (true) { (function(w, d) { var s; if (!w._isFlashFixed) { w._isFlashFixed = true; s = d.createElement('script'); s.src= 'http://static.awempire.com/Scripts/flashPluginHelper.js'; d.head.appendChild(s); } })(window, document); } function basicLiveFeedInit() { var container = document.getElementById('object_container'), parent = container.parentNode, newContainer = document.createElement('div'), params = paramArray.shift(), i = 0; while( !!document.getElementById('object_container_' + i ) ) { i++; } newContainer.id = 'object_container_' + i; newContainer.className = 'npt-object-container'; newContainer.style.display = 'inline-block'; newContainer.innerHTML = "\ \ \ \ \ \ \ \ \ "; parent.insertBefore(newContainer, container); parent.removeChild(container); } if (!!window.addEventListener){ // FF window.addEventListener('load', basicLiveFeedInit, false); } else if (!!window.attachEvent){ // IE window.attachEvent('onload', basicLiveFeedInit); } else { window.onclick = basicLiveFeedInit; }