if(isChrome){var winSettings="width=735px,height=450px, resizable=yes, scrollbars=no"}else{var winSettings="width=735px,height=420px, resizable=yes, scrollbars=no"}var playerWinInitInProgress=false;function winUrl(d,c,e,a,b){b=b==null?publicSiteId:b;return String.format(e?"{2}/audio/{0}/{1}.html":"{2}/flashaudio.aspx",getItemTypeStr(d),c,a)}function winOpened(){if(window.__playerWindow&&window.__playerWindow.closed){window.__playerWindow=null;playerWinInitInProgress=false}if(playerWinInitInProgress==true){return true}var a=false;if(window.__playerWindow&&window.__playerWindow.open&&!window.__playerWindow.closed){a=true}else{playerWinInitInProgress=true}return a}function winSetup(d,c,f,b){if(b==true){if(f==true){try{window.__playerWindow.getExternalItemData(d,c,true);playerWinInitInProgress=false}catch(a){alert(Localizations.Multimedia.Playlist.WindowIsLoading)}}else{try{window.__playerWindow.addToPlaylist(d,c,false);playerWinInitInProgress=false}catch(a){alert(Localizations.Multimedia.Playlist.WindowIsLoading)}}}else{try{window.__playerWindow.itemType=d;window.__playerWindow.itemId=c;window.__playerWindow.playNow=f}catch(a){}this.__itemType=d;this.__itemId=c;this.__playNow=f}if(window.__playerWindow){winFocus(window.__playerWindow)}}function getItemTypeStr(a){return RFERL.Publisher.Model.AudioItemType.toString(a).toLowerCase()}function DownloadOptionsDropdown(i){var i=i;var a=0;var b=null;var g=400;var d=15;var c=10;this.prepare=function(){for(var m=0,k=i.length;m");var s=$(x).html();$(x).html("");$(x).css("position","absolute");$(x).css("width",n+"px");$(x).css("top",p+"px");r=$(o).width();r+=parseInt($(this).css("padding-left"),10)+parseInt($(this).css("padding-right"),10);r+=parseInt($(o).css("padding-left"),10)+parseInt($(o).css("padding-right"),10);r=r-2;$(x).html(s);v=parseInt((r-n)/2);v=v-3;$(x).css("left",v+"px");y.attr("class","linecoverer");if(n>=r){y.css("width",r+"px");l=0;if(isChrome||isSafari){l=1}y.css("left",l+"px")}else{w=n+4;l=v+1;y.css("width",w+"px");y.css("left",l+"px")}y.css("top",t+"px");y.html("");$(this).append(y)})}};this.fixCuttedLinks=function(){for(var m=0,k=i.length;mr&&$(t).width()>$(n).width()){$(o).css("position","static");$(o).removeClass("roloverlink_hover");var m=$(t).offset().left-(x-r)-k;$(t).css("left",m+"px");return}if(s$(n).width()){$(o).css("position","static");$(o).removeClass("roloverlink_hover");var m=$(t).offset().left+(p-s)+k;if((isChrome||isSafari)&&m>0){m=0}if((!isChrome&&!isSafari)&&m>-1){m=-1}$(t).css("left",m+"px");return}}u++;if(u<=d){setTimeout(function(){try{h(v,u,s,x,o)}catch(y){return}},c)}else{return}};this.bindEvents=function(){$(document).bind("click",function(o){j()});for(var n=0,k=i.length;n