// JavaScript Document
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

// flash

function RunTimeline()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="899" height="229">\n');
document.write('<param name="wmode" value="transparent">');
document.write('<param name="movie" value="/flash/couran-timeline.swf">\n');
document.write('<param name="quality" value="high">\n');
document.write('<embed src="/flash/couran-timeline.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="899" height="229"></embed>\n');
document.write('</object>\n');
}

function RunMap()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="899" height="700">\n');
document.write('<param name="wmode" value="transparent">');
document.write('<param name="movie" value="/flash/map.swf">\n');
document.write('<param name="quality" value="high">\n');
document.write('<embed src="/flash/map.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="899" height="700"  wmode="transparent"></embed>\n');
document.write('</object>\n');
}

function RunExpLeft()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="236" height="414">\n');
document.write('<param name="wmode" value="transparent">');
document.write('<param name="movie" value="/flash/exp-left.swf">\n');
document.write('<param name="quality" value="high">\n');
document.write('<embed src="/flash/exp-left.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="236" height="414" wmode="transparent"></embed>\n');
document.write('</object>\n');
}

function RunExpRight()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="220" height="414">\n');
document.write('<param name="wmode" value="transparent">');
document.write('<param name="movie" value="/flash/exp-right.swf">\n');
document.write('<param name="quality" value="high">\n');
document.write('<embed src="/flash/exp-right.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="220" height="414" wmode="transparent"></embed>\n');
document.write('</object>\n');
}

function RunKoala()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="800" height="550">\n');
document.write('<param name="wmode" value="transparent">');
document.write('<param name="movie" value="/flash/koala.swf">\n');
document.write('<param name="quality" value="high">\n');
document.write('<embed src="/flash/koala.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="550" wmode="transparent"></embed>\n');
document.write('</object>\n');
}



// ie drop down menu fix

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}

sfHover2 = function() {
	var sfEls2 = document.getElementById("experiences-menu").getElementsByTagName("LI");
	for (var i=0; i<sfEls2.length; i++) {
		sfEls2[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls2[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent){
	window.attachEvent("onload", tempFunc);
}

function tempFunc(){
	sfHover();
	sfHover2();
}

//jump menu

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}