var fileLocation = "http://www.bmaindia.com/"
//var fileLocation = "file:///D:/prem/Projects/Ongoing%20Projects/BMA/BMA-New/"
;
function showSWF(n)
{
	var DivLink = new Array();
	var DivLinkBold = new Array();
	DivLink[0] = '<a href="javascript:showSWF(0)" class="virtualTourMenu">01. Class Room</a>';
	DivLinkBold[0] = '<a href="javascript:showSWF(0)" class="virtualTourMenuSelected">01. Class Room</a>';
	DivLink[1] = '<a href="javascript:showSWF(1)" class="virtualTourMenu">02. Computer Labs</a>';
	DivLinkBold[1] = '<a href="javascript:showSWF(1)" class="virtualTourMenuSelected">02. Computer Labs</a>';
	DivLink[2] = '<a href="javascript:showSWF(2)" class="virtualTourMenu">03. Library</a>';
	DivLinkBold[2] = '<a href="javascript:showSWF(2)" class="virtualTourMenuSelected">03. Library</a>';
	DivLink[3] = '<a href="javascript:showSWF(3)" class="virtualTourMenu">04. Cafeteria</a>';
	DivLinkBold[3] = '<a href="javascript:showSWF(3)" class="virtualTourMenuSelected" onclick="showSWF(0)">04. Cafeteria</a>';
	DivLink[4] = '<a href="javascript:showSWF(4)" class="virtualTourMenu">05. Accommodation</a>';
	DivLinkBold[4] = '<a href="javascript:showSWF(4)" class="virtualTourMenuSelected">05. Accommodation</a>';
	DivLink[5] = '<a href="javascript:showSWF(5)" class="virtualTourMenu">06. Campus</a>';
	DivLinkBold[5] = '<a href="javascript:showSWF(5)" class="virtualTourMenuSelected">06. Campus</a>';

ContainerText = '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>';
	ContainerText = ContainerText + '<td width="15" align="left" valign="top">&nbsp;</td><td height="40" align="right" valign="top"><strong><a href="javascript:HideDiv()" class="footerLinks footerLinksBold">Close <span class="rename">X</span></a></strong> &nbsp;&nbsp;&nbsp;&nbsp;</td></tr>';
	for (i=0;i<6;i++)
	{
		ContainerText = ContainerText + '<tr><td width="15" height="20" align="center" valign="middle">&nbsp;</td><td height="20" align="left" valign="top">';
		if(i==n)
		{
			document.getElementById('spanDivEmbed'+i).style.display='';
			ContainerText = ContainerText + DivLinkBold[i];
		}
		else
		{	
			document.getElementById('spanDivEmbed'+i).style.display='none';
			ContainerText = ContainerText + DivLink[i];
		}
		ContainerText = ContainerText + '</td></tr>';
	}
	ContainerText = ContainerText + '<tr><td align="left" valign="top">&nbsp;</td><td height="50" align="left" valign="top">&nbsp;</td></tr>';
	ContainerText = ContainerText + '</table>';
	document.getElementById("PanoContainer").innerHTML=ContainerText;
}


document.write('<div align="center" style="width:100%; display:none; position:absolute; background-color:#332e56; height:100%; top:0px; left:0px; z-index:100;" id="VirtualTourSessionPage" class="translucent" onclick="HideDiv()"></div>');
document.write('<div id="VirtualTourSession" style="width:703px; border:0px; height:377px; z-index:100; display:none; position:absolute;">');
document.write('<div style="width:703px; height:369px; background:url(' + fileLocation + 'images/ajaxBG.gif) bottom repeat-x;">');
document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td width="8" align="left" valign="top"><img src="' + fileLocation + 'images/ajaxBorderLT.gif" width="8" height="8"></td>');
document.write('<td align="left" valign="top" bgcolor="#FFFFFF"></td>');
document.write('<td align="left" valign="top" bgcolor="#FFFFFF"></td>');
document.write('<td align="left" valign="top" bgcolor="#FFFFFF"></td>');
document.write('<td width="8" align="left" valign="top"><img src="' + fileLocation + 'images/ajaxBorderRT.gif" width="8" height="8"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" valign="top" bgcolor="#FFFFFF">&nbsp;</td>');
document.write('<td width="14" height="18" align="left" valign="top" bgcolor="#FFFFFF">&nbsp;</td>');
document.write('<td align="left" valign="top" bgcolor="#FFFFFF">&nbsp;</td>');
document.write('<td width="14" align="left" valign="top" bgcolor="#FFFFFF">&nbsp;</td>');
document.write('<td align="left" valign="top" bgcolor="#FFFFFF">&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" valign="top">&nbsp;</td>');
document.write('<td height="324" align="left" valign="top">&nbsp;</td>');
document.write('<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td width="431" align="left" valign="top">');
document.write('<div id="spanDivEmbed0" style="display:\'none\'"><script type="text/javascript">');
document.write('AC_FL_RunContent( \'codebase\',\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\',\'width\',\'433\',\'height\',\'324\',\'src\',\'' + fileLocation + 'video-files/ClassroomNormal\',\'quality\',\'high\',\'pluginspage\',\'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\',\'movie\',\'' + fileLocation + 'video-files/ClassroomNormal\' ); ');//end AC code
document.write('</script>');
document.write('<noscript>');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="433" height="324">');
document.write('<param name="movie" value="' + fileLocation + 'video-files/ClassroomNormal.swf">');
document.write('<param name="quality" value="high">');
document.write('<embed src="' + fileLocation + 'video-files/ClassroomNormal.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="433" height="324"></embed>');
document.write('</object>');
document.write('</noscript></div>');
document.write('<div id="spanDivEmbed1" style="display:none">');
document.write('<script type="text/javascript">');
document.write('AC_FL_RunContent( \'codebase\',\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\',\'width\',\'433\',\'height\',\'324\',\'src\',\'' + fileLocation + 'video-files/Compter Labs\',\'quality\',\'high\',\'pluginspage\',\'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\',\'movie\',\'' + fileLocation + 'video-files/Compter Labs\' ); ');//end AC code
document.write('</script>');
document.write('<noscript>');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="433" height="324">');
document.write('<param name="movie" value="' + fileLocation + 'video-files/Compter Labs.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<embed src="' + fileLocation + 'video-files/Compter Labs.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="433" height="324"></embed>');
document.write('</object>');
document.write('</noscript>');
document.write('</div>');
document.write('<div id="spanDivEmbed2" style="display:none">');
document.write('<script type="text/javascript">');
document.write('AC_FL_RunContent( \'codebase\',\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\',\'width\',\'433\',\'height\',\'324\',\'src\',\'' + fileLocation + 'video-files/Library Internal\',\'quality\',\'high\',\'pluginspage\',\'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\',\'movie\',\'' + fileLocation + 'video-files/Library Internal\' );'); //end AC code
document.write('</script>');
document.write('<noscript>');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="433" height="324">');
document.write('<param name="movie" value="' + fileLocation + 'video-files/Library Internal.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<embed src="' + fileLocation + 'video-files/Library Internal.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="433" height="324"></embed>');
document.write('</object>');
document.write('</noscript>');
document.write('</div>');
document.write('<div id="spanDivEmbed3" style="display:none">');
document.write('<script type="text/javascript">');
document.write('AC_FL_RunContent( \'codebase\',\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\',\'width\',\'433\',\'height\',\'324\',\'src\',\'' + fileLocation + 'video-files/Cafeteria\',\'quality\',\'high\',\'pluginspage\',\'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\',\'movie\',\'' + fileLocation + 'video-files/Cafeteria\' ); ');//end AC code
document.write('</script>');
document.write('<noscript>');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="433" height="324">');
document.write('<param name="movie" value="' + fileLocation + 'video-files/Cafeteria.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<embed src="' + fileLocation + 'video-files/Cafeteria.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="433" height="324"></embed>');
document.write('</object>');
document.write('</noscript>');
document.write('</div>');
document.write('<div id="spanDivEmbed4" style="display:none">');
document.write('<script type="text/javascript">');
document.write('AC_FL_RunContent( \'codebase\',\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\',\'width\',\'433\',\'height\',\'324\',\'src\',\'' + fileLocation + 'video-files/Students Room\',\'quality\',\'high\',\'pluginspage\',\'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\',\'movie\',\'' + fileLocation + 'video-files/Students Room\' );'); //end AC code
document.write('</script>');
document.write('<noscript>');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="433" height="324">');
document.write('<param name="movie" value="' + fileLocation + 'video-files/Students Room.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<embed src="' + fileLocation + 'video-files/Students Room.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="433" height="324"></embed>');
document.write('</object>');
document.write('</noscript>');
document.write('</div>');
document.write('<div id="spanDivEmbed5" style="display:none">');
document.write('<script type="text/javascript">');
document.write('AC_FL_RunContent( \'codebase\',\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\',\'width\',\'433\',\'height\',\'324\',\'src\',\'' + fileLocation + 'video-files/BMA_Building\',\'quality\',\'high\',\'pluginspage\',\'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\',\'movie\',\'' + fileLocation + 'video-files/BMA_Building\' ); ');//end AC code
document.write('</script>');
document.write('<noscript>');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="433" height="324">');
document.write('<param name="movie" value="' + fileLocation + 'video-files/BMA_Building.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<embed src="' + fileLocation + 'video-files/BMA_Building.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="433" height="324"></embed>');
document.write('</object>');
document.write('</noscript>');
document.write('</div>            </td>');
document.write('<td width="18" align="left" valign="top">&nbsp;</td>');
document.write('<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td height="206" align="left" valign="top"><div align="justify" id="PanoContainer"></div></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" valign="top"><a href="' + fileLocation + 'virtual-tours.html" class="virtualTourMenu" style="color:#c80000;">View All Virtual Tours</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" valign="top" class="footerLinks">Click on picture and use mouse to rotate 360. Use mouse wheel to zoom in/out </td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td height="45" align="left" valign="bottom" class="footerLinks"><img src="' + fileLocation + 'images/virtualTours.gif" alt="Virtual Tours" width="158" height="26"></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('<td align="left" valign="top">&nbsp;</td>');
document.write('<td align="left" valign="top">&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td height="18" align="left" valign="top">&nbsp;</td>');
document.write('<td align="left" valign="top">&nbsp;</td>');
document.write('<td align="left" valign="top">&nbsp;</td>');
document.write('<td align="left" valign="top">&nbsp;</td>');
document.write('<td align="left" valign="top">&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" valign="bottom"><img src="' + fileLocation + 'images/ajaxBorderLB.gif" width="8" height="8"></td>');
document.write('<td align="left" valign="bottom" style="background:url(' + fileLocation + 'images/ajaxBG.gif) bottom repeat-x;"></td>');
document.write('<td align="left" valign="bottom" style="background:url(' + fileLocation + 'images/ajaxBG.gif) bottom repeat-x;"></td>');
document.write('<td align="left" valign="bottom" style="background:url(' + fileLocation + 'images/ajaxBG.gif) bottom repeat-x;"></td>');
document.write('<td align="left" valign="bottom"><img src="' + fileLocation + 'images/ajaxBorderRB.gif" width="8" height="8"></td>');
document.write('</tr>');
document.write('</table>');
document.write('</div>');
document.write('</div>');
