function myHomeWriteFile(someSubSectionParam)
{
	if(someSubSectionParam == '1')
	{
			if(navigator.appName == 'Microsoft Internet Explorer')
			{
				var theDiv = document.getElementById('contentDiv');
				theDiv.innerHTML = '';
				var theDiv2 = document.getElementById('contentDiv2');
				theDiv2.innerHTML = '';

				var theDiv5 = document.getElementById('contentDiv3');
				theDiv5.innerHTML = '';			
			}
			else
			{
				var theDiv = document.getElementById('contentDiv');
				theDiv.innerHTML = '';
				var theFooter = document.getElementById('myFooter');
				theFooter.innerHTML = '';
			}	

			var theDiv2 = document.getElementById('contentDiv2');
			theDiv2.innerHTML = '';

			var theDiv3 = document.getElementById('extraDetails');
			theDiv3.innerHTML = '';			
			
			var theDiv4 = document.getElementById('extraDetails2');
			theDiv4.innerHTML = '';

			loadXMLDoc('xml/bg2.xml');
			var newsvar=xmlDoc.getElementsByTagName('news');
			var urlvar=xmlDoc.getElementsByTagName('url');
			var photovar=xmlDoc.getElementsByTagName('photo');
			var newsitemvar=xmlDoc.getElementsByTagName('newsitem');
			
/*<div id="real_world_module_home" class="real_world_module_home"><table><tr><td><img src=' + photovar[i].childNodes[0].nodeValue + ' width=295px height=250px></td></tr><tr><td>' + newsitemvar[i].childNodes[0].nodeValue + '<a href=' + urlvar[i].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"> Click to see more</a></td></tr></table></div>*/

			for (i=0;i<newsitemvar.length;i++)
			  {
			  if (newsitemvar[i].nodeType==1)
				{ 
					if(navigator.appName == 'Microsoft Internet Explorer')
					{
			//theDiv.innerHTML += '<div id="real_world_module_home" class="real_world_module_home" style="position: absolute; z-index: -1; height: 302px; background-image: url(global_images/real_world_home_gradient.jpg); cursor:pointer; cursor:hand;" onClick="javascript:myShowsWriteFile(2);"><img src="global_images/top_module_graphic.gif" width="220px" valign="top" align="right" alt="Now" style="position: relative; left: 0px; cursor: pointer; cursor: hand; z-Index: 2;" onClick="javascript:myShowsWriteFile(2);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">NOW</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">NOW</font></div></div><div id="real_world_module_home2" class="real_world_module_home2"><table><tr><td valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="coming_soon" width="296" height="271" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="now.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="allowScriptAccess" value="sameDomain" /><embed src="now.swf" quality="high" bgcolor="#000000" width="296" height="271" name="now" align="middle" play="true" loop="true" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></noscript><iframe name="_history" src="history.htm" frameborder="0" scrolling="no" width="22" height="0"></iframe></td></tr></table></div>';
					theDiv.innerHTML += '<div id="real_world_module_home" class="real_world_module_home" style="position: absolute; z-index: -1; height: 302px; background-color: #333333; cursor:pointer; cursor:hand;"  onClick=""><img src="global_images/top_module_graphic.gif" width="220px" valign="top" align="right" alt="Now" style="position: relative; left: 0px; cursor: pointer; cursor: hand; z-Index: 2;" onClick=""><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">NOW</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">NOW</font></div></div><div id="real_world_module_home2" class="real_world_module_home2"><table><tr><td valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="coming_soon" width="790" height="275" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="now.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="allowScriptAccess" value="sameDomain" /><embed src="now.swf" quality="high" bgcolor="#000000" width="790" height="275" name="now" align="middle" play="true" loop="true" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></noscript><iframe name="_history" src="history.htm" frameborder="0" scrolling="no" width="22" height="0"></iframe></td></tr></table></div>';
					}
					else
					{
					theDiv.innerHTML += '<div id="real_world_module_home" class="real_world_module_home" style="position: absolute; z-index: -1; height: 300px; background-color: #333333;);"><img src="global_images/top_module_graphic.gif" width="220px" valign="top" align="right" alt="Now" style="position: relative; left: 0px; cursor: pointer; cursor: hand; z-Index: 2;" onClick="javascript:myShowsWriteFile(2);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">NOW</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold; cursor:pointer; cursor:hand;" onClick="">NOW</font></div></div><div id="real_world_module_home2" class="real_world_module_home2" style="position: relative; top: 40px; left: -3px;"><table><tr><td valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="coming_soon" width="790" height="275" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" style="cursor: pointer; cursor: hand;" onClick=""><param name="movie" value="now.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="allowScriptAccess" value="sameDomain" /><embed src="now.swf" quality="high" bgcolor="#000000" width="790" height="275" name="now" align="middle" play="true" loop="true" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></noscript></td></tr></table></div>';						
					} 
				}
			  }

			/*		if(navigator.appName == 'Microsoft Internet Explorer')
					{
			theDiv.innerHTML += '<div id="this_week_module_home" class="this_week_module_home" style="position: absolute; z-index: -1; height: 302px; background-image: url(global_images/real_world_home_gradient.jpg); width: 225px;"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">REAL WORLD<br>RECAPS</font><div style="position: relative; top: -27px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">REAL WORLD<br>RECAPS</font></div></div><div id="this_week_module_home" class="this_week_module_home"><img src="global_images/top_module_graphic.gif" width="225px" valign="top" alt="REAL WORLD RECAPS" style="z-index: 2;"><br><iframe id="dataframe" allowTransparency=True src="http://www.tvgasm.com/shows/export/real_world_export.htm" srctype="text/html" width="225px" height="270px" scrolling="auto" style="font-family: Verdana, Arial, Helvetica, sans-serif;"></iframe></div>';
					}
					else
					{
			theDiv.innerHTML += '<div id="this_week_module_home" class="this_week_module_home" style="position: absolute; z-index: -1; height: 32px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">REAL WORLD<br>RECAPS</font><div style="position: relative; top: -27px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">REAL WORLD<br>RECAPS</font></div></div><div id="this_week_module_home" class="this_week_module_home"><img src="global_images/top_module_graphic.gif" width="220px" valign="top" alt="This Week" style="z-index: 2;"><br><iframe id="dataframe" src="http://www.tvgasm.com/shows/export/real_world_export.htm" srctype="text/html" width="215px" height="270px" scrolling="auto" style="font-family: Verdana, Arial, Helvetica, sans-serif;"></iframe></div>';			
					}
			
					if(navigator.appName == 'Microsoft Internet Explorer')
					{
			theDiv.innerHTML += '<div id="news_module_home" class="news_module_home" style="position: absolute; z-index: -1; height: 302px; background-image: url(global_images/real_world_home_gradient.jpg); width: 225px;"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">NEWS</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">NEWS</font></div></div><div id="news_module_home" class="news_module_home"><img src="global_images/top_module_graphic.gif" width="225px" alt="News" valign="top"  alt="News" style="z-index: 2;"><br> <iframe id="dataframe" src="http://www.tvgasm.com/shows/export/tvgasm_export.htm" srctype="text/html" width="225px" height="270px" scrolling="auto" style="font-family: Verdana, Arial, Helvetica, sans-serif;"></iframe></div>';
					}
					else
					{
			theDiv.innerHTML += '<div id="news_module_home" class="news_module_home" style="position: absolute; z-index: -1; height: 32px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">NEWS</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">NEWS</font></div></div><div id="news_module_home" class="news_module_home"><img src="global_images/top_module_graphic.gif" width="220px" alt="News" valign="top"  alt="News" style="z-index: 2;"><br> <iframe id="dataframe" src="http://www.tvgasm.com/shows/export/tvgasm_export.htm" srctype="text/html" width="215px" height="270px" scrolling="auto" style="font-family: Verdana, Arial, Helvetica, sans-serif;"></iframe></div>';
					}*/
			
/* START of code for COMING SOON box */

			loadXMLDoc('xml/gauntlet.xml');
			var newsvar2=xmlDoc.getElementsByTagName('news');
			var urlvar2=xmlDoc.getElementsByTagName('url');
			var photovar2=xmlDoc.getElementsByTagName('photo');
			var newsitemvar2=xmlDoc.getElementsByTagName('newsitem');

/*
<tr><td><img src="global_images/gaunlet3.jpg" width="200px" height="75px" valign="top" alt="inferno3"></td></tr><tr><td style="font-size: 16px; color: #FFFFFF; text-align: center;text-transform:capitalize;">' + newsitemvar2[j].childNodes[0].nodeValue + '<a href=' + urlvar2[j].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><br><font color=#FFFFFF></font></a></td></tr>
<div id="after_show_module_home" class="after_show_module_home"><table><tr><td><img src="global_images/gaunlet3.jpg" width="200px" height="75px" valign="top" alt="gauntlet 3"></td></tr><tr><td style="font-size: 16px; color: #FFFFFF; text-align: center;text-transform:capitalize;">' + newsitemvar2[j].childNodes[0].nodeValue + '<a href=' + urlvar2[j].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><br><font color=#FFFFFF></font></a><img src="' + photovar2[j].childNodes[0].nodeValue + '" border="0"></td></tr></table></div>
*/

			for (j=0;j<newsitemvar2.length;j++)
			  {
			  if (newsitemvar2[j].nodeType==1)
				{ 
					if(navigator.appName == 'Microsoft Internet Explorer')
					{
							var myIEverTemp = navigator.appVersion;
							var myIEver = myIEverTemp.charAt(22);
							/*alert(myIEver);*/
							if(myIEver == "7")
							{
/*
			theDiv.innerHTML += '<div id="after_show_module_home" class="after_show_module_home" style="position: absolute; z-index: -1; height: 270px; background-image: url(global_images/real_world_home_gradient.jpg); width: 218px;"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">COMING SOON</font><div style="position: relative; top: 3px; left: 1px; z-index: -1; height: 28px; background: transparent;"><img src="global_images/top_module_graphic.gif" width="220px" valign="top" style="position: relative; left: -3px; top: -21px; z-index: 2;" alt="Coming Soon"></div></div><div id="after_show_module_home2" class="after_show_module_home2" style="background-image: url(global_images/blackbox.jpg); position: relative; left: 6px; width: 20px;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="coming_soon" width="210" height="240" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="global_images/coming_soon.jpg" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="allowScriptAccess" value="sameDomain" /><embed src="global_images/coming_soon.jpg" quality="high" bgcolor="#000000" width="210" height="240" name="coming_soon" align="middle"	play="true" loop="false" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></noscript><iframe name="_history" src="history.htm" frameborder="0" scrolling="no" width="22" height="0"></iframe></div>';	
*/
			theDiv.innerHTML += '<div id="after_show_module_home" class="after_show_module_home" style="position: absolute; z-index: -1; height: 270px; background-image: url(global_images/real_world_home_gradient.jpg); width: 220px;"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">COMING SOON</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">COMING SOON</font><img src="global_images/top_module_graphic.gif" width="220px" valign="top" style="position: relative; left: -1px; top: -16px; z-index: 2;" alt="Coming Soon"></div></div><div id="after_show_module_home2" class="after_show_module_home2" style="background-image: url(global_images/blackbox.jpg); position: relative; left: 4px;  width: 20px;"><a href="http://www.pedrothemovie.com" style="cursor:pointer; cursor:hand;"><img src="global_images/COMING_SOON.jpg" width="212" height="240" border=0></a><iframe name="_history" src="history.htm" frameborder="0" scrolling="no" width="22" height="0"></iframe></div>';

							}
							else
							{
/*
			theDiv.innerHTML += '<div id="after_show_module_home" class="after_show_module_home" style="position: absolute; z-index: -1; height: 270px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">COMING SOON</font><div style="position: relative; top: 3px; left: 0px; z-index: -1; height: 28px; background: transparent;"><img src="global_images/top_module_graphic.gif" width="220px" valign="top" style="position: relative; left: 0px; top: -21px; z-index: 2;" alt="Coming Soon"></div></div><div id="after_show_module_home2" class="after_show_module_home2" style="background-image: url(global_images/blackbox.jpg); position: relative; left: 6px; width: 20px;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="coming_soon" width="210" height="240" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="global_images/coming_soon.jpg" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="allowScriptAccess" value="sameDomain" /><embed src="global_images/coming_soon.jpg" quality="high" bgcolor="#000000" width="210" height="240" name="coming_soon" align="middle"	play="true" loop="false" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></noscript><iframe name="_history" src="history.htm" frameborder="0" scrolling="no" width="22" height="0"></iframe></div>';								
*/
			theDiv.innerHTML += '<div id="after_show_module_home" class="after_show_module_home" style="position: absolute; z-index: -1; height: 270px; background-image: url(global_images/real_world_home_gradient.jpg); width: 220px;"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">COMING SOON</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">COMING SOON</font><img src="global_images/top_module_graphic.gif" width="220px" valign="top" style="position: relative; left: -1px; top: -16px; z-index: 2;" alt="Coming Soon"></div></div><div id="after_show_module_home2" class="after_show_module_home2" style="background-image: url(global_images/blackbox.jpg); position: relative; left: 4px;  width: 20px;"><a href="http://www.pedrothemovie.com" style="cursor:pointer; cursor:hand;"><img src="global_images/COMING_SOON.jpg" width="212" height="240" border=0></a><iframe name="_history" src="history.htm" frameborder="0" scrolling="no" width="22" height="0"></iframe></div>';

							}
					}
					else
					{
/* code for Coming Soon using FLASH for non-IE browsers */
/*
			theDiv.innerHTML += '<div id="after_show_module_home" class="after_show_module_home" style="position: absolute; z-index: -1; height: 270px; background-image: url(global_images/real_world_home_gradient.jpg); width: 220px;"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">COMING SOON</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">COMING SOON</font><img src="global_images/top_module_graphic.gif" width="220px" valign="top" style="position: relative; left: -1px; top: -16px; z-index: 2;" alt="Coming Soon"></div></div><div id="after_show_module_home2" class="after_show_module_home2" style="background-image: url(global_images/blackbox.jpg); position: relative; left: 4px;  width: 20px;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="coming_soon" width="212" height="240" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="global_images/coming_soon.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="allowScriptAccess" value="sameDomain" /><embed src="global_images/coming_soon.jpg" quality="high" bgcolor="#000000" width="212" height="240" name="coming_soon" align="middle"	play="true" loop="false" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></noscript></div>';
*/
/* code for Coming Soon using JPGs for non-IE browsers */

			theDiv.innerHTML += '<div id="after_show_module_home" class="after_show_module_home" style="position: absolute; z-index: -1; height: 270px; background-image: url(global_images/real_world_home_gradient.jpg); width: 220px;"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">COMING SOON</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">COMING SOON</font><img src="global_images/top_module_graphic.gif" width="220px" valign="top" style="position: relative; left: -1px; top: -16px; z-index: 2;" alt="Coming Soon"></div></div><div id="after_show_module_home2" class="after_show_module_home2" style="background-image: url(global_images/blackbox.jpg); position: relative; left: 4px;  width: 20px;"><a href="http://www.pedrothemovie.com" style="cursor:pointer; cursor:hand;"><img src="global_images/COMING_SOON.jpg" width="212" height="240" border=0></a></div>';

					}
				}
			  }

/* START of code for MUSIC  box */
			  
			loadXMLDoc('xml/music.xml');
			var newsvar3=xmlDoc.getElementsByTagName('news');
			var urlvar3=xmlDoc.getElementsByTagName('url');
			var photovar3=xmlDoc.getElementsByTagName('photo');
			var newsitemvar3=xmlDoc.getElementsByTagName('newsitem');
			
			for (k=0;k<newsitemvar3.length;k++)
			  {
			  if (newsitemvar3[k].nodeType==1)
				{ 
					if(navigator.appName == 'Microsoft Internet Explorer')
					{
			//theDiv.innerHTML += '<div id="music_module_home" class="music_module_home" style="position: absolute; z-index: -1; height: 270px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">MUSIC</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">MUSIC</font></div></div><div id="music_module_home" class="music_module_home"><table><tr><td valign="top"><img src="global_images/top_module_graphic.gif" style="position: relative; top: -3px; z-index: 2; cursor:pointer; cursor:hand;" width="202px" valign="top" alt="Music" onClick="javascript:myMusicWriteFile(1);"></td></tr><tr><td><a href=' + urlvar3[k].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><img src=' + photovar3[k].childNodes[0].nodeValue + ' id="music_img" border="0"></a></td></tr><tr><td style="position: relative; top: 10px;white-space:normal;"> ' + newsitemvar3[k].childNodes[0].nodeValue + '</td></tr></table></div>';
			theDiv.innerHTML += '<div id="music_module_home" class="music_module_home" style="position: absolute; z-index: -1; height: 270px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">MUSIC</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">MUSIC</font></div></div><div id="music_module_home" class="music_module_home"><table><tr><td valign="top"><img src="global_images/top_module_graphic.gif" style="position: relative; top: -3px; z-index: 2; cursor:pointer; cursor:hand;" width="202px" valign="top" alt="Music" onClick="javascript:myMusicWriteFile(1);"></td></tr><tr><td><a href=' + urlvar3[k].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><img src=' + photovar3[k].childNodes[0].nodeValue + ' id="music_img" border="0"></a></td></tr></table></div>';
					}
					else
					{
			theDiv.innerHTML += '<div id="music_module_home" class="music_module_home" style="position: absolute; z-index: -1; height: 270px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">MUSIC</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">MUSIC</font></div></div><div id="music_module_home" class="music_module_home"><table><tr><td valign="top"><img src="global_images/top_module_graphic.gif" style="position: relative; top: -3px; z-index: 2; cursor:pointer; cursor:hand;" width="202px" valign="top" alt="Music" onClick="javascript:myMusicWriteFile(1);"></td></tr><tr><td><a href=' + urlvar3[k].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><img src=' + photovar3[k].childNodes[0].nodeValue + ' id="music_img" border="0"></a></td></tr><tr><td style="position: relative; top: 10px;white-space:normal; text-align: left;"> ' + newsitemvar3[k].childNodes[0].nodeValue + '</td></tr></table></div>';						
					}

				}
			  }
			
/* START of code for CASTING box */

			loadXMLDoc('xml/casting.xml');
			var newsvar4=xmlDoc.getElementsByTagName('news');
			var urlvar4=xmlDoc.getElementsByTagName('url');
			var photovar4=xmlDoc.getElementsByTagName('photo');
			var newsitemvar4=xmlDoc.getElementsByTagName('newsitem');
			
			for (l=0;l<newsitemvar4.length;l++)
			  {
			  if (newsitemvar4[l].nodeType==1)
				{ 
					if(navigator.appName == 'Microsoft Internet Explorer')
					{
							var myIEverTemp = navigator.appVersion;
							var myIEver = myIEverTemp.charAt(22);
							/*alert(myIEver);*/
							if(myIEver == "7")
							{
/* START of code for IE7 browsers */
					theDiv.innerHTML += '<div id="casting_module_home" class="casting_module_home" style="position: absolute; z-index: 1; height: 28px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">CASTING</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">CASTING</font></div></div><div id="casting_module_home" class="casting_module_home" style="color: #000000; background-image: url(global_images/real_world_home_gradient.jpg); height: 270px;"><table><tr><td valign="top"><img src="global_images/top_module_graphic.gif" style="position: relative; top: -3px; z-index: 2;" width="297px" height="28px"  valign="top" alt="Casting"></td></tr><tr><td align=center><a href=' + urlvar4[l].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><img src=' + photovar4[l].childNodes[0].nodeValue + ' height=200px width=290px border=0></a></td></tr></table></div>';
							}
							else
/* START of code for IE6 browsers */
							{
					theDiv.innerHTML += '<div id="casting_module_home" class="casting_module_home" style="position: absolute; z-index: 1; height: 28px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">CASTING</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">CASTING</font></div></div><div id="casting_module_home" class="casting_module_home" style="color: #000000; background-image: url(global_images/real_world_home_gradient.jpg); height: 270px;"><table><tr><td valign="top"><img src="global_images/top_module_graphic.gif" style="position: relative; top: -3px; z-index: 2;" width="297px" height="28px"  valign="top" alt="Casting"></td></tr><tr><td align=center><a href=' + urlvar4[l].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><img src=' + photovar4[l].childNodes[0].nodeValue + ' height=200px width=290px border=0></a></td></tr></table></div>';
							}
					}
					else
					{
/* START of code for non-IE browsers */
					theDiv.innerHTML += '<div id="casting_module_home" class="casting_module_home" style="position: absolute; z-index: 1; height: 28px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">CASTING</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">CASTING</font></div></div><div id="casting_module_home" class="casting_module_home" style="color: #000000; background-image: url(global_images/real_world_home_gradient.jpg); height: 270px;"><table><tr><td valign="top"><img src="global_images/top_module_graphic.gif" style="position: relative; top: -3px; z-index: 2;" width="297px" height="28px"  valign="top" alt="Casting"></td></tr><tr><td align=center><a href=' + urlvar4[l].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><img src=' + photovar4[l].childNodes[0].nodeValue + ' height=200px width=290px border=0></a></td></tr></table></div>';
					}
				}
			  }
			  myFooterFunction("home_footer");
	}
	else if(someSubSectionParam == '2')
	{
			if(navigator.appName == 'Microsoft Internet Explorer')
			{
				var theDiv = document.getElementById('contentDiv');
				theDiv.innerHTML = '';
				var theDiv2 = document.getElementById('contentDiv2');
				theDiv2.innerHTML = '';

				var theDiv5 = document.getElementById('contentDiv3');
				theDiv5.innerHTML = '';			
			}
			else
			{
				var theDiv = document.getElementById('contentDiv');
				theDiv.innerHTML = '';
				var theFooter = document.getElementById('myFooter');
				theFooter.innerHTML = '';
			}	

			var theDiv2 = document.getElementById('contentDiv2');
			theDiv2.innerHTML = '';

			var theDiv3 = document.getElementById('extraDetails');
			theDiv3.innerHTML = '';			
			
			var theDiv4 = document.getElementById('extraDetails2');
			theDiv4.innerHTML = '';

			loadXMLDoc('xml/bg2.xml');
			var newsvar=xmlDoc.getElementsByTagName('news');
			var urlvar=xmlDoc.getElementsByTagName('url');
			var photovar=xmlDoc.getElementsByTagName('photo');
			var newsitemvar=xmlDoc.getElementsByTagName('newsitem');
			
/*<div id="real_world_module_home" class="real_world_module_home"><table><tr><td><img src=' + photovar[i].childNodes[0].nodeValue + ' width=295px height=250px></td></tr><tr><td>' + newsitemvar[i].childNodes[0].nodeValue + '<a href=' + urlvar[i].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"> Click to see more</a></td></tr></table></div>*/

			for (i=0;i<newsitemvar.length;i++)
			  {
			  if (newsitemvar[i].nodeType==1)
				{ 
					if(navigator.appName == 'Microsoft Internet Explorer')
					{
			theDiv.innerHTML += '<div id="real_world_module_home" class="real_world_module_home" style="position: absolute; z-index: -1; height: 302px; background-image: url(global_images/real_world_home_gradient.jpg); cursor:pointer; cursor:hand;" onClick="javascript:myShowsWriteFile(2);"><img src="global_images/top_module_graphic.gif" width="220px" valign="top" align="right" alt="Now" style="position: relative; left: 0px; cursor: pointer; cursor: hand; z-Index: 2;" onClick="javascript:myShowsWriteFile(2);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">NOW</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">NOW</font></div></div><div id="real_world_module_home2" class="real_world_module_home2"><table><tr><td><img src=' + photovar[i].childNodes[0].nodeValue + ' width=295px height=250px></td></tr><tr><td>' + newsitemvar[i].childNodes[0].nodeValue + '<a href=' + urlvar[i].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"> Click to see more</a></td></tr></table></div>';
					}
					else
					{
			theDiv.innerHTML += '<div id="real_world_module_home" class="real_world_module_home" style="position: absolute; z-index: -1; height: 300px; background-image: url(global_images/real_world_home_gradient.jpg);"><img src="global_images/top_module_graphic.gif" width="220px" valign="top" align="right" alt="Now" style="position: relative; left: 0px; cursor: pointer; cursor: hand; z-Index: 2;" onClick="javascript:myShowsWriteFile(2);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">NOW</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold; cursor:pointer; cursor:hand;" onClick="javascript:myShowsWriteFile(2);">NOW</font></div></div><div id="real_world_module_home2" class="real_world_module_home2"><table><tr><td><img src=' + photovar[i].childNodes[0].nodeValue + ' width=295px height=250px></td></tr><tr><td>' + newsitemvar[i].childNodes[0].nodeValue + '<a href=' + urlvar[i].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"> Click to see more</a></td></tr></table></div>';						
					}
				}
			  }

					if(navigator.appName == 'Microsoft Internet Explorer')
					{
			theDiv.innerHTML += '<div id="this_week_module_home" class="this_week_module_home" style="position: absolute; z-index: -1; height: 302px; background-image: url(global_images/real_world_home_gradient.jpg); width: 220px;"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">REAL WORLD<br>RECAPS</font><div style="position: relative; top: -27px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">REAL WORLD<br>RECAPS</font></div></div><div id="this_week_module_home" class="this_week_module_home"><img src="global_images/top_module_graphic.gif" width="220px" valign="top" alt="This Week" style="z-index: 2;"><br><iframe id="dataframe" src="http://www.tvgasm.com/shows/export/real_world_export.htm" srctype="text/html" width="215px" height="270px" scrolling="auto" style="font-family: Verdana, Arial, Helvetica, sans-serif;"></iframe></div>';
					}
					else
					{
			theDiv.innerHTML += '<div id="this_week_module_home" class="this_week_module_home" style="position: absolute; z-index: -1; height: 32px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">REAL WORLD<br>RECAPS</font><div style="position: relative; top: -27px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">REAL WORLD<br>RECAPS</font></div></div><div id="this_week_module_home" class="this_week_module_home"><img src="global_images/top_module_graphic.gif" width="220px" valign="top" alt="This Week" style="z-index: 2;"><br><iframe id="dataframe" src="http://www.tvgasm.com/shows/export/real_world_export.htm" srctype="text/html" width="215px" height="270px" scrolling="auto" style="font-family: Verdana, Arial, Helvetica, sans-serif;"></iframe></div>';			
					}
			
					if(navigator.appName == 'Microsoft Internet Explorer')
					{
			theDiv.innerHTML += '<div id="news_module_home" class="news_module_home" style="position: absolute; z-index: -1; height: 302px; background-image: url(global_images/real_world_home_gradient.jpg); width: 220px;"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">NEWS</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">NEWS</font></div></div><div id="news_module_home" class="news_module_home"><img src="global_images/top_module_graphic.gif" width="220px" alt="News" valign="top"  alt="News" style="z-index: 2;"><br> <iframe id="dataframe" src="http://www.tvgasm.com/shows/export/tvgasm_export.htm" srctype="text/html" width="215px" height="270px" scrolling="auto" style="font-family: Verdana, Arial, Helvetica, sans-serif;"></iframe></div>';
					}
					else
					{
			theDiv.innerHTML += '<div id="news_module_home" class="news_module_home" style="position: absolute; z-index: -1; height: 32px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">NEWS</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">NEWS</font></div></div><div id="news_module_home" class="news_module_home"><img src="global_images/top_module_graphic.gif" width="220px" alt="News" valign="top"  alt="News" style="z-index: 2;"><br> <iframe id="dataframe" src="http://www.tvgasm.com/shows/export/tvgasm_export.htm" srctype="text/html" width="215px" height="270px" scrolling="auto" style="font-family: Verdana, Arial, Helvetica, sans-serif;"></iframe></div>';
					}
			
			loadXMLDoc('xml/gauntlet.xml');
			var newsvar2=xmlDoc.getElementsByTagName('news');
			var urlvar2=xmlDoc.getElementsByTagName('url');
			var photovar2=xmlDoc.getElementsByTagName('photo');
			var newsitemvar2=xmlDoc.getElementsByTagName('newsitem');

/*
<tr><td><img src="global_images/gaunlet3.jpg" width="200px" height="75px" valign="top" alt="inferno3"></td></tr><tr><td style="font-size: 16px; color: #FFFFFF; text-align: center;text-transform:capitalize;">' + newsitemvar2[j].childNodes[0].nodeValue + '<a href=' + urlvar2[j].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><br><font color=#FFFFFF></font></a></td></tr>
<div id="after_show_module_home" class="after_show_module_home"><table><tr><td><img src="global_images/gaunlet3.jpg" width="200px" height="75px" valign="top" alt="gauntlet 3"></td></tr><tr><td style="font-size: 16px; color: #FFFFFF; text-align: center;text-transform:capitalize;">' + newsitemvar2[j].childNodes[0].nodeValue + '<a href=' + urlvar2[j].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><br><font color=#FFFFFF></font></a><img src="' + photovar2[j].childNodes[0].nodeValue + '" border="0"></td></tr></table></div>

*/

			for (j=0;j<newsitemvar2.length;j++)
			  {
			  if (newsitemvar2[j].nodeType==1)
				{ 
					if(navigator.appName == 'Microsoft Internet Explorer')
					{
							var myIEverTemp = navigator.appVersion;
							var myIEver = myIEverTemp.charAt(22);
							/*alert(myIEver);*/
							if(myIEver == "7")
							{
			theDiv.innerHTML += '<div id="after_show_module_home" class="after_show_module_home" style="position: absolute; z-index: -2; height: 38px; background-image: url(global_images/real_world_home_gradient.jpg); width: 218px;"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">COMING SOON</font><div style="position: relative; top: 3px; left: 1px; z-index: -1; height: 28px; background: transparent;"><img src="global_images/top_module_graphic.gif" width="220px" valign="top" style="position: relative; left: -3px; top: -21px; z-index: 2;" alt="Coming Soon"></div></div><div id="after_show_module_home" class="after_show_module_home"><table><tr><td style="font-size: 16px; color: #FFFFFF; text-align: center;text-transform:capitalize;">' + newsitemvar2[j].childNodes[0].nodeValue + '<a href=' + urlvar2[j].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><br><font color=#FFFFFF></font></a><img src="' + photovar2[j].childNodes[0].nodeValue + '" height="250" width="220" style="position:absolute; top: 20px; left: -2px;" border="0"></td></tr></table></div>';	
							}
							else
							{
			theDiv.innerHTML += '<div id="after_show_module_home" class="after_show_module_home" style="position: absolute; z-index: -2; height: 28px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">COMING SOON</font><div style="position: relative; top: 3px; left: 0px; z-index: -1; height: 28px; background: transparent;"><img src="global_images/top_module_graphic.gif" width="220px" valign="top" style="position: relative; left: 0px; top: -21px; z-index: 2;" alt="Coming Soon"></div></div><div id="after_show_module_home" class="after_show_module_home"><table><tr><td style="font-size: 16px; color: #FFFFFF; text-align: center;text-transform:capitalize;">' + newsitemvar2[j].childNodes[0].nodeValue + '<a href=' + urlvar2[j].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><br><font color=#FFFFFF></font></a><img src="' + photovar2[j].childNodes[0].nodeValue + '" height="250" width="222" style="position:absolute; top: 20px; left: -2px;" border="0"></td></tr></table></div>';								
							}
					}
					else
					{
			theDiv.innerHTML += '<div id="after_show_module_home" class="after_show_module_home" style="position: absolute; z-index: -2; height: 37px; background-image: url(global_images/real_world_home_gradient.jpg); width: 220px;"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">COMING SOON</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">COMING SOON</font><img src="global_images/top_module_graphic.gif" width="220px" valign="top" style="position: relative; left: -1px; top: -16px; z-index: 2;" alt="Coming Soon"></div></div><div id="after_show_module_home" class="after_show_module_home"><table><tr><td style="font-size: 16px; color: #FFFFFF; text-align: center;text-transform:capitalize;">' + newsitemvar2[j].childNodes[0].nodeValue + '<a href=' + urlvar2[j].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><br><font color=#FFFFFF></font></a><img src="' + photovar2[j].childNodes[0].nodeValue + '" height="250" width="222" style="position:absolute; top: 20px; left: -2px;" border="0"></td></tr></table></div>';						
					}
				}
			  }
			  
			loadXMLDoc('xml/music.xml');
			var newsvar3=xmlDoc.getElementsByTagName('news');
			var urlvar3=xmlDoc.getElementsByTagName('url');
			var photovar3=xmlDoc.getElementsByTagName('photo');
			var newsitemvar3=xmlDoc.getElementsByTagName('newsitem');
			
			for (k=0;k<newsitemvar3.length;k++)
			  {
			  if (newsitemvar3[k].nodeType==1)
				{ 
					if(navigator.appName == 'Microsoft Internet Explorer')
					{
			theDiv.innerHTML += '<div id="music_module_home" class="music_module_home" style="position: absolute; z-index: -1; height: 270px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">MUSIC</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">MUSIC</font></div></div><div id="music_module_home" class="music_module_home"><table><tr><td valign="top"><img src="global_images/top_module_graphic.gif" style="position: relative; top: -3px; z-index: 2; cursor:pointer; cursor:hand;" width="202px" valign="top" alt="Music" onClick="javascript:myMusicWriteFile(1);"></td></tr><tr><td><a href=' + urlvar3[k].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><img src=' + photovar3[k].childNodes[0].nodeValue + ' id="music_img" border="0"></a></td></tr><tr><td style="position: relative; top: 10px;white-space:normal;"> ' + newsitemvar3[k].childNodes[0].nodeValue + '</td></tr></table></div>';
					}
					else
					{
			theDiv.innerHTML += '<div id="music_module_home" class="music_module_home" style="position: absolute; z-index: -1; height: 270px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">MUSIC</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">MUSIC</font></div></div><div id="music_module_home" class="music_module_home"><table><tr><td valign="top"><img src="global_images/top_module_graphic.gif" style="position: relative; top: -3px; z-index: 2; cursor:pointer; cursor:hand;" width="202px" valign="top" alt="Music" onClick="javascript:myMusicWriteFile(1);"></td></tr><tr><td><a href=' + urlvar3[k].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><img src=' + photovar3[k].childNodes[0].nodeValue + ' id="music_img" border="0"></a></td></tr><tr><td style="position: relative; top: 10px;white-space:normal; text-align: left;"> ' + newsitemvar3[k].childNodes[0].nodeValue + '</td></tr></table></div>';						
					}

				}
			  }
			
			loadXMLDoc('xml/casting.xml');
			var newsvar4=xmlDoc.getElementsByTagName('news');
			var urlvar4=xmlDoc.getElementsByTagName('url');
			var photovar4=xmlDoc.getElementsByTagName('photo');
			var newsitemvar4=xmlDoc.getElementsByTagName('newsitem');
			
			for (l=0;l<newsitemvar4.length;l++)
			  {
			  if (newsitemvar4[l].nodeType==1)
				{ 
					if(navigator.appName == 'Microsoft Internet Explorer')
					{
							var myIEverTemp = navigator.appVersion;
							var myIEver = myIEverTemp.charAt(22);
							/*alert(myIEver);*/
							if(myIEver == "7")
							{
					theDiv.innerHTML += '<div id="casting_module_home" class="casting_module_home" style="position: absolute; z-index: 1; height: 28px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">CASTING</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">CASTING</font></div></div><div id="casting_module_home" class="casting_module_home" style="color: #000000; background-image: url(global_images/real_world_home_gradient.jpg); height: 270px;"><table><tr><td valign="top"><img src="global_images/top_module_graphic.gif" style="position: relative; top: -3px; z-index: 2;" width="297px" height="28px"  valign="top" alt="Casting"></td></tr><tr><td align=center><a href=' + urlvar4[l].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><img src=' + photovar4[l].childNodes[0].nodeValue + ' height=200px width=290px border=0></a></td></tr></table></div>';
							}
							else
							{
					theDiv.innerHTML += '<div id="casting_module_home" class="casting_module_home" style="position: absolute; z-index: 1; height: 28px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">CASTING</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">CASTING</font></div></div><div id="casting_module_home" class="casting_module_home" style="color: #000000; background-image: url(global_images/real_world_home_gradient.jpg); height: 270px;"><table><tr><td valign="top"><img src="global_images/top_module_graphic.gif" style="position: relative; top: -3px; z-index: 2;" width="297px" height="28px"  valign="top" alt="Casting"></td></tr><tr><td align=center><a href=' + urlvar4[l].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><img src=' + photovar4[l].childNodes[0].nodeValue + ' height=200px width=290px border=0></a></td></tr></table></div>';
							}
					}
					else
					{
					theDiv.innerHTML += '<div id="casting_module_home" class="casting_module_home" style="position: absolute; z-index: 1; height: 28px; background-image: url(global_images/real_world_home_gradient.jpg);"><font style="color: #FFFFFF; font-size:12px; font-weight:bold;">CASTING</font><div style="position: relative; top: -12px; left: 1px; z-index: -1; height: 28px; background: transparent;"><font style="color: #000000; font-size:12px; font-weight:bold;">CASTING</font></div></div><div id="casting_module_home" class="casting_module_home" style="color: #000000; background-image: url(global_images/real_world_home_gradient.jpg); height: 270px;"><table><tr><td valign="top"><img src="global_images/top_module_graphic.gif" style="position: relative; top: -3px; z-index: 2;" width="297px" height="28px"  valign="top" alt="Casting"></td></tr><tr><td align=center><a href=' + urlvar4[l].childNodes[0].nodeValue + ' style="cursor:pointer; cursor:hand;"><img src=' + photovar4[l].childNodes[0].nodeValue + ' height=200px width=290px border=0></a></td></tr></table></div>';
					}
				}
			  }
			  myFooterFunction("home_footer");		
	}
	else
	{
		
	}
}