function PlayMiteyMiteVideo() {
   playingVideo = true;
   var myDiv = document.getElementById("highlightVideo");
   myDiv.innterHTML = "";
   myDiv.innerHTML = '<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"' +
      ' codebase="http://www.apple.com/qtactivex/qtplugin.cab";' +
      ' height="260"' + 
      ' width="320">' +
      ' <param name="src" value="/smpw/miteymite/MiteyMite2007.mov">' + 
      ' <param name="autoplay" value="true">' +
      ' <param name="controller" value="true">' +
      ' <param name="loop" value="false">' +
      ' <param name="type" value="video/quicktime" >' +
      ' <param name="target" value="myself" >' +
      ' <embed height="260"' +  
      ' pluginspage="http://www.apple.com/quicktime/download/"' +
      ' src="/smpw/miteymite/MiteyMite2007.mov"' +
      ' type="video/quicktime"' +
      ' width="320"' + 
      ' autoplay=true' + 
      ' controller=true' +
      ' loop=false' +
      ' target="myself">' +
      ' </object>';

}

/* This set of functions is needed for drop-down menus in Internet Explorer */
function getElementsByClassName(clsName) { 
	var arr = new Array(); 
	var elems = document.getElementsByTagName("*");
	for ( var cls, i = 0; ( elem = elems[i] ); i++ ) {
	    if ( elem.className == clsName ) {
		arr[arr.length] = elem;
	    }
	}
	return arr;
}

sfHover1 = function() {
   var sfEls = getElementsByClassName("dropdown1");
   for (var i=0; i<sfEls.length; i++) {
      sfEls[i].onmouseover=function() {
         this.className+=" sfhover1";
      }
      sfEls[i].onmouseout=function() {
         this.className=this.className.replace(new RegExp(" sfhover1\\b"), "");
	  }
   }
}

sfHover2 = function() {
   var sfEls = getElementsByClassName("dropdown2");
   for (var i=0; i<sfEls.length; i++) {
      sfEls[i].onmouseover=function() {
         this.className+=" sfhover2";
      }
      sfEls[i].onmouseout=function() {
         this.className=this.className.replace(new RegExp(" sfhover2\\b"), "");
	  }
   }
}

if (window.attachEvent) window.attachEvent("onload", sfHover1);
if (window.attachEvent) window.attachEvent("onload", sfHover2);

