function myCastDetails(someNumberComing)
{
		/*clearThePageFunction2();*/
		myMakeVisibleHiddenFunc('2');
		var thenewssubmenu= document.getElementById('newssubmenu');
		thenewssubmenu.style.visibility = 'hidden';
		
		loadXMLDoc('xml/cast2a.xml');
		casts = xml_doc.getElementsByTagName("cast");
		members = xml_doc.getElementsByTagName("member");	
		var mytext = new Array();		

		for(var i = 0; i < members.length; i++)
		{
	  		if (members[i].nodeType==1)
			{ 
				mytext[i] =	members[i].childNodes[0].nodeValue;
			}
		}
		var theDiv2 = document.getElementById('contentHoldingDiv2');
		theDiv2.innerHTML = '';

		var myprevNum = eval(someNumberComing) - 1;
		var mynextNum = eval(someNumberComing) + 1;
		
		if(someNumberComing < '0')
		{
			someNumberComing = '5';
			myprevNum = '4';
			mynextNum = '0';
		}
		else if(someNumberComing > '5')
		{
			someNumberComing = '0';
			myprevNum = '5';
			mynextNum = '1';
		}
		
		var myframecolor = new Array();
		var mypicture = new Array();
		var myname = new Array();
		myNameBg = new Array('adam','henry','lexi','neal','wyatt','elaine');


				for(i=0;i<6;i++)
				{
					myframecolor[i] = 'document.getElementById("castframecolor'+i+'").value';
					mypicture[i] = 'document.getElementById("castpicture'+i+'").value';
					myname[i] = 'document.getElementById("castname'+i+'").value';
				}

		theDiv2.innerHTML = '';
		theDiv2.innerHTML += '<div id="castDiv" style="width:180px; height:150px; position:absolute; top:0px; left:0px;font-weight:bold;">';
theDiv2.innerHTML += ' <img  id="castImg" src=' + eval(mypicture[someNumberComing]) + '><br>&nbsp;';
theDiv2.innerHTML += '<div id="castPrev"><a href="javascript:myCastDetails('+myprevNum+');">PREV</a>&nbsp;</div>';
theDiv2.innerHTML += '<div id="castNext"><a href="javascript:myCastDetails('+mynextNum+');">NEXT</a></div>';
theDiv2.innerHTML += '<div id="castText">' + mytext[someNumberComing] +'</div>';
theDiv2.innerHTML +='</div>';
		
/*		myNameAnimation(someNumberComing);*/
		
}


function myNameAnimation(someNumberComing)
{
		fadetext(someNumberComing);
}

function mycrewdetails(someNumberComing)
{
			clearThePageFunction();
			myMakeVisibleHiddenFunc('3');
		var theDiv2 = document.getElementById('newssubmenu');
		theDiv2.style.visibility = 'hidden';

			myBgDiv = document.getElementById('autismlogo');
			myBgDiv.innerHTML = '';
			myBgDiv.innerHTML = '<img src="images/bg3.jpg" usemap="#bg" border="0" alt="Autism the Musical">';

			var myCrewIdName = new Array();
			myCrewIdName[someNumberComing] = 'mycrewnames' + someNumberComing;
			loadXMLDoc('xml/crew2a.xml');
		crews = xml_doc.getElementsByTagName("crew");
		members = xml_doc.getElementsByTagName("member");

			if(navigator.appName == 'Microsoft Internet Explorer')
			{	
		theDiv = document.getElementById('contentHoldingDiv3');
		theDiv.innerHTML = '';
		theDiv.innerHTML += '<table bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0">';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=bottom></td>';
		theDiv.innerHTML += '</tr>';		
		theDiv.innerHTML += '<tr bgcolor="#000000">';
		theDiv.innerHTML += '<td valign=bottom align=right height="100%"></td>';
		theDiv.innerHTML += '<td width=528px bgcolor="#000000" style="color: #FFFFFF; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px;">' + members[someNumberComing].childNodes[0].nodeValue + '</td>'
		theDiv.innerHTML += '<td valign=bottom align=left height="100%"></td>';
		theDiv.innerHTML += '</tr>';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=top><div></div></td>';
		theDiv.innerHTML += '</tr>';			
		theDiv.innerHTML += '</table><br><a href="http://www.autismthemusical.com/beta/index.php?session=myShowMenu&id=2">Back to Crew</a>';

		document.getElementById('receiveInfo').style.width = '350px';
		document.getElementById('sample').style.width = '350px';		
		document.getElementById('sample1').style.width = '350px';
		document.getElementById('sample2').style.width = '350px';
		document.getElementById('sample3').style.width = '350px';
		document.getElementById('sample4').style.width = '350px';
		document.getElementById('sample5').style.width = '350px';
		document.getElementById('sample6').style.width = '350px';
		document.getElementById('sample7').style.width = '350px';
		document.getElementById('sample8').style.width = '350px';
		document.getElementById('sample9').style.width = '350px';
		document.getElementById('sample10').style.width = '350px';
		document.getElementById('sample11').style.width = '350px';
		document.getElementById('sample12').style.width = '350px';
			}
			else
			{
		theDiv = document.getElementById('contentHoldingDiv3');
		myTable = document.createElement('table');
		myTable.setAttribute('bgcolor','#000000');
		myTable.setAttribute('cellpadding','0');
		myTable.setAttribute('cellspacing','0');
		myTd = document.createElement('td');
		myTd.setAttribute('style','font-size: 10px; width:528px; background-color:#000000;color:#FFFFFF; padding: 0; margin: 0; white-space:inherit; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px;');
		myTd.setAttribute('valign','top');
		myTr = document.createElement('tr');
		myTr.setAttribute('bgcolor','#000000');

		myTrTop = document.createElement('tr');
		myTrBottom = document.createElement('tr');

		myTdTop = document.createElement('td');
		myTdTop.setAttribute('colspan','3');
		myTdTop.setAttribute('style','padding: 0; margin: 0;');
		myTdTop.setAttribute('valign','bottom');		
		myTdBottom = document.createElement('td');
		myTdBottom.setAttribute('colspan','3');
		myTdBottom.setAttribute('style','padding: 0; margin: 0;');
		myTdBottom.setAttribute('valign','top');

		myLeftImageTd = document.createElement('td');
myLeftImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:15px;position:relative; left:2px;');
		myLeftImageTd.setAttribute('valign','top');
		myLeftImageTd.setAttribute('width','15px');
		myLeftImageTd.setAttribute('align','right');

		myRightImageTd = document.createElement('td');
myRightImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:17px;');
		myRightImageTd.setAttribute('valign','top');
		myRightImageTd.setAttribute('width','17px');
		myRightImageTd.setAttribute('align','left');
		
		myBreak = document.createElement('br');
		myAlink = document.createElement('a');
		myAlink.setAttribute('href','http://www.autismthemusical.com/beta/index.php?session=myShowMenu&id=2');
		myAlinkText = document.createTextNode('Back to Crew List');

		theDiv.innerHTML = '';

		theDiv.appendChild(myTable);
		myTable.appendChild(myTrTop);
		myTrTop.appendChild(myTdTop);
		myTable.appendChild(myTr);
		myTr.appendChild(myTd);
myTd.innerHTML += '<p>' + members[someNumberComing].childNodes[0].nodeValue + '</p>';
		myTable.appendChild(myTrBottom);
		myTrBottom.appendChild(myTdBottom);
		theDiv.appendChild(myBreak);
		theDiv.appendChild(myAlink);
		myAlink.appendChild(myAlinkText); 
			}
	
}

function mynewsdetails(someNumberComing)
{
		clearThePageFunction();
		myMakeVisibleHiddenFunc('4');

		myBgDiv = document.getElementById('autismlogo');
		myBgDiv.innerHTML = '';
		myBgDiv.innerHTML = '<img src="images/bg.jpg" usemap="#bg" border="0" alt="Autism the Musical">';

		loadXMLDoc('xml/news2a.xml');
		newss = xml_doc.getElementsByTagName("news");
		entrys = xml_doc.getElementsByTagName("entry");

			if(navigator.appName == 'Microsoft Internet Explorer')
			{	
		theDiv = document.getElementById('contentHoldingDiv4');
		theDiv.innerHTML = '';
		theDiv.innerHTML += '<table bgcolor="#000000" cellpadding="0" cellspacing="0" border="0">';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=bottom></td>';
		theDiv.innerHTML += '</tr>';		
		theDiv.innerHTML += '<tr bgcolor="#000000">';
		theDiv.innerHTML += '<td valign=bottom align=right height="100%"></td>';
		theDiv.innerHTML += '<td width=528px bgcolor="#000000" style="color: #FFFFFF; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px; ">' + entrys[someNumberComing].childNodes[0].nodeValue + '</td>'
		theDiv.innerHTML += '<td valign=bottom align=left height="100%"></td>';
		theDiv.innerHTML += '</tr>';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=top><div></div></td>';
		theDiv.innerHTML += '</tr>';			
		theDiv.innerHTML += '</table>';


		document.getElementById('receiveInfo').style.width = '350px';
		document.getElementById('sample').style.width = '350px';		
		document.getElementById('sample1').style.width = '350px';
		document.getElementById('sample2').style.width = '350px';
		document.getElementById('sample3').style.width = '350px';
		document.getElementById('sample4').style.width = '350px';
		document.getElementById('sample5').style.width = '350px';
		document.getElementById('sample6').style.width = '350px';
		document.getElementById('sample7').style.width = '350px';
		document.getElementById('sample8').style.width = '350px';
		document.getElementById('sample9').style.width = '350px';
		document.getElementById('sample10').style.width = '350px';
		document.getElementById('sample11').style.width = '350px';
		document.getElementById('sample12').style.width = '350px';
			}
			else
			{
		theDiv = document.getElementById('contentHoldingDiv4');
		myTable = document.createElement('table');
		myTable.setAttribute('bgcolor','#000000');
		myTable.setAttribute('cellpadding','0');
		myTable.setAttribute('cellspacing','0');
		myTd = document.createElement('td');
		myTd.setAttribute('style','font-size: 10px; width:528px; background-color:#000000;color:#FFFFFF; padding: 0; margin: 0; white-space:inherit; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px;');
		myTd.setAttribute('valign','top');
		myTr = document.createElement('tr');
		myTr.setAttribute('bgcolor','#000000');

		myTrTop = document.createElement('tr');
		myTrBottom = document.createElement('tr');

		myTdTop = document.createElement('td');
		myTdTop.setAttribute('colspan','3');
		myTdTop.setAttribute('style','padding: 0; margin: 0;');
		myTdTop.setAttribute('valign','bottom');		
		myTdBottom = document.createElement('td');
		myTdBottom.setAttribute('colspan','3');
		myTdBottom.setAttribute('style','padding: 0; margin: 0;');
		myTdBottom.setAttribute('valign','top');

		myLeftImageTd = document.createElement('td');
myLeftImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:15px;position:relative; left:2px;');
		myLeftImageTd.setAttribute('valign','top');
		myLeftImageTd.setAttribute('width','15px');
		myLeftImageTd.setAttribute('align','right');

		myRightImageTd = document.createElement('td');
myRightImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:17px;');
		myRightImageTd.setAttribute('valign','top');
		myRightImageTd.setAttribute('width','17px');
		myRightImageTd.setAttribute('align','left');

		theDiv.innerHTML = '';

		theDiv.appendChild(myTable);
		myTable.appendChild(myTrTop);
		myTrTop.appendChild(myTdTop);
		myTable.appendChild(myTr);
		myTr.appendChild(myTd);
			if(navigator.userAgent.indexOf("Firefox")!=-1)
			{
myTd.innerHTML += '<p>' + entrys[someNumberComing].textContent + '</p>';
			}
			else
			{
myTd.innerHTML += '<p>' + entrys[someNumberComing].childNodes[0].nodeValue + '</p>';
			}
		myTable.appendChild(myTrBottom);
		myTrBottom.appendChild(myTdBottom);
			}
	
}

function myscreeningsdetails(someNumberComing)
{
		clearThePageFunction();
		myMakeVisibleHiddenFunc('4');

		myBgDiv = document.getElementById('autismlogo');
		myBgDiv.innerHTML = '';
		myBgDiv.innerHTML = '<img src="images/bg9.jpg" usemap="#bg" border="0" alt="Autism the Musical">';

		loadXMLDoc('xml/in_theaters.xml');
		newss = xml_doc.getElementsByTagName("news");
		entrys = xml_doc.getElementsByTagName("entry");

			if(navigator.appName == 'Microsoft Internet Explorer')
			{	
		theDiv = document.getElementById('contentHoldingDiv4');
		theDiv.innerHTML = '';
		theDiv.innerHTML += '<table bgcolor="#000000" cellpadding="0" cellspacing="0" border="0">';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=bottom></td>';
		theDiv.innerHTML += '</tr>';		
		theDiv.innerHTML += '<tr bgcolor="#000000">';
		theDiv.innerHTML += '<td valign=bottom align=right height="100%"></td>';
		theDiv.innerHTML += '<td width=528px bgcolor="#000000" style="color: #FFFFFF; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px; ">' + entrys[someNumberComing].childNodes[0].nodeValue + '</td>'
		theDiv.innerHTML += '<td valign=bottom align=left height="100%"></td>';
		theDiv.innerHTML += '</tr>';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=top><div></div></td>';
		theDiv.innerHTML += '</tr>';			
		theDiv.innerHTML += '</table>';


		document.getElementById('receiveInfo').style.width = '350px';
		document.getElementById('sample').style.width = '350px';		
		document.getElementById('sample1').style.width = '350px';
		document.getElementById('sample2').style.width = '350px';
		document.getElementById('sample3').style.width = '350px';
		document.getElementById('sample4').style.width = '350px';
		document.getElementById('sample5').style.width = '350px';
		document.getElementById('sample6').style.width = '350px';
		document.getElementById('sample7').style.width = '350px';
		document.getElementById('sample8').style.width = '350px';
		document.getElementById('sample9').style.width = '350px';
		document.getElementById('sample10').style.width = '350px';
		document.getElementById('sample11').style.width = '350px';
		document.getElementById('sample12').style.width = '350px';
			}
			else
			{
		theDiv = document.getElementById('contentHoldingDiv4');
		myTable = document.createElement('table');
		myTable.setAttribute('bgcolor','#000000');
		myTable.setAttribute('cellpadding','0');
		myTable.setAttribute('cellspacing','0');
		myTd = document.createElement('td');
		myTd.setAttribute('style','font-size: 10px; width:528px; background-color:#000000;color:#FFFFFF; padding: 0; margin: 0; white-space:inherit; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px;');
		myTd.setAttribute('valign','top');
		myTr = document.createElement('tr');
		myTr.setAttribute('bgcolor','#000000');

		myTrTop = document.createElement('tr');
		myTrBottom = document.createElement('tr');

		myTdTop = document.createElement('td');
		myTdTop.setAttribute('colspan','3');
		myTdTop.setAttribute('style','padding: 0; margin: 0;');
		myTdTop.setAttribute('valign','bottom');		
		myTdBottom = document.createElement('td');
		myTdBottom.setAttribute('colspan','3');
		myTdBottom.setAttribute('style','padding: 0; margin: 0;');
		myTdBottom.setAttribute('valign','top');

		myLeftImageTd = document.createElement('td');
myLeftImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:15px;position:relative; left:2px;');
		myLeftImageTd.setAttribute('valign','top');
		myLeftImageTd.setAttribute('width','15px');
		myLeftImageTd.setAttribute('align','right');

		myRightImageTd = document.createElement('td');
myRightImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:17px;');
		myRightImageTd.setAttribute('valign','top');
		myRightImageTd.setAttribute('width','17px');
		myRightImageTd.setAttribute('align','left');

		theDiv.innerHTML = '';

		theDiv.appendChild(myTable);
		myTable.appendChild(myTrTop);
		myTrTop.appendChild(myTdTop);
		myTable.appendChild(myTr);
		myTr.appendChild(myTd);
			if(navigator.userAgent.indexOf("Firefox")!=-1)
			{
myTd.innerHTML += '<p>' + entrys[someNumberComing].textContent + '</p>';
			}
			else
			{
myTd.innerHTML += '<p>' + entrys[someNumberComing].childNodes[0].nodeValue + '</p>';
			}
		myTable.appendChild(myTrBottom);
		myTrBottom.appendChild(myTdBottom);
			}
	
}

function myGetInvolved(someNumberComing)
{
		clearThePageFunction();
		myMakeVisibleHiddenFunc('4');

		myBgDiv = document.getElementById('autismlogo');
		myBgDiv.innerHTML = '';
		myBgDiv.innerHTML = '<img src="images/bg1.jpg" usemap="#bg" border="0" alt="Autism the Musical">';
		theDiv3 = document.getElementById('contentHoldingDiv4');

		loadXMLDoc('xml/get_involved.xml');
		newss = xml_doc.getElementsByTagName("news");
		groups = xml_doc.getElementsByTagName("group");
		
			for(j=0; j < groups.length ; j++)
			{
			if (groups[j].nodeType==1)
				{ 
				Groupsvar = groups.item(j); 
			   attr1 = Groupsvar.getAttribute("name");
					   if(attr1 == 'ABOUT THE MIRACLE PROJECT')
					   {
						theDiv3.innerHTML += "<br><a href=http://www.autismthemusical.com/beta/index.php?session=myGetInvolvedDetails&id="+j+" id='"+j+"' style='text-decoration: none;'><p style='position:relative; top:50px; left: 15px; display:inline; color: #FCCE44; background-color: #000000; font-weight:bold;'>" + attr1 + "</p></a>";						   
					   }
					   else if(attr1 == 'ABOUT AUTISM SPEAKS')
					   {
						theDiv3.innerHTML += "<br><a href=http://www.autismthemusical.com/beta/index.php?session=myGetInvolvedDetails&id="+j+" id='"+j+"' style='text-decoration: none;'><p style='position:relative; top:65px; left: 15px; display:inline; color: #FCCE44; background-color: #000000; font-weight:bold;'>" + attr1 + "</p></a>";						   
					   }
						else
					   {
						theDiv3.innerHTML += "<br><a href=http://www.autismthemusical.com/beta/index.php?session=myGetInvolvedDetails&id="+j+" id='"+j+"' style='text-decoration: none;'><p style='position:relative; top:-5px; left: 15px; display:inline; color: #FCCE44; background-color: #000000; font-weight:bold;'>" + attr1 + "</p></a>";
					   }
				}
			}	
}

function myGetInvolvedDetails(someNumberComing)
{
		clearThePageFunction();
		myMakeVisibleHiddenFunc('4');

		myBgDiv = document.getElementById('autismlogo');
		myBgDiv.innerHTML = '';
		myBgDiv.innerHTML = '<img src="images/bg1.jpg" usemap="#bg" border="0" alt="Autism the Musical">';
		
		loadXMLDoc('xml/get_involved.xml');
		newss = xml_doc.getElementsByTagName("news");
		groups = xml_doc.getElementsByTagName("group");
		
			if(navigator.appName == 'Microsoft Internet Explorer')
			{	
		theDiv = document.getElementById('contentHoldingDiv4');
		theDiv.innerHTML = '';
		theDiv.innerHTML += '<table bgcolor="#000000" cellpadding="0" cellspacing="0" border="0">';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=bottom></td>';
		theDiv.innerHTML += '</tr>';		
		theDiv.innerHTML += '<tr bgcolor="#000000">';
		theDiv.innerHTML += '<td valign=bottom align=right height="100%"></td>';		
		theDiv.innerHTML += '<td width=528px bgcolor="#000000" style="color: #FFFFFF; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px; ">' + groups[someNumberComing].childNodes[0].nodeValue + '</td>'
		theDiv.innerHTML += '<td valign=bottom align=left height="100%"></td>';
		theDiv.innerHTML += '</tr>';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=top><div></div></td>';
		theDiv.innerHTML += '</tr>';			
		theDiv.innerHTML += '</table><br><a href="http://www.autismthemusical.com/beta/index.php?session=myGetInvolved&id=3">Back to Get Involved List</a>';


		document.getElementById('receiveInfo').style.width = '350px';
		document.getElementById('sample').style.width = '350px';		
		document.getElementById('sample1').style.width = '350px';
		document.getElementById('sample2').style.width = '350px';
		document.getElementById('sample3').style.width = '350px';
		document.getElementById('sample4').style.width = '350px';
		document.getElementById('sample5').style.width = '350px';
		document.getElementById('sample6').style.width = '350px';
		document.getElementById('sample7').style.width = '350px';
		document.getElementById('sample8').style.width = '350px';
		document.getElementById('sample9').style.width = '350px';
		document.getElementById('sample10').style.width = '350px';
		document.getElementById('sample11').style.width = '350px';
		document.getElementById('sample12').style.width = '350px';
			}
			else
			{
		theDiv = document.getElementById('contentHoldingDiv4');
		myTable = document.createElement('table');
		myTable.setAttribute('bgcolor','#000000');
		myTable.setAttribute('cellpadding','0');
		myTable.setAttribute('cellspacing','0');
		myTd = document.createElement('td');
		myTd.setAttribute('style','font-size: 10px; width:528px; background-color:#000000;color:#FFFFFF; padding: 0; margin: 0; white-space:inherit; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px;');
		myTd.setAttribute('valign','top');
		myTr = document.createElement('tr');
		myTr.setAttribute('bgcolor','#000000');

		myTrTop = document.createElement('tr');
		myTrBottom = document.createElement('tr');

		myTdTop = document.createElement('td');
		myTdTop.setAttribute('colspan','3');
		myTdTop.setAttribute('style','padding: 0; margin: 0;');
		myTdTop.setAttribute('valign','bottom');		
		myTdBottom = document.createElement('td');
		myTdBottom.setAttribute('colspan','3');
		myTdBottom.setAttribute('style','padding: 0; margin: 0;');
		myTdBottom.setAttribute('valign','top');

		myLeftImageTd = document.createElement('td');
myLeftImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:15px;position:relative; left:2px;');
		myLeftImageTd.setAttribute('valign','top');
		myLeftImageTd.setAttribute('width','15px');
		myLeftImageTd.setAttribute('align','right');

		myRightImageTd = document.createElement('td');
myRightImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:17px;');
		myRightImageTd.setAttribute('valign','top');
		myRightImageTd.setAttribute('width','17px');
		myRightImageTd.setAttribute('align','left');
		
		myBreak = document.createElement('br');
		myAlink = document.createElement('a');
		myAlink.setAttribute('href','http://www.autismthemusical.com/beta/index.php?session=myGetInvolved&id=3');
		myAlinkText = document.createTextNode('Back to Get Involved List');

		theDiv.innerHTML = '';

		theDiv.appendChild(myTable);
		myTable.appendChild(myTrTop);
		myTrTop.appendChild(myTdTop);
		myTable.appendChild(myTr);
		myTr.appendChild(myTd);
			if(navigator.userAgent.indexOf("Firefox")!=-1)
			{
myTd.innerHTML += '<p>' + groups[someNumberComing].textContent + '</p>';
			}
			else
			{
myTd.innerHTML += '<p>' + groups[someNumberComing].childNodes[0].nodeValue + '</p>';
			}
		myTable.appendChild(myTrBottom);
		myTrBottom.appendChild(myTdBottom);
		theDiv.appendChild(myBreak);
		theDiv.appendChild(myAlink);
		myAlink.appendChild(myAlinkText); 
			}
}

function mypressdetails(someNumberComing)
{
		clearThePageFunction();
		myMakeVisibleHiddenFunc('4');

		myBgDiv = document.getElementById('autismlogo');
		myBgDiv.innerHTML = '';
		myBgDiv.innerHTML = '<img src="images/bg4a.jpg" usemap="#bg" border="0" alt="Autism the Musical">';

		loadXMLDoc('xml/press.xml');
		newss = xml_doc.getElementsByTagName("news");
		members = xml_doc.getElementsByTagName("member");

			if(navigator.appName == 'Microsoft Internet Explorer')
			{	
		theDiv = document.getElementById('contentHoldingDiv4');
		theDiv.innerHTML = '';
		theDiv.innerHTML += '<table bgcolor="#000000" cellpadding="0" cellspacing="0" border="0">';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=bottom></td>';
		theDiv.innerHTML += '</tr>';		
		theDiv.innerHTML += '<tr bgcolor="#000000">';
		theDiv.innerHTML += '<td valign=bottom align=right height="100%"></td>';
		theDiv.innerHTML += '<td width=400px bgcolor="#000000" style="color: #FFFFFF; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px; ">' + members[someNumberComing].childNodes[0].nodeValue + '</td>';
		theDiv.innerHTML += '<td valign=bottom align=left height="100%"></td>';
		theDiv.innerHTML += '</tr>';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=top><div></div></td>';
		theDiv.innerHTML += '</tr>';			
		theDiv.innerHTML += '</table><br><a href="http://www.autismthemusical.com/beta/index.php?session=myShowMenu&id=3">Back to Press List</a>';


		document.getElementById('receiveInfo').style.width = '350px';
		document.getElementById('sample').style.width = '350px';		
		document.getElementById('sample1').style.width = '350px';
		document.getElementById('sample2').style.width = '350px';
		document.getElementById('sample3').style.width = '350px';
		document.getElementById('sample4').style.width = '350px';
		document.getElementById('sample5').style.width = '350px';
		document.getElementById('sample6').style.width = '350px';
		document.getElementById('sample7').style.width = '350px';
		document.getElementById('sample8').style.width = '350px';
		document.getElementById('sample9').style.width = '350px';
		document.getElementById('sample10').style.width = '350px';
		document.getElementById('sample11').style.width = '350px';
		document.getElementById('sample12').style.width = '350px';
			}
			else
			{
		theDiv = document.getElementById('contentHoldingDiv4');
		myTable = document.createElement('table');
		myTable.setAttribute('bgcolor','#000000');
		myTable.setAttribute('cellpadding','0');
		myTable.setAttribute('cellspacing','0');
		myTd = document.createElement('td');
		myTd.setAttribute('style','font-size: 10px; width:400px; background-color:#000000;color:#FFFFFF; padding: 0; margin: 0; white-space:inherit; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px;');
		myTd.setAttribute('valign','top');
		myTr = document.createElement('tr');
		myTr.setAttribute('bgcolor','#000000');

		myTrTop = document.createElement('tr');
		myTrBottom = document.createElement('tr');

		myTdTop = document.createElement('td');
		myTdTop.setAttribute('colspan','3');
		myTdTop.setAttribute('style','padding: 0; margin: 0;');
		myTdTop.setAttribute('valign','bottom');		
		myTdBottom = document.createElement('td');
		myTdBottom.setAttribute('colspan','3');
		myTdBottom.setAttribute('style','padding: 0; margin: 0;');
		myTdBottom.setAttribute('valign','top');

		myLeftImageTd = document.createElement('td');
myLeftImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:15px;position:relative; left:2px;');
		myLeftImageTd.setAttribute('valign','top');
		myLeftImageTd.setAttribute('width','15px');
		myLeftImageTd.setAttribute('align','right');

		myRightImageTd = document.createElement('td');
myRightImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:17px;');
		myRightImageTd.setAttribute('valign','top');
		myRightImageTd.setAttribute('width','17px');
		myRightImageTd.setAttribute('align','left');

		myBreak = document.createElement('br');
		myAlink = document.createElement('a');
		myAlink.setAttribute('href','http://www.autismthemusical.com/beta/index.php?session=myShowMenu&id=3');
		myAlinkText = document.createTextNode('Back to Press List');

		theDiv.innerHTML = '';

		theDiv.appendChild(myTable);
		myTable.appendChild(myTrTop);
		myTrTop.appendChild(myTdTop);
		myTable.appendChild(myTr);
		myTr.appendChild(myTd);
			if(navigator.userAgent.indexOf("Firefox")!=-1)
			{
myTd.innerHTML += '<p>' + members[someNumberComing].textContent + '</p>';
			}
			else
			{
myTd.innerHTML += '<p>' + members[someNumberComing].childNodes[0].nodeValue + '</p>';
			}
		myTable.appendChild(myTrBottom);
		myTrBottom.appendChild(myTdBottom);
		theDiv.appendChild(myBreak);
		theDiv.appendChild(myAlink);
		myAlink.appendChild(myAlinkText); 
			}

	
}

function myhomepage()
{
		clearThePageFunction();
		myMakeVisibleHiddenFunc('4');

		myBgDiv = document.getElementById('autismlogo');
		myBgDiv.innerHTML = '';
		myBgDiv.innerHTML = '<img src="images/bg.jpg" usemap="#bg" border="0" alt="Autism the Musical">';

		loadXMLDoc('xml/news2a.xml');
		newss = xml_doc.getElementsByTagName("news");
		entrys = xml_doc.getElementsByTagName("entry");

			if(navigator.appName == 'Microsoft Internet Explorer')
			{	
		theDiv = document.getElementById('contentHoldingDiv4');
		theDiv.innerHTML = '';
		theDiv.innerHTML += '<table bgcolor="#000000" cellpadding="0" cellspacing="0" border="0">';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=bottom></td>';
		theDiv.innerHTML += '</tr>';		
		theDiv.innerHTML += '<tr bgcolor="#000000">';
		theDiv.innerHTML += '<td valign=bottom align=right height="100%"></td>';
		theDiv.innerHTML += '<td width=400px bgcolor="#000000" style="color: #FFFFFF; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px; ">' + entrys[0].childNodes[0].nodeValue + '</td>'
		theDiv.innerHTML += '<td valign=bottom align=left height="100%"></td>';
		theDiv.innerHTML += '</tr>';
		theDiv.innerHTML += '<tr>';
		theDiv.innerHTML += '<td colspan=3 valign=top><div></div></td>';
		theDiv.innerHTML += '</tr>';			
		theDiv.innerHTML += '</table>';


		document.getElementById('receiveInfo').style.width = '350px';
		document.getElementById('sample').style.width = '350px';		
		document.getElementById('sample1').style.width = '350px';
		document.getElementById('sample2').style.width = '350px';
		document.getElementById('sample3').style.width = '350px';
		document.getElementById('sample4').style.width = '350px';
		document.getElementById('sample5').style.width = '350px';
		document.getElementById('sample6').style.width = '350px';
		document.getElementById('sample7').style.width = '350px';
		document.getElementById('sample8').style.width = '350px';
		document.getElementById('sample9').style.width = '350px';
		document.getElementById('sample10').style.width = '350px';
		document.getElementById('sample11').style.width = '350px';
		document.getElementById('sample12').style.width = '350px';
			}
			else
			{
		theDiv = document.getElementById('contentHoldingDiv4');
		myTable = document.createElement('table');
		myTable.setAttribute('bgcolor','#000000');
		myTable.setAttribute('cellpadding','0');
		myTable.setAttribute('cellspacing','0');
		myTd = document.createElement('td');
		myTd.setAttribute('style','font-size: 10px; width:400px; background-color:#000000;color:#FFFFFF; padding: 0; margin: 0; white-space:inherit; font-family:Century Gothic, Arial, Helvetica, sans-serif; font-size: 12px;');
		myTd.setAttribute('valign','top');
		myTr = document.createElement('tr');
		myTr.setAttribute('bgcolor','#000000');

		myTrTop = document.createElement('tr');
		myTrBottom = document.createElement('tr');

		myTdTop = document.createElement('td');
		myTdTop.setAttribute('colspan','3');
		myTdTop.setAttribute('style','padding: 0; margin: 0;');
		myTdTop.setAttribute('valign','bottom');		
		myTdBottom = document.createElement('td');
		myTdBottom.setAttribute('colspan','3');
		myTdBottom.setAttribute('style','padding: 0; margin: 0;');
		myTdBottom.setAttribute('valign','top');

		myLeftImageTd = document.createElement('td');
myLeftImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:15px;position:relative; left:2px;');
		myLeftImageTd.setAttribute('valign','top');
		myLeftImageTd.setAttribute('width','15px');
		myLeftImageTd.setAttribute('align','right');

		myRightImageTd = document.createElement('td');
myRightImageTd.setAttribute('style','padding: 0; margin: 0; background-color:#000000; width:17px;');
		myRightImageTd.setAttribute('valign','top');
		myRightImageTd.setAttribute('width','17px');
		myRightImageTd.setAttribute('align','left');

		theDiv.innerHTML = '';

		theDiv.appendChild(myTable);
		myTable.appendChild(myTrTop);
		myTrTop.appendChild(myTdTop);
		myTable.appendChild(myTr);
		myTr.appendChild(myTd);
			if(navigator.userAgent.indexOf("Firefox")!=-1)
			{
myTd.innerHTML += '<p>' + entrys[0].textContent + '</p>';
			}
			else
			{
myTd.innerHTML += '<p>' + entrys[0].childNodes[0].nodeValue + '</p>';
			}
		myTable.appendChild(myTrBottom);
		myTrBottom.appendChild(myTdBottom);
			}
		
}