// JavaScript Document


function PopupPic(imagePath) 
{ 
  window.open("/imagePopup.jsp?imagePath=" + imagePath,"","width=100,height=100,resizable,scrollbars=no,status=0");
}                                            


function createFlashControl(divId, width, height, title, movie)
{
  var d = document.getElementById(divId);
  d.innerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + 
                '        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"' +
                '        width="' + width + '"' +
                '        height="' + height + '">' +
                '  <param name="movie" value="' + movie + '">' +
                '  <param name="quality" value="high">' +
                '  <param name="wmode" value="transparent">' +
	      '  <embed src="' + movie + '"' + 
                '         quality="high"' + 
                '         pluginspage="http://www.macromedia.com/go/getflashplayer"' +
                '         type="application/x-shockwave-flash"' +
                '         width="' + width + '"' +
                '         height="' + height + '"' +
                '         wmode="transparent">' +
                '</embed></object>';
}


function jumpMenu(targ, selObj, restore)
{ //v3.0
  eval(targ + ".location='" + selObj.options[selObj.selectedIndex].value + "'");
  if (restore)
	  selObj.selectedIndex = 0;
}