//Set the php output as variables rssRaw = "

Keith Richards To Be Featured In New York Public Library Book Series<\/a><\/p>

September 2, 2010<\/p>Keith Richards is scheduled to talk about his highly anticipated autobiography at the New York Public Library as part of a fall book series, which will also include rapper Jay-Z. The Rolling Stones guitarist will be discussing his memoir, Life, on October 29, while Jay-Z will talk about his book, Decoded, on November 15. These events will give fans an opportunity to be able to meet their favorite artists and hear them speak about their lives.<\/div>

Axl Rose Blames Organizers For Reading And Leeds Fest Debacle<\/a><\/p>

September 2, 2010<\/p>Axl Rose has launched a tirade against the Reading and Leeds Festival organizers after Guns N\' Roses were cut short during both of their performances. Though festival head Melvin Benn says the band simply showed up late, Axl argues that they were not given a fair shake. He states: \"If you are aware of our changeover time, the average length of our show and the general nature of how these types of festivals run, all of which are no big secrets . . . why book us?\"<\/div>

Guess Who Guitar Stolen At Music Fest<\/a><\/p>

September 1, 2010<\/p>The Guess Who were robbed during the Taste of Blue Ash food and entertainment festival in Cincinnati last weekend. The band had a Gibson sunburst EC-30 acoustic guitar valued at more than $4,000 stolen from the backstage area after its set. A band assistant stored the guitar and left it unattended for a few minutes and returned to discover that the guitar was missing. On Tuesday, Cincinnati police released a photo of the instrument.<\/div>

Rolling Stones Take Over Monopoly<\/a><\/p>

September 1, 2010<\/p>The Rolling Stones have teamed up with one of the world\'s best known board games to unleash a hit that is sure to start up the fun, Parker Brothers style. Monopoly: The Rolling Stones Collector\'s Edition is expected to hit shelves later this year. The new edition revamps the classic money-making board game with a little Stones flair. Baltic Avenue becomes Sticky Fingers and Park Place turns into A Bigger Bang.<\/div>

John Lennon Birthday Events Hitting Iceland<\/a><\/p>

September 1, 2010<\/p>John Lennon\'s widow Yoko Ono has planned a series of special events in Reykjavik, Iceland, in honor of the Beatle\'s birthday on October 9. The events, which will promote worldwide peace, will include the lighting of the Imagine Peace Tower memorial, a special concert by the Plastic Ono Band, and the presentation of peace awards from the Lennon Ono Grant for Peace.<\/div>"; rssDelimited = rssRaw.substring(0,(rssRaw.lastIndexOf("|") - 4)); //Trim the last "|MJI|" delimiter //RE-DECLARE NEEDED URI VARIABLES wdgtID = "today"; wdgtDateline = "true"; wdgtWidth = "300"; wdgtHeight = "385"; wdgtType = "fader"; wdgtSkin = ""; wdgtSkinColor = ""; wdgtOrient = "none"; wdgtBadge = ""; wdgtBadgeWidth = ""; wdgtBadgeHeight = ""; wdgtTextColor = "00000"; //SERVICE sd = "newsservice.tritondigitalmedia.com"; //PREFIX pf = "rd"; //WIDGET POSITION wPos = "3622"; //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_3622 = rssDelimited.split(new RegExp("[|MJI|]{5}", "g")); doInitTicker_3622 = new initTicker_3622(mjiArray_3622, wPos); } // Fader else if (wdgtType == "fader") { document.getElementById('mjiWdgtContent_'+wPos).innerHTML = rssRaw; doInitFader_3622 = new initFader_3622(wPos, 500, 3000); } // Scroller else if (wdgtType == "scroller") { var mjiArray_3622 = rssDelimited.split(new RegExp("[|MJI|]{5}", "g")); var items_3622 = mjiArray_3622.length; scrollerWidth_3622 = wdgtBoxWidth; scrollerHeight_3622 = wdgtBoxHeight; heightAdj_3622 = new Array(); scrollAdj_3622 = new Array(); doInitScroller_3622 = new initScroller_3622(mjiArray_3622, items_3622, wPos); } else { document.getElementById('mjiWdgtContent_'+wPos).innerHTML = rssRaw; } } //TICKER LOGIC tickerContent_3622 = ''; typedPortion_3622 = ''; cursorChar_3622 = ''; cursorHTML_3622 = '@<\/span>'; workHTML_3622 = ''; currentItem_3622 = 0; var initTicker_3622 = function(mjiArray_3622, pos) { document.getElementById('mjiWdgtContent_'+pos).innerHTML = ''; count_3622 = 0; if (currentItem_3622 > mjiArray_3622.length - 1) { currentItem_3622 = 0; } tickerContent_3622 = mjiArray_3622[currentItem_3622]; itemLength_3622 = tickerContent_3622.length; typeInterval_3622 = setInterval(function() {typeText_3622(mjiArray_3622, pos);},40); } var typeText_3622 = function(mjiArray_3622, pos) { if (count_3622 == itemLength_3622) { clearInterval(typeInterval_3622); count_3622 = 0; currentItem_3622++; setTimeout(function() {initTicker_3622(mjiArray_3622, pos);},2000); } else if (count_3622 == 0) { typedPortion_3622 = ''; } else { typedPortion_3622 = tickerContent_3622.substring(0, count_3622); cursorChar_3622 = tickerContent_3622.charAt(count_3622); } if (/]+>/); if (tag_3622) { typedPortion_3622 += tag_3622[0]; count_3622 += tag_3622[0].length; } } else { workHTML_3622 = ''; workHTML_3622 += typedPortion_3622; if (count_3622 != itemLength_3622 - 1) { workHTML_3622 += cursorHTML_3622.replace(/@/, cursorChar_3622); document.getElementById('mjiWdgtContent_'+pos).innerHTML = workHTML_3622; } count_3622++; } } //FADER LOGIC //Pause and resume functions function pauseFader_3622() { doInitFader_3622.stopFade_3622(); } function resumeFader_3622() { doInitFader_3622.startFade_3622(); } //Constructor function initFader_3622 = function(pos, fadetime, delay) { //create empty array for the unknown DIVs var divs_3622 = new Array(); //get all the children of "mjiWdgtContent_foo" and create an array var children_3622 = new Array(); children_3622 = document.getElementById('mjiWdgtContent_'+pos).getElementsByTagName('div'); //populate the "divs" array with id attribute of found children for (var i=0; i < children_3622.length; i++) { divs_3622[i] = children_3622.item(i).getAttribute("id"); } this.nAct_3622 = -1; this.aDivs_3622 = divs_3622; for (var i=0;i -1) { document.getElementById(this.aDivs_3622[this.nOldAct_3622]).style.opacity = 1 - op_3622; document.getElementById(this.aDivs_3622[this.nOldAct_3622]).style.filter = "alpha(opacity="+(100 - ieop_3622)+")"; } if (this.nTime_3622 == this.nDur_3622) { clearInterval(this.nID2_3622); if (this.nOldAct_3622 > -1) { document.getElementById(this.aDivs_3622[this.nOldAct_3622]).style.visibility = "hidden"; } var p_3622 = this; this.nID1_3622 = setInterval(function() { p_3622.newFade_3622() }, this.nDelay_3622); } //IE is brain-dead, so remove filter to re-enable ClearType if (document.getElementById(this.aDivs_3622[this.nAct_3622]).style.filter && document.getElementById(this.aDivs_3622[this.nAct_3622]).style.removeAttribute) { document.getElementById(this.aDivs_3622[this.nAct_3622]).style.removeAttribute('filter'); } } initFader_3622.prototype.easeInOut_3622 = function(t,b,c,d) { return c/2 * (1 - Math.cos(Math.PI*t/d)) + b; } //SCROLLER LOGIC pauseScrollerBol_3622 = false; collA_3622 = null; collB_3622 = null; collTop_3622 = 0; collOffset_3622 = 0; function pauseScroll_3622(collAItem_3622,bol) { pauseScrollerBol_3622 = true; } function resumeScroll_3622(collBItem_3622,bol) { pauseScrollerBol_3622 = false; if (bol == 1) { objd_3622 = document.getElementById('mjiWdgtCollBItem_3622_'+collBItem_3622); } else { objd_3622 = document.getElementById('mjiWdgtCollAItem_3622_'+collBItem_3622); } } var doScroll_3622 = function() { if (pauseScrollerBol_3622 == false) { collTop_3622--; if (collTop_3622 < (-1*collOffset_3622)) { collTop_3622 = 0; collB_3622.style.top = scrollerHeight_3622+'px'; } collA_3622.style.top = collTop_3622+'px'; if ((collTop_3622+collOffset_3622)Initializing Music News Content...<\/div>'; for (i=0;i'+mjiArray_3622[i]+'<\/div>'; } innertxt_3622 = innertxt_3622+'<\/div>'; innertxt_3622 = innertxt_3622+'
'; for (i=0;i'+mjiArray_3622[i]+'<\/div>'; } innertxt_3622 = innertxt_3622+'<\/div>'; shellDiv_3622 = document.getElementById('mjiWdgtContent_'+pos); var t = document.createElement('div'); t.innerHTML = innertxt_3622; shellDiv_3622.appendChild(t); //shellDiv_3622.innerHTML = innertxt_3622; // 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_3622(mjiArray_3622, items_3622, pos)},5000); //start time }