var bPremium90111900 = false; var bStop90111900 = false; var sDomain = location.hostname.toLowerCase().replace('www.', ''); var bAutoOnBC90111900 = true; var CurIndexBC90111900 = 0; var iMaxIndexBC90111900; var arrTitleBC90111900 = []; var arrLinkBC90111900 = []; var arrSummaryBC90111900 = []; iChangeDelayBC90111900 = 5; arrTitleBC90111900[0] = '1. Love the Way You Lie (feat. Rihanna) - Eminem'; arrLinkBC90111900[0] = 'http://itunes.apple.com/album/love-way-you-lie-feat-rihanna/id378423506?i=378423786&uo=1&v0=9990'; arrSummaryBC90111900[0] = 'Love the Way You Lie (feat. Rihanna) by Eminem from the album Recovery (Deluxe Edition)'; arrTitleBC90111900[1] = '2. Dynamite - Taio Cruz'; arrLinkBC90111900[1] = 'http://itunes.apple.com/album/dynamite/id373808864?i=373808889&uo=1&v0=9990'; arrSummaryBC90111900[1] = 'Dynamite by Taio Cruz from the album Rokstarr (Bonus Track Version)'; arrTitleBC90111900[2] = '3. I Like It (feat. Pitbull) - Enrique Iglesias'; arrLinkBC90111900[2] = 'http://itunes.apple.com/album/i-like-it-feat-pitbull/id370572160?i=370572165&uo=1&v0=9990'; arrSummaryBC90111900[2] = 'I Like It (feat. Pitbull) by Enrique Iglesias from the album I Like It (feat. Pitbull) - Single'; arrTitleBC90111900[3] = '4. Teenage Dream - Katy Perry'; arrLinkBC90111900[3] = 'http://itunes.apple.com/album/teenage-dream/id383012111?i=383012113&uo=1&v0=9990'; arrSummaryBC90111900[3] = 'Teenage Dream by Katy Perry from the album Teenage Dream - Single'; arrTitleBC90111900[4] = '5. DJ Got Us Fallin\' In Love (feat. Pitbull) - Usher'; arrLinkBC90111900[4] = 'http://itunes.apple.com/album/dj-got-us-fallin-in-love-feat/id380534250?i=380534256&uo=1&v0=9990'; arrSummaryBC90111900[4] = 'DJ Got Us Fallin\' In Love (feat. Pitbull) by Usher from the album DJ Got Us Fallin\' In Love (feat. Pitbull) - Single'; arrTitleBC90111900[5] = '6. California Gurls (feat. Snoop Dogg) - Katy Perry'; arrLinkBC90111900[5] = 'http://itunes.apple.com/album/california-gurls-feat-snoop/id371879442?i=371879479&uo=1&v0=9990'; arrSummaryBC90111900[5] = 'California Gurls (feat. Snoop Dogg) by Katy Perry from the album California Gurls (feat. Snoop Dogg) - Single'; arrTitleBC90111900[6] = '7. Cooler Than Me (Single Mix) - Mike Posner'; arrLinkBC90111900[6] = 'http://itunes.apple.com/album/cooler-than-me-single-mix/id364615481?i=364615586&uo=1&v0=9990'; arrSummaryBC90111900[6] = 'Cooler Than Me (Single Mix) by Mike Posner from the album Cooler Than Me - Single'; arrTitleBC90111900[7] = '8. Ridin\' Solo - Jason Derülo'; arrLinkBC90111900[7] = 'http://itunes.apple.com/album/ridin-solo/id353554371?i=353554373&uo=1&v0=9990'; arrSummaryBC90111900[7] = 'Ridin\' Solo by Jason Derülo from the album Jason Derülo'; arrTitleBC90111900[8] = '9. Airplanes (feat. Hayley Williams of Paramore) - B.o.B'; arrLinkBC90111900[8] = 'http://itunes.apple.com/album/airplanes-feat-hayley-williams/id365840257?i=365840290&uo=1&v0=9990'; arrSummaryBC90111900[8] = 'Airplanes (feat. Hayley Williams of Paramore) by B.o.B from the album Airplanes (feat. Hayley Williams of Paramore) - Single'; arrTitleBC90111900[9] = '10. Stuck Like Glue - Sugarland'; arrLinkBC90111900[9] = 'http://itunes.apple.com/album/stuck-like-glue/id382828846?i=382828847&uo=1&v0=9990'; arrSummaryBC90111900[9] = 'Stuck Like Glue by Sugarland from the album Stuck Like Glue - Single'; function RotateTickerBC90111900() { if (bAutoOnBC90111900) { CurIndexBC90111900 = (CurIndexBC90111900 >= (arrTitleBC90111900.length - 1)) ? 0 : CurIndexBC90111900 + 1; GoToTickerBC90111900(CurIndexBC90111900); setTimeout('RotateTickerBC90111900()', iChangeDelayBC90111900 * 1000); } } function PrevTickerBC90111900() { CurIndexBC90111900 = (CurIndexBC90111900 <= 0) ? arrTitleBC90111900.length - 1 : CurIndexBC90111900 - 1; GoToTickerBC90111900(CurIndexBC90111900); bAutoOnBC90111900 = false; } function NextTickerBC90111900() { CurIndexBC90111900 = (CurIndexBC90111900 >= arrTitleBC90111900.length - 1) ? 0 : CurIndexBC90111900 + 1; GoToTickerBC90111900(CurIndexBC90111900); bAutoOnBC90111900 = false; } function SetTickerOpacityBC90111900(oTickerStyle, iOpacity) { try { if (oTickerStyle.filter === undefined) { oTickerStyle.opacity = (iOpacity/100).toString(); } else { if (iOpacity == 100) { oTickerStyle.filter = ''; } else { oTickerStyle.filter = 'alpha(opacity=' + iOpacity + ')'; } } } catch(e) { } } function GoToTickerBC90111900(iIndex) { var i, iOpacity, iDelay; for (i = 0; i < 10; i++) { iOpacity = 90 - (i * 10); iDelay = i * 50; setTimeout('SetTickerOpacityBC90111900(document.getElementById(\'TickerContentBC90111900\').style,' + iOpacity + ')', iDelay); } setTimeout('SetTickerContentBC90111900(' + iIndex + ')', iDelay + 50); for (i = 0; i < 10; i++) { iOpacity = (i + 1) * 10; iDelay = (i + 10) * 50; setTimeout('SetTickerOpacityBC90111900(document.getElementById(\'TickerContentBC90111900\').style,' + iOpacity + ')', iDelay); } } function SetTickerContentBC90111900(iIndex) { if ((iIndex >= 0) && (iIndex <= (arrTitleBC90111900.length - 1))) { document.getElementById('TickerTitleBC90111900').innerHTML = arrTitleBC90111900[iIndex]; document.getElementById('TickerLinkBC90111900').href = arrLinkBC90111900[iIndex]; if (arrSummaryBC90111900.length > 0) { document.getElementById('TickerSummaryBC90111900').innerHTML = '
' + arrSummaryBC90111900[iIndex]; } } } if (! bStop90111900) { CurIndexBC90111900 = -1; document.getElementById('TickerTitleBC90111900').innerHTML = 'Loading BlastCasta Ticker...'; document.getElementById('TickerLinkBC90111900').href = 'http://www.blastcasta.com/'; setTimeout('RotateTickerBC90111900()', 1250); }