// JavaScript Document
function LoadGallery(pictureName,imageFile)
{
  if (document.all)
  {
    document.getElementById(pictureName).style.filter="blendTrans(duration=1)";
    document.getElementById(pictureName).filters.blendTrans.Apply();
  }
  document.getElementById(pictureName).src = imageFile;
  if (document.all)
  {
    document.getElementById(pictureName).filters.blendTrans.Play();
  }
}
function setSelected()
{
  aObj = document.getElementById('leftSide').getElementsByTagName('a');
  for(i=0;i<aObj.length;i++) { 
    if(document.location.href.indexOf(aObj[i].href)>=0) {
      aObj[i].className='active';
    }
  }
  if (document.getElementById('quicklinks') !== null) {
   aObj = document.getElementById('quicklinks').getElementsByTagName('a');
   for(i=0;i<aObj.length;i++) { 
     if(document.location.href.indexOf(aObj[i].href)>=0) {
       aObj[i].className='selected';
     }
   }
 }
}
window.onload = setSelected;
function openWindow2(url) 
{popupWin = window.open(url, 'remote',
'menubar=no, toolbar=no, location=no, directories=no, status=no, scrollbars=yes, resizable=no, dependent, width=735, height=575, left=50, top=50')
}
