//Set the php output as variables rssRaw = "

Neil Young Collaborator Ben Keith Dead At 73<\/a><\/p>

July 29, 2010<\/p>Ben Keith, a steel guitarist best known for his work with Neil Young and Patsy Cline, has died at the age of 73. Keith appeared on many of Young\'s best loved recordings including Harvest, On the Beach and Prairie Wind. Keith first connected with Young for Harvest in 1971, when Young traveled to Nashville for an appearance on the Johnny Cash Show.<\/div>

Bono\'s Injury Costs Insurance Firm $17.5 Million<\/a><\/p>

July 29, 2010<\/p>Bono\'s back injury and emergency surgery have reportedly left one insurance firm holding the bag for about $17.5 million. According to a new report from the U.K.\'s Sun, a firm called Robertson Taylor is responsible for the Irish rocker\'s medical costs. The U2 frontman slipped a disk in his back while rehearsing for a North American leg of the band\'s epic 360° tour, forcing the group to cancel 16 dates.<\/div>

Frank Zappa Statue To Be Unveiled In Hometown Of Baltimore<\/a><\/p>

July 29, 2010<\/p>An unveiling of a statue dedicated to the late Frank Zappa will take place in his hometown of Baltimore, Maryland in September, where it will be featured during a week of events to celebrate his life. One of the events featured will be a concert by Zappa\'s son, Dweezil. The statue itself is being placed at the Southeast Anchor Library in Highlandtown. The statue was dedicated by a Zappa fan club in Lithuania.<\/div>

AC/DC, Ozzy Featured On New Madden Soundtrack<\/a><\/p>

July 28, 2010<\/p>Electronic Arts is coming out with a new game in its popular Madden football franchise, Madden NFL 11, and has just released the tracklisting for the game\'s soundtrack, which contains a heaping dose of rock. This time around, the game will focus on creating an in-stadium experience complete with hard rock favorites such as Ozzy Osbourne, AC/DC, KISS and Guns N\' Roses. \"It\'s an exciting new audio direction for Madden NFL,\" says Steve Schnur, an EA executive.<\/div>

Cars Hint At Possible Reunion<\/a><\/p>

July 28, 2010<\/p>The surviving members of the Cars have hinted at a possible reunion by posting a photo on Facebook of the bandmembers back in the studio. All surviving members - Ric Ocasek, Elliot Easton, Greg Hawkes and David Robinson - are present and shown together in the studio. There has been no official announcement of a reunion but the band did include a caption with the photo that reads, \"Anyone in the mood for a reunion by the Cars?\"<\/div>"; rssDelimited = rssRaw.substring(0,(rssRaw.lastIndexOf("|") - 4)); //Trim the last "|MJI|" delimiter //RE-DECLARE NEEDED URI VARIABLES wdgtID = "today"; wdgtDateline = "true"; wdgtWidth = "475"; wdgtHeight = "190"; wdgtType = "fader"; wdgtSkin = ""; wdgtSkinColor = ""; wdgtOrient = "none"; wdgtBadge = ""; wdgtBadgeWidth = ""; wdgtBadgeHeight = ""; wdgtTextColor = "ffffff"; //SERVICE sd = "newsservice.tritondigitalmedia.com"; //PREFIX pf = "rd"; //WIDGET POSITION wPos = "4457"; //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_4457 = rssDelimited.split(new RegExp("[|MJI|]{5}", "g")); doInitTicker_4457 = new initTicker_4457(mjiArray_4457, wPos); } // Fader else if (wdgtType == "fader") { document.getElementById('mjiWdgtContent_'+wPos).innerHTML = rssRaw; doInitFader_4457 = new initFader_4457(wPos, 500, 3000); } // Scroller else if (wdgtType == "scroller") { var mjiArray_4457 = rssDelimited.split(new RegExp("[|MJI|]{5}", "g")); var items_4457 = mjiArray_4457.length; scrollerWidth_4457 = wdgtBoxWidth; scrollerHeight_4457 = wdgtBoxHeight; heightAdj_4457 = new Array(); scrollAdj_4457 = new Array(); doInitScroller_4457 = new initScroller_4457(mjiArray_4457, items_4457, wPos); } else { document.getElementById('mjiWdgtContent_'+wPos).innerHTML = rssRaw; } } //TICKER LOGIC tickerContent_4457 = ''; typedPortion_4457 = ''; cursorChar_4457 = ''; cursorHTML_4457 = '@<\/span>'; workHTML_4457 = ''; currentItem_4457 = 0; var initTicker_4457 = function(mjiArray_4457, pos) { document.getElementById('mjiWdgtContent_'+pos).innerHTML = ''; count_4457 = 0; if (currentItem_4457 > mjiArray_4457.length - 1) { currentItem_4457 = 0; } tickerContent_4457 = mjiArray_4457[currentItem_4457]; itemLength_4457 = tickerContent_4457.length; typeInterval_4457 = setInterval(function() {typeText_4457(mjiArray_4457, pos);},40); } var typeText_4457 = function(mjiArray_4457, pos) { if (count_4457 == itemLength_4457) { clearInterval(typeInterval_4457); count_4457 = 0; currentItem_4457++; setTimeout(function() {initTicker_4457(mjiArray_4457, pos);},2000); } else if (count_4457 == 0) { typedPortion_4457 = ''; } else { typedPortion_4457 = tickerContent_4457.substring(0, count_4457); cursorChar_4457 = tickerContent_4457.charAt(count_4457); } if (/]+>/); if (tag_4457) { typedPortion_4457 += tag_4457[0]; count_4457 += tag_4457[0].length; } } else { workHTML_4457 = ''; workHTML_4457 += typedPortion_4457; if (count_4457 != itemLength_4457 - 1) { workHTML_4457 += cursorHTML_4457.replace(/@/, cursorChar_4457); document.getElementById('mjiWdgtContent_'+pos).innerHTML = workHTML_4457; } count_4457++; } } //FADER LOGIC //Pause and resume functions function pauseFader_4457() { doInitFader_4457.stopFade_4457(); } function resumeFader_4457() { doInitFader_4457.startFade_4457(); } //Constructor function initFader_4457 = function(pos, fadetime, delay) { //create empty array for the unknown DIVs var divs_4457 = new Array(); //get all the children of "mjiWdgtContent_foo" and create an array var children_4457 = new Array(); children_4457 = document.getElementById('mjiWdgtContent_'+pos).getElementsByTagName('div'); //populate the "divs" array with id attribute of found children for (var i=0; i < children_4457.length; i++) { divs_4457[i] = children_4457.item(i).getAttribute("id"); } this.nAct_4457 = -1; this.aDivs_4457 = divs_4457; for (var i=0;i -1) { document.getElementById(this.aDivs_4457[this.nOldAct_4457]).style.opacity = 1 - op_4457; document.getElementById(this.aDivs_4457[this.nOldAct_4457]).style.filter = "alpha(opacity="+(100 - ieop_4457)+")"; } if (this.nTime_4457 == this.nDur_4457) { clearInterval(this.nID2_4457); if (this.nOldAct_4457 > -1) { document.getElementById(this.aDivs_4457[this.nOldAct_4457]).style.visibility = "hidden"; } var p_4457 = this; this.nID1_4457 = setInterval(function() { p_4457.newFade_4457() }, this.nDelay_4457); } //IE is brain-dead, so remove filter to re-enable ClearType if (document.getElementById(this.aDivs_4457[this.nAct_4457]).style.filter && document.getElementById(this.aDivs_4457[this.nAct_4457]).style.removeAttribute) { document.getElementById(this.aDivs_4457[this.nAct_4457]).style.removeAttribute('filter'); } } initFader_4457.prototype.easeInOut_4457 = function(t,b,c,d) { return c/2 * (1 - Math.cos(Math.PI*t/d)) + b; } //SCROLLER LOGIC pauseScrollerBol_4457 = false; collA_4457 = null; collB_4457 = null; collTop_4457 = 0; collOffset_4457 = 0; function pauseScroll_4457(collAItem_4457,bol) { pauseScrollerBol_4457 = true; } function resumeScroll_4457(collBItem_4457,bol) { pauseScrollerBol_4457 = false; if (bol == 1) { objd_4457 = document.getElementById('mjiWdgtCollBItem_4457_'+collBItem_4457); } else { objd_4457 = document.getElementById('mjiWdgtCollAItem_4457_'+collBItem_4457); } } var doScroll_4457 = function() { if (pauseScrollerBol_4457 == false) { collTop_4457--; if (collTop_4457 < (-1*collOffset_4457)) { collTop_4457 = 0; collB_4457.style.top = scrollerHeight_4457+'px'; } collA_4457.style.top = collTop_4457+'px'; if ((collTop_4457+collOffset_4457)Initializing Music News Content...<\/div>'; for (i=0;i'+mjiArray_4457[i]+'<\/div>'; } innertxt_4457 = innertxt_4457+'<\/div>'; innertxt_4457 = innertxt_4457+'
'; for (i=0;i'+mjiArray_4457[i]+'<\/div>'; } innertxt_4457 = innertxt_4457+'<\/div>'; shellDiv_4457 = document.getElementById('mjiWdgtContent_'+pos); shellDiv_4457.innerHTML = innertxt_4457; // 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_4457(mjiArray_4457, items_4457, pos)},5000); //start time }