'; headerContainer.insert( { before: newHeader } ); headerContainer.remove(); } }); } loadNext = function() { var videoCID = 'undefined'; var maxIndex = currentPlaylistCIDs.length; currentPlaylistCIDs.each(function(el, index) { if ( el[0] == currentCID ) { var nextIndex = index + 1; if ( maxIndex > nextIndex ) { var videoObj = currentPlaylistCIDs[nextIndex]; videoCID = videoObj[0]; } else { videoCID = 'undefined'; } $break; } }); if ( (videoCID != 'undefined') && continuousPlay ) { playerCallback(videoCID, 1); sidebarCallback(videoCID); var playlistItem = $('magnify_widget_playlist_item_' + videoCID); scrollToPlaylistItem(playlistItem); } } scrollToPlaylistItem = function(playlistItem) { makeSelected(playlistItem, 'magnify-widget-playlist-item-selected', 'magnify-widget-playlist-item'); Position.prepare(); var listContainer = $('magnify_widget_playlist_items_container_' + currentPlaylist); container_y = Position.cumulativeOffset(listContainer)[1]; element_y = Position.cumulativeOffset(playlistItem)[1]; new Effect.Scroll(listContainer.id, { x: 0, y: ( element_y - container_y ), mode: 'absolute' }); return false; } refreshAd = function(videoCID) { new Ajax.Request('/item/include_adunit.minc?refresh=1&dimensions=continuous_300x250&cid=' + videoCID, { evalScripts: true, method: 'get', asynchronous: true, onSuccess: function(transport) { var response = transport.responseText; if ( response == '' ) { $('magnify_player_continuous_ad').style.height = "0px"; } var myScripts = response.extractScripts(); var script_src = response.match(/Source: http://gaycast.net/video/Jihaime-Dos-Santos
Kerri Strug Ledecky Nadia Comaneci Rebecca Soni Snoop Lion big brother London 2012 Table Tennis
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.