//Set the php output as variables rssRaw = "

Rascal Flatts Sign With New Label<\/a><\/p>

July 30, 2010<\/p>Following the demise of their former label Lyric Street Records, Rascal Flatts announced that they have signed a deal with Nashville-based record label Big Machine. The trio released eight albums with the Disney-owned Lyric Street label before the company shut down earlier this year. At a conference in Music City on Thursday, Rascal Flatts bassist and vocalist Jay DeMarcus confirmed their new deal with Big Machine, the home of Taylor Swift and several others.|MJI|

Little Big Town Begins Countdown To New Album Release<\/a><\/p>

July 30, 2010<\/p>Little Big Town have begun a special iTunes countdown to the release of their forthcoming album, The Reason Why. As part of the promotion, the group is releasing tracks on the music download service leading to the album\'s official release. The first track released was the album\'s title track, which was made available on Tuesday. The band will release a new song every week until the album hits stores.|MJI|

Darius Rucker To Mentor Winners Of Nashville Songwriting Contest<\/a><\/p>

July 30, 2010<\/p>Darius Rucker has signed on to mentor the winner of this year\'s Nashville Songwriters Association International Song Contest. The contest, co-sponsored by CMT, opens on August 1 and admissions will be accepted through the end of October. The contest will have two Grand Prize winners, one selected by a panel of industry professionals and one Listener\'s Choice winner, selected by fans through CMT. The winners will also receive tickets to next year\'s CMT Awards and other prizes.|MJI|

Newlywed Underwood Returns To Stage<\/a><\/p>

July 29, 2010<\/p>A newly-married Carrie Underwood took to the stage on Tuesday night at the Opry in Nashville. The singer recently returned from her honeymoon in Bora Bora, followed by a few days in Napa Valley, California, with her new hubby Mike Fisher. Underwood told the Opry audience, \"It\'s the first time I\'ve sung anything since I became a married lady! It\'s so weird saying \'my husband\' . . . [it\'s been] a wonderful month.\"|MJI|

Jimmy Wayne To Give Free Concert<\/a><\/p>

July 29, 2010<\/p>Jimmy Wayne will be holding a free concert on July 31 to celebrate the end of his 1,800 mile Meet Me Halfway charity walk. The singer began the walk in Nashville on January 1 and after walking 1,700 miles to raise awareness for homelessness, is now less than 100 miles away from Phoenix. Once he arrives in Mesa, Arizona, he and his band will take over Toby Keith\'s I Love This Bar and Grill to perform a free and open public concert.|MJI|"; rssDelimited = rssRaw.substring(0,(rssRaw.lastIndexOf("|") - 4)); //Trim the last "|MJI|" delimiter //RE-DECLARE NEEDED URI VARIABLES wdgtID = "today"; wdgtDateline = "true"; wdgtWidth = "550"; wdgtHeight = "300"; wdgtType = "scroller"; wdgtSkin = ""; wdgtSkinColor = ""; wdgtOrient = "none"; wdgtBadge = ""; wdgtBadgeWidth = ""; wdgtBadgeHeight = ""; wdgtTextColor = "000000"; //SERVICE sd = "newsservice.tritondigitalmedia.com"; //PREFIX pf = "cn"; //WIDGET POSITION wPos = "5311"; //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_5311 = rssDelimited.split(new RegExp("[|MJI|]{5}", "g")); doInitTicker_5311 = new initTicker_5311(mjiArray_5311, wPos); } // Fader else if (wdgtType == "fader") { document.getElementById('mjiWdgtContent_'+wPos).innerHTML = rssRaw; doInitFader_5311 = new initFader_5311(wPos, 500, 3000); } // Scroller else if (wdgtType == "scroller") { var mjiArray_5311 = rssDelimited.split(new RegExp("[|MJI|]{5}", "g")); var items_5311 = mjiArray_5311.length; scrollerWidth_5311 = wdgtBoxWidth; scrollerHeight_5311 = wdgtBoxHeight; heightAdj_5311 = new Array(); scrollAdj_5311 = new Array(); doInitScroller_5311 = new initScroller_5311(mjiArray_5311, items_5311, wPos); } else { document.getElementById('mjiWdgtContent_'+wPos).innerHTML = rssRaw; } } //TICKER LOGIC tickerContent_5311 = ''; typedPortion_5311 = ''; cursorChar_5311 = ''; cursorHTML_5311 = '@<\/span>'; workHTML_5311 = ''; currentItem_5311 = 0; var initTicker_5311 = function(mjiArray_5311, pos) { document.getElementById('mjiWdgtContent_'+pos).innerHTML = ''; count_5311 = 0; if (currentItem_5311 > mjiArray_5311.length - 1) { currentItem_5311 = 0; } tickerContent_5311 = mjiArray_5311[currentItem_5311]; itemLength_5311 = tickerContent_5311.length; typeInterval_5311 = setInterval(function() {typeText_5311(mjiArray_5311, pos);},40); } var typeText_5311 = function(mjiArray_5311, pos) { if (count_5311 == itemLength_5311) { clearInterval(typeInterval_5311); count_5311 = 0; currentItem_5311++; setTimeout(function() {initTicker_5311(mjiArray_5311, pos);},2000); } else if (count_5311 == 0) { typedPortion_5311 = ''; } else { typedPortion_5311 = tickerContent_5311.substring(0, count_5311); cursorChar_5311 = tickerContent_5311.charAt(count_5311); } if (/]+>/); if (tag_5311) { typedPortion_5311 += tag_5311[0]; count_5311 += tag_5311[0].length; } } else { workHTML_5311 = ''; workHTML_5311 += typedPortion_5311; if (count_5311 != itemLength_5311 - 1) { workHTML_5311 += cursorHTML_5311.replace(/@/, cursorChar_5311); document.getElementById('mjiWdgtContent_'+pos).innerHTML = workHTML_5311; } count_5311++; } } //FADER LOGIC //Pause and resume functions function pauseFader_5311() { doInitFader_5311.stopFade_5311(); } function resumeFader_5311() { doInitFader_5311.startFade_5311(); } //Constructor function initFader_5311 = function(pos, fadetime, delay) { //create empty array for the unknown DIVs var divs_5311 = new Array(); //get all the children of "mjiWdgtContent_foo" and create an array var children_5311 = new Array(); children_5311 = document.getElementById('mjiWdgtContent_'+pos).getElementsByTagName('div'); //populate the "divs" array with id attribute of found children for (var i=0; i < children_5311.length; i++) { divs_5311[i] = children_5311.item(i).getAttribute("id"); } this.nAct_5311 = -1; this.aDivs_5311 = divs_5311; for (var i=0;i -1) { document.getElementById(this.aDivs_5311[this.nOldAct_5311]).style.opacity = 1 - op_5311; document.getElementById(this.aDivs_5311[this.nOldAct_5311]).style.filter = "alpha(opacity="+(100 - ieop_5311)+")"; } if (this.nTime_5311 == this.nDur_5311) { clearInterval(this.nID2_5311); if (this.nOldAct_5311 > -1) { document.getElementById(this.aDivs_5311[this.nOldAct_5311]).style.visibility = "hidden"; } var p_5311 = this; this.nID1_5311 = setInterval(function() { p_5311.newFade_5311() }, this.nDelay_5311); } //IE is brain-dead, so remove filter to re-enable ClearType if (document.getElementById(this.aDivs_5311[this.nAct_5311]).style.filter && document.getElementById(this.aDivs_5311[this.nAct_5311]).style.removeAttribute) { document.getElementById(this.aDivs_5311[this.nAct_5311]).style.removeAttribute('filter'); } } initFader_5311.prototype.easeInOut_5311 = function(t,b,c,d) { return c/2 * (1 - Math.cos(Math.PI*t/d)) + b; } //SCROLLER LOGIC pauseScrollerBol_5311 = false; collA_5311 = null; collB_5311 = null; collTop_5311 = 0; collOffset_5311 = 0; function pauseScroll_5311(collAItem_5311,bol) { pauseScrollerBol_5311 = true; } function resumeScroll_5311(collBItem_5311,bol) { pauseScrollerBol_5311 = false; if (bol == 1) { objd_5311 = document.getElementById('mjiWdgtCollBItem_5311_'+collBItem_5311); } else { objd_5311 = document.getElementById('mjiWdgtCollAItem_5311_'+collBItem_5311); } } var doScroll_5311 = function() { if (pauseScrollerBol_5311 == false) { collTop_5311--; if (collTop_5311 < (-1*collOffset_5311)) { collTop_5311 = 0; collB_5311.style.top = scrollerHeight_5311+'px'; } collA_5311.style.top = collTop_5311+'px'; if ((collTop_5311+collOffset_5311)Initializing Music News Content...<\/div>'; for (i=0;i'+mjiArray_5311[i]+'<\/div>'; } innertxt_5311 = innertxt_5311+'<\/div>'; innertxt_5311 = innertxt_5311+'
'; for (i=0;i'+mjiArray_5311[i]+'<\/div>'; } innertxt_5311 = innertxt_5311+'<\/div>'; shellDiv_5311 = document.getElementById('mjiWdgtContent_'+pos); shellDiv_5311.innerHTML = innertxt_5311; // 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_5311(mjiArray_5311, items_5311, pos)},5000); //start time }