﻿function linkRels() {
	if (!document.getElementsByTagName) return;
	var anchors = document.getElementsByTagName("a"); 
	for (var i=0; i<anchors.length; i++) {
		var anchor = anchors[i]; 			
			if (anchor.getAttribute("href") && 
				anchor.getAttribute("rel") == "episode1") 
				anchor.href = "mailto:?Subject=New Milwaukee Symphony Orchestra video&body=I wanted to take a moment to share with you a new video by the Milwaukee Symphony Orchestra.  This year's Milwaukee Symphony Orchestra Season features all nine Beethoven Symphonies. The Season Opener, September 28th, 29th,and 30th, features Barber's Symphony No. 1, Rachmaninoff's Piano Concerto No. 2 in C Minor and Beethoven's well known Symphony No. 5. Watch the Symphony's preparation for this exciting 49th season of the MSO! View the video here: " + window.location;
				 			
			if (anchor.getAttribute("href") && 
	            anchor.getAttribute("rel") == "episode2")
	            anchor.href = "	mailto:?Subject=New Milwaukee Symphony Orchestra video&body=I wanted to take a moment to share with you a new video by the Milwaukee Symphony Orchestra.  As you may know, a couple weeks ago the MSO announced an exciting Million Dollar Challenge Grant from our board chair, Chris Abele. Chris has agreed to match all new and increased gifts to our Annual Fund up to $1 Million! I am glad to report that nearly 500 MSO donors have already accepted this challenge. View the video here: " + window.location;
				 			
			if (anchor.getAttribute("href") && 
	            anchor.getAttribute("rel") == "episode3")
	            anchor.href = "	mailto:?Subject=New Milwaukee Symphony Orchestra video&body=I wanted to take a moment to share with you a new video by the Milwaukee Symphony Orchestra.  For the last year and a half, the MSO has been hard at work on an international search for our next Music Director.  It won't surprise you to know that we set our aim very high, but what may surprise you is how high we hit.  We sought someone with world-wide experience and stature, proven talent, and a commitment to work hard to take our already fine orchestra to the next level.  We didn't want a baby step, we wanted a leap.  We've made one.  View the video here: " + window.location;
				
				 			
			if (anchor.getAttribute("href") && 
	            anchor.getAttribute("rel") == "episode4")
	            anchor.href = "	mailto:?Subject=New Milwaukee Symphony Orchestra video&body=I wanted to take a moment to share with you a new video by the Milwaukee Symphony Orchestra.  Milwaukee Symphony Orchestra Music Director Designate Edo de Waart is taking the stage for the first time, leading the ultimate trip through the galaxy: Gustav Holst's celestial showpiece The Planets accompanied by deep space footage from the Jet Propulsion Lab and NASA.  View the video here: " + window.location;
				
				 			
			if (anchor.getAttribute("href") && 
	            anchor.getAttribute("rel") == "episode5")
	            anchor.href = "	mailto:?Subject=New Milwaukee Symphony Orchestra video&body=I wanted to take a moment to share with you a new video by the Milwaukee Symphony Orchestra.  We've all got to continue to do our part to keep the music coming for another 50 years.  Whether it's sitting in the audience, working behind the scenes, playing on stage, or making a donation, everyone has a role to play in bringing the gift of classical music to our community.  View the video here: " + window.location;
				
				 			
			if (anchor.getAttribute("href") && 
	            anchor.getAttribute("rel") == "episode6")
	            anchor.href = "	mailto:?Subject=New Milwaukee Symphony Orchestra video&body=I wanted to take a moment to share with you a new video by the Milwaukee Symphony Orchestra.  Don't let Andreas Delfs' final performances as music director pass you by. After twelve wonderful seasons with the MSO, we are celebrating his contributions to our orchestra and our city. Highlights include guest artist and good friend Renee Fleming for an enchanting evening in April, concertmaster Frank Almond in May as soloist, and the final Brahms symphony of the season - Brahms' Symphony No. 1. We've saved the best for last: Mahler's ''Symphony of a Thousand'', a fitting farewell for our beloved music director.   View the video here: " + window.location;
	}
} 
window.onload = linkRels;