//Set the php output as variables rssRaw = "

Nelly Furtado Previews Two New Songs<\/a><\/p>Nelly Furtado introduced some new tunes at a recent concert she headlined at the Orange Warsaw Festival in Poland. The Portuguese-Canadian singer previewed two of her new songs, \"Free\" and \"Girlfriend In The City,\" both of which will be part of her upcoming album, Lifestyle. The new disc will be Furtado\'s fourth English language album and fifth studio album overall. The singer released her first full-length Spanish language album, Mi Plan in 2009.|MJI|

Katy Perry\'s Teenage Dream Hits #1<\/a><\/p>Katy Perry\'s new album, Teenage Dream, has debuted at number one on the Billboard 200. This makes her the first solo female act to top the chart since Ke$ha hit number one with Animal back in January. Teenage Dream, which sold 192,222 units in its first week of release, also debuted at number one on the Digital Albums chart and the Canadian Albums Chart.|MJI|

Blink-182\'s DeLonge Discusses Progress Of Album<\/a><\/p>Blink-182 have not finished their comeback album just yet, but frontman Tom DeLonge says that if fans listen to the side projects of the three bandmembers, they will know why. Ever since the band went their separate ways in 2004, the members have been working hard collaborating with other artists, some of them even creating other bands. According to the DeLonge, however, that doesn\'t get them down.|MJI|

Mariah And Nick Are Trying To Stay \'True And Private\'<\/a><\/p>Though Mariah Carey and Nick Cannon have yet to confirm their continued pregnancy rumors, it seems the couple may be holding out just to avoid a media blitz. In a series of recent statements, both Mariah and Nick referenced their desire for privacy but also revealed that there is some big news on the way. \"When the time is right, everyone will know,\" Carey said on her Twitter page.|MJI|

Barcelona Officials Order U2 To Pay $22,000 Fine<\/a><\/p>U2 has reportedly been ordered to pay a $22,000 fine by officials in Barcelona, Spain. The fine follows a series of complaints by area residents that the band was too loud and went beyond the two hour time limit while rehearsing in a soccer stadium last year. The band had played two concerts on June 30 and July 2, 2009 as part of their 360° tour and rehearsed for the shows two days beforehand. Along with U2, Shakira may be facing fines from the Barcelona officials as well.|MJI|"; rssDelimited = rssRaw.substring(0,(rssRaw.lastIndexOf("|") - 4)); //Trim the last "|MJI|" delimiter //RE-DECLARE NEEDED URI VARIABLES wdgtID = "today"; wdgtDateline = "false"; wdgtWidth = "340"; wdgtHeight = "160"; wdgtType = "scroller"; wdgtSkin = "glass"; wdgtSkinColor = "white"; wdgtOrient = "z"; wdgtBadge = ""; wdgtBadgeWidth = ""; wdgtBadgeHeight = ""; wdgtTextColor = "000000"; //SERVICE sd = "newsservice.tritondigitalmedia.com"; //PREFIX pf = "ss"; //WIDGET POSITION wPos = "4074"; //IE SNIFFER isIE6Win = navigator.platform == "Win32" && ((navigator.userAgent.toLowerCase().indexOf('msie 5.5')!=-1) || (navigator.userAgent.toLowerCase().indexOf('msie 6.0')!=-1)); //CROSS-BROWSER SPLIT FUNCTION String.prototype._$ = String.prototype._$ || String.prototype.split; String.prototype.split = function (s /* separator */, limit) { if (!(s instanceof RegExp)) return String.prototype._$.apply(this, arguments); var flags = (s.global ? "g" : "") + (s.ignoreCase ? "i" : "") + (s.multiline ? "m" : ""), s2 = new RegExp("^" + s.source + "$", flags), output = [], origLastIndex = s.lastIndex, lastLastIndex = 0, i = 0, match, lastLength; if (limit === undefined || +limit < 0) { limit = false; } else { limit = Math.floor(+limit); if (!limit) return []; } if (s.global) s.lastIndex = 0; else s = new RegExp(s.source, "g" + flags); while ((!limit || i++ <= limit) && (match = s.exec(this))) { var emptyMatch = !match[0].length; if (emptyMatch && s.lastIndex > match.index) s.lastIndex--; if (s.lastIndex > lastLastIndex) { if (match.length > 1) { match[0].replace(s2, function () { for (var j = 1; j < arguments.length - 2; j++) { if (arguments[j] === undefined) match[j] = undefined; } }); } output = output.concat(this.slice(lastLastIndex, match.index)); if (1 < match.length && match.index < this.length) output = output.concat(match.slice(1)); lastLength = match[0].length; lastLastIndex = s.lastIndex; } if (emptyMatch) s.lastIndex++; } output = lastLastIndex === this.length ? (s.test("") && !lastLength ? output : output.concat("")) : (limit ? output : output.concat(this.slice(lastLastIndex))); s.lastIndex = origLastIndex; return output; } //OUTPUT MASTER DIV document.write('

<\/div>'); //INITIALIZE A NEW WIDGET mjiWidget = function() { //Determine widget display //Run this logic if a known skin is selected, otherwise output a sparse widget if (!(wdgtSkin == "" || wdgtSkin == "none")) { //Adjust dimensions and set variables based on desired skin and orientation if (wdgtSkin == "glass") { if (wdgtOrient == "y") { //y-oriented //Set dimensions of the corners wdgtTopLeftWidth = 52; wdgtTopLeftHeight = 14; wdgtTopRightWidth = 15; wdgtTopRightHeight = 14; wdgtBotLeftWidth = 52; wdgtBotLeftHeight = 18; wdgtBotRightWidth = 15; wdgtBotRightHeight = 18; } else if (wdgtOrient == "x") { //x-oriented //Set dimensions of the corners wdgtTopLeftWidth = 15; wdgtTopLeftHeight = 39; wdgtTopRightWidth = 15; wdgtTopRightHeight = 39; wdgtBotLeftWidth = 15; wdgtBotLeftHeight = 18; wdgtBotRightWidth = 15; wdgtBotRightHeight = 18; } else { //z-oriented //Set dimensions of the corners wdgtTopLeftWidth = 15; wdgtTopLeftHeight = 12; wdgtTopRightWidth = 15; wdgtTopRightHeight = 12; wdgtBotLeftWidth = 15; wdgtBotLeftHeight = 18; wdgtBotRightWidth = 15; wdgtBotRightHeight = 18; } } else { //matte if (wdgtOrient == "y") { //y-oriented //Set dimensions of the corners wdgtTopLeftWidth = 52; wdgtTopLeftHeight = 14; wdgtTopRightWidth = 14; wdgtTopRightHeight = 14; wdgtBotLeftWidth = 52; wdgtBotLeftHeight = 16; wdgtBotRightWidth = 14; wdgtBotRightHeight = 16; } else if (wdgtOrient == "x") { //x-oriented //Set dimensions of the corners wdgtTopLeftWidth = 14; wdgtTopLeftHeight = 39; wdgtTopRightWidth = 14; wdgtTopRightHeight = 39; wdgtBotLeftWidth = 14; wdgtBotLeftHeight = 16; wdgtBotRightWidth = 14; wdgtBotRightHeight = 16; } else { //z-oriented //Set dimensions of the corners wdgtTopLeftWidth = 15; wdgtTopLeftHeight = 14; wdgtTopRightWidth = 15; wdgtTopRightHeight = 14; wdgtBotLeftWidth = 15; wdgtBotLeftHeight = 16; wdgtBotRightWidth = 15; wdgtBotRightHeight = 16; } } //Adjust dimensions of chrome based on above wdgtTopWidth = wdgtWidth - (wdgtTopLeftWidth + wdgtTopRightWidth); //Adjust width of mjiWdgtTop wdgtBotWidth = wdgtTopWidth; //Adjust width of mjiWdgtBot wdgtLeftHeight = wdgtHeight - (wdgtTopLeftHeight + wdgtBotLeftHeight); //Adjust height of mjiWdgtLeft wdgtRightHeight = wdgtLeftHeight; //Adjust height of mjiWdgtRight wdgtBoxWidth = wdgtTopWidth; //Adjust width of mjiWdgtContent_foo wdgtBoxHeight = wdgtLeftHeight; //Adjust height of mjiWdgtContent_foo //Set badge src if (wdgtBadge == "") { badgeSRC = 'http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_'+wdgtID+'.png'; } else { badgeSRC = wdgtBadge; } //Set the widget html as a variable wdgtHTML = ''+ '
' + '
 <\/div>' + '
 <\/div>' + '
 <\/div>' + '
 <\/div>' + '
 <\/div>' + '
<\/div>' + '
 <\/div>' + '
 <\/div>' + '
 <\/div>' + '
 <\/div>' + '<\/div>' + ''; } //If no skin or unknown is selected, output a sparse widget else { wdgtBoxWidth = wdgtWidth; wdgtBoxHeight = wdgtHeight; wdgtHTML = ''+ '
' + '
<\/div>' + '<\/div>' + ''; } //Output the widget html document.getElementById('mjiWdgt_'+wPos).innerHTML = wdgtHTML; //Set png transparencies for ie 5.5-6.0 if (!(wdgtSkin == "" || wdgtSkin == "none")) { if (isIE6Win) { document.getElementById('mjiWdgtTopLeft_'+wPos).style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_tl.png",sizingMethod="scale")'; document.getElementById('mjiWdgtTop_'+wPos).style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_t.png",sizingMethod="scale")'; document.getElementById('mjiWdgtTopRight_'+wPos).style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_tr.png",sizingMethod="scale")'; document.getElementById('mjiWdgtLeft_'+wPos).style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_l.png",sizingMethod="scale")'; document.getElementById('mjiWdgtBadge_'+wPos).style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+badgeSRC+'",sizingMethod="scale")'; document.getElementById('mjiWdgtContent_'+wPos).style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_bk.png",sizingMethod="scale")'; document.getElementById('mjiWdgtRight_'+wPos).style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_r.png",sizingMethod="scale")'; document.getElementById('mjiWdgtBotLeft_'+wPos).style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_bl.png",sizingMethod="scale")'; document.getElementById('mjiWdgtBot_'+wPos).style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_b.png",sizingMethod="scale")'; document.getElementById('mjiWdgtBotRight_'+wPos).style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_br.png",sizingMethod="scale")'; } else { document.getElementById('mjiWdgtTopLeft_'+wPos).style.backgroundImage = 'url(http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_tl.png)'; document.getElementById('mjiWdgtTop_'+wPos).style.backgroundImage = 'url(http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_t.png)'; document.getElementById('mjiWdgtTopRight_'+wPos).style.backgroundImage = 'url(http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_tr.png)'; document.getElementById('mjiWdgtLeft_'+wPos).style.backgroundImage = 'url(http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_l.png)'; document.getElementById('mjiWdgtBadge_'+wPos).style.backgroundImage = 'url('+badgeSRC+')'; document.getElementById('mjiWdgtContent_'+wPos).style.backgroundImage = 'url(http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_bk.png)'; document.getElementById('mjiWdgtRight_'+wPos).style.backgroundImage = 'url(http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_r.png)'; document.getElementById('mjiWdgtBotLeft_'+wPos).style.backgroundImage = 'url(http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_bl.png)'; document.getElementById('mjiWdgtBot_'+wPos).style.backgroundImage = 'url(http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_b.png)'; document.getElementById('mjiWdgtBotRight_'+wPos).style.backgroundImage = 'url(http://'+sd+'/feeds/skins/'+pf+'/media/standard/common/'+pf+'_wdgt_'+wdgtSkin+'_'+wdgtSkinColor+'_'+wdgtOrient+'_br.png)'; } } //Confirm animation type and execute // Ticker if (wdgtType == "ticker") { var mjiArray_4074 = rssDelimited.split(new RegExp("[|MJI|]{5}", "g")); doInitTicker_4074 = new initTicker_4074(mjiArray_4074, wPos); } // Fader else if (wdgtType == "fader") { document.getElementById('mjiWdgtContent_'+wPos).innerHTML = rssRaw; doInitFader_4074 = new initFader_4074(wPos, 500, 3000); } // Scroller else if (wdgtType == "scroller") { var mjiArray_4074 = rssDelimited.split(new RegExp("[|MJI|]{5}", "g")); var items_4074 = mjiArray_4074.length; scrollerWidth_4074 = wdgtBoxWidth; scrollerHeight_4074 = wdgtBoxHeight; heightAdj_4074 = new Array(); scrollAdj_4074 = new Array(); doInitScroller_4074 = new initScroller_4074(mjiArray_4074, items_4074, wPos); } else { document.getElementById('mjiWdgtContent_'+wPos).innerHTML = rssRaw; } } //TICKER LOGIC tickerContent_4074 = ''; typedPortion_4074 = ''; cursorChar_4074 = ''; cursorHTML_4074 = '@<\/span>'; workHTML_4074 = ''; currentItem_4074 = 0; var initTicker_4074 = function(mjiArray_4074, pos) { document.getElementById('mjiWdgtContent_'+pos).innerHTML = ''; count_4074 = 0; if (currentItem_4074 > mjiArray_4074.length - 1) { currentItem_4074 = 0; } tickerContent_4074 = mjiArray_4074[currentItem_4074]; itemLength_4074 = tickerContent_4074.length; typeInterval_4074 = setInterval(function() {typeText_4074(mjiArray_4074, pos);},40); } var typeText_4074 = function(mjiArray_4074, pos) { if (count_4074 == itemLength_4074) { clearInterval(typeInterval_4074); count_4074 = 0; currentItem_4074++; setTimeout(function() {initTicker_4074(mjiArray_4074, pos);},2000); } else if (count_4074 == 0) { typedPortion_4074 = ''; } else { typedPortion_4074 = tickerContent_4074.substring(0, count_4074); cursorChar_4074 = tickerContent_4074.charAt(count_4074); } if (/]+>/); if (tag_4074) { typedPortion_4074 += tag_4074[0]; count_4074 += tag_4074[0].length; } } else { workHTML_4074 = ''; workHTML_4074 += typedPortion_4074; if (count_4074 != itemLength_4074 - 1) { workHTML_4074 += cursorHTML_4074.replace(/@/, cursorChar_4074); document.getElementById('mjiWdgtContent_'+pos).innerHTML = workHTML_4074; } count_4074++; } } //FADER LOGIC //Pause and resume functions function pauseFader_4074() { doInitFader_4074.stopFade_4074(); } function resumeFader_4074() { doInitFader_4074.startFade_4074(); } //Constructor function initFader_4074 = function(pos, fadetime, delay) { //create empty array for the unknown DIVs var divs_4074 = new Array(); //get all the children of "mjiWdgtContent_foo" and create an array var children_4074 = new Array(); children_4074 = document.getElementById('mjiWdgtContent_'+pos).getElementsByTagName('div'); //populate the "divs" array with id attribute of found children for (var i=0; i < children_4074.length; i++) { divs_4074[i] = children_4074.item(i).getAttribute("id"); } this.nAct_4074 = -1; this.aDivs_4074 = divs_4074; for (var i=0;i -1) { document.getElementById(this.aDivs_4074[this.nOldAct_4074]).style.opacity = 1 - op_4074; document.getElementById(this.aDivs_4074[this.nOldAct_4074]).style.filter = "alpha(opacity="+(100 - ieop_4074)+")"; } if (this.nTime_4074 == this.nDur_4074) { clearInterval(this.nID2_4074); if (this.nOldAct_4074 > -1) { document.getElementById(this.aDivs_4074[this.nOldAct_4074]).style.visibility = "hidden"; } var p_4074 = this; this.nID1_4074 = setInterval(function() { p_4074.newFade_4074() }, this.nDelay_4074); } //IE is brain-dead, so remove filter to re-enable ClearType if (document.getElementById(this.aDivs_4074[this.nAct_4074]).style.filter && document.getElementById(this.aDivs_4074[this.nAct_4074]).style.removeAttribute) { document.getElementById(this.aDivs_4074[this.nAct_4074]).style.removeAttribute('filter'); } } initFader_4074.prototype.easeInOut_4074 = function(t,b,c,d) { return c/2 * (1 - Math.cos(Math.PI*t/d)) + b; } //SCROLLER LOGIC pauseScrollerBol_4074 = false; collA_4074 = null; collB_4074 = null; collTop_4074 = 0; collOffset_4074 = 0; function pauseScroll_4074(collAItem_4074,bol) { pauseScrollerBol_4074 = true; } function resumeScroll_4074(collBItem_4074,bol) { pauseScrollerBol_4074 = false; if (bol == 1) { objd_4074 = document.getElementById('mjiWdgtCollBItem_4074_'+collBItem_4074); } else { objd_4074 = document.getElementById('mjiWdgtCollAItem_4074_'+collBItem_4074); } } var doScroll_4074 = function() { if (pauseScrollerBol_4074 == false) { collTop_4074--; if (collTop_4074 < (-1*collOffset_4074)) { collTop_4074 = 0; collB_4074.style.top = scrollerHeight_4074+'px'; } collA_4074.style.top = collTop_4074+'px'; if ((collTop_4074+collOffset_4074)Initializing Music News Content...<\/div>'; for (i=0;i'+mjiArray_4074[i]+'<\/div>'; } innertxt_4074 = innertxt_4074+'<\/div>'; innertxt_4074 = innertxt_4074+'
'; for (i=0;i'+mjiArray_4074[i]+'<\/div>'; } innertxt_4074 = innertxt_4074+'<\/div>'; shellDiv_4074 = document.getElementById('mjiWdgtContent_'+pos); var t = document.createElement('div'); t.innerHTML = innertxt_4074; shellDiv_4074.appendChild(t); //shellDiv_4074.innerHTML = innertxt_4074; // Wait for page to fully load in non-mozilla browsers before running initScroller2 if (navigator.userAgent.match(/msie/i)) { var pageloaded = true; var t=setTimeout("if (document.readyState == 'completed') pageloaded = true",1000); while (pageloaded == false) { // do nothing } clearTimeout(t); } setTimeout(function() {initScroller2_4074(mjiArray_4074, items_4074, pos)},5000); //start time }