
////////////////////////////////////////////////////////////
//Copyright: Sandip Debnath (sandipdebnath@hotmail.com). 
//You have to keep this notice to use it, and can not 
//change anything below this line.
////////////////////////////////////////////////////////////



function OnOffDir(dx)
{
 d1.className='al_toff';
 d2.className='al_toff';
 d3.className='al_toff';
 d4.className='al_toff';
 d5.className='al_toff';
 d6.className='al_toff';
 d7.className='al_toff';

 dx.className='al_ton';
}

///////////////////////////////////////////////////////////
function Show(what)
{

 var httpRequest = false;
 var url = 'http://www.uttoron.org/www/u_eve/DP/DP_' + what + '.html';

 src="<br><br><font color=red>It may take some time to load the information. <br><br>If you do not see the "+ what +" information here immediately, please click the tab again. </font><br><br>";

 if (window.XMLHttpRequest) // if Mozilla, Safari etc
 httpRequest = new XMLHttpRequest()
 else if (window.ActiveXObject)
 { // if IE
  try 
  {
   httpRequest = new ActiveXObject("Msxml2.XMLHTTP")
  } 
  catch (e)
  {
   try
   {
    httpRequest = new ActiveXObject("Microsoft.XMLHTTP")
   }
   catch (e){}
  }
 }
 else
 return false
 
 httpRequest.onreadystatechange=function()
 {
  if (httpRequest.readyState == 4 && (httpRequest.status==200 || window.location.href.indexOf("http")==-1))
   src =  httpRequest.responseText;
 }
 httpRequest.open('GET', url, true)
 httpRequest.send(null)

 if (document.all||document.getElementById)
 {
  album.innerHTML = src;
 }
 else if (document.layers)
 {
  document.albu.document.write(src);
  document.albu.document.close();
 }

}


///////////////////////////////////////////////////
function ShowI(what)
{
 var ie=document.all
 var dom=document.getElementById


 if (ie||dom)
 {
  var iframeobj= document.getElementById? document.getElementById("DP") : document.all.DP
  iframeobj.src= 'http://www.uttoron.org/www/u_eve/DP/DP_' + what + '.html';
 }
}














