<!-- Hide from old browsers

var debugWindow;
var debugging=0;

// Browser sensing

var isNS=0;
var isIE=0;
var isNewEnough=0;
var seqNum=0;
var docObj;
var styleObj;
var availableWidth;
var availableHeight;


// For news flashes
var NewsFlashFlag = 0;

// Determine the browser name and version

var browserName=navigator.appName;

var browserVerStr=navigator.appVersion;

var browserVerInt=parseInt(navigator.appVersion);

var browserVerStr2="test";



//document.writeln('checking browser<br>');

if (browserName=="Netscape") {

  isNS=1;

  if (browserVerInt>=4) {

    isNewEnough=1;

  }

}

if (browserName=="Microsoft Internet Explorer"){

  isIE=1;

  if (browserVerInt>=4) {

    isNewEnough=1;

  }

}



docObj= (isNS) ? 'document' : 'document.all';

styleObj= (isNS) ? '' : '.style';



if (isNewEnough && isIE) {

  var i=browserVerStr.indexOf("MSIE ");

  if (i>=0) {

    browserVerStr2=browserVerStr.substr(i+5);

  }

  else {

    browserVerStr2=browserVerStr;

  }

  var intA=parseFloat(browserVerStr2);

  if (intA<4.01) {

    isNewEnough=0;

  }

}

if (isNewEnough && isNS) {

  browserVerStr2=browserVerStr;

  var intA=parseFloat(browserVerStr2);

  if (intA<4.7) {

    isNewEnough=0;

  }

}



function setWidthHeight() {

  if (isNS) {

    availableWidth=window.innerWidth;

    availableHeight=window.innerHeight;

  }

  if (isIE) {

    availableWidth=document.body.clientWidth;

    availableHeight=document.body.clientHeight;

  }

}

function initSetUp() {
  setWidthHeight();
}


// NewsFlash()
function DoNewsFlash()
{
  var x = document.getElementById("NewsFlash");	
  if (x)
  {
    if (NewsFlashFlag == 0)
    {
      x.style.color = "#ba3845";
      NewsFlashFlag = 1;
    }
    else
    {
      x.style.color = "#8a6f1c";
      NewsFlashFlag = 0;
    }
  }
}

// NewsFlashSetup() 
function NewsFlashSetup() {

  // Start the timer for the news flash
  setInterval("DoNewsFlash()", 1000); // milliseconds

}

// 
// Display a sub-window
//
// Arguments:
//    winPath     pathname of document to display in sub-window
//    winWidth    width, in pixels, of sub-window
//    winHeight   height, in pixels, of sub-window
//     
function popupSubWindow(winPath, winWidth, winHeight) {
  var subWinWidth=winWidth;
  var subWinHeight=winHeight;
  var subWinX, subWinY, subWinFeatures, dir, subWinPath;

  subWinPath=winPath;

  if (subWinWidth>availableWidth)
    subWinWidth = availableWidth;

  if (subWinHeight>availableHeight)
    subWinHeight = availableHeight;

  //alert(subWinPath);
  // hack for pathname that contains single quotes
  if (subWinPath=="RelixJingle")
    subWinPath="http://www.relix.com/Features/Interviews/Bela_Fleck_'Jingles_All_the_Way'_In_a_Classic_Holiday_Album_200811263453.html";

  subWinX=(availableWidth - subWinWidth)/2;
  subWinY=(availableHeight - subWinHeight)/2 + 100;
  subWinFeatures="width=" + subWinWidth + "," +
                 "height=" + subWinHeight + "," +
                 "left=" + subWinX + "," +
                 "top=" + subWinY + "," +
                 "screenX=" + subWinX + "," +
                 "screenY=" + subWinY + "," +
                 "resizable,scrollbars,status,menubar,toolbar,location";


  var w=window.open(subWinPath, // URL
                    "",
                    subWinFeatures); // features
}

function isMobile()
{
  // For blackberry, do the same check substituting blackberry for iphone
  var agent=navigator.userAgent.toLowerCase();
  if (agent.indexOf('iphone')!=-1)
  	return true;
  if (agent.indexOf('android')!=-1)
  	return true;
  if (agent.indexOf('blackberry')!=-1)
  	return true;
  return false;
}

// 
// Display a sub-window for regular browsers or go directly to a URL for iPhones
// This is for the music links.
//
// Arguments:
//    winPath     pathname of document to display in sub-window
//    winWidth    width, in pixels, of sub-window
//    winHeight   height, in pixels, of sub-window
//    iPhoneURL   URL of document for iPhones
//     
function popupSubWindow2(winPath, winWidth, winHeight, iPhoneURL) {
  if (isMobile())
  {
    location = iPhoneURL;
  }
  else
  {
    var subWinWidth=winWidth;
    var subWinHeight=winHeight;
    var subWinX, subWinY, subWinFeatures, dir, subWinPath;

    subWinPath=winPath;

    if (subWinWidth>availableWidth)
      subWinWidth = availableWidth;

    if (subWinHeight>availableHeight)
      subWinHeight = availableHeight;

    subWinX=(availableWidth - subWinWidth)/2;
    subWinY=(availableHeight - subWinHeight)/2 + 100;
    subWinFeatures="width=" + subWinWidth + "," +
                   "height=" + subWinHeight + "," +
                   "left=" + subWinX + "," +
                   "top=" + subWinY + "," +
                   "screenX=" + subWinX + "," +
                   "screenY=" + subWinY + "," +
                   "resizable,scrollbars,status,menubar,toolbar,location";

    var w=window.open(subWinPath, // URL
                      "",
                      subWinFeatures); // features
  }
}  

// Do Nothing

function doNothing() {

}


function SQ() {

}
// Change the graphic of a button

function graphicChange(elementName, graphicName)
{
	var obtn = document.getElementById(elementName);
	obtn.src = graphicName;	
}

// Show the specified track list, hide the others
//
// Arguments:
//   num   track list number to show
//
function showTrackList(num) {
  var x, y, z, i;

  for (i=1; i<100; i++) {
    cdID="CD" + i;
    tlID="TL" + i;
    alID="Album" + i;
    x = document.getElementById(cdID); // CD title
    y = document.getElementById(tlID); // Track list
    z = document.getElementById(alID); // Album cover
    if (x) {
      if (i == num) {
        x.style.background="#e9efe5";
        if (y)
          y.style.visibility="visible";
        if (z)
          z.style.visibility="visible";
      }
      else {
        x.style.background="#fef7c7";
        if (y)
          y.style.visibility = "hidden";
        if (z)
          z.style.visibility = "hidden";
	   }
    }
  }
}


// Show the specified newsletter, hide the others
//
// Arguments:
//   num   newsletter number to show
//
function showNewsletter(num) {
  var x, y, i;

  for (i=1; i<10; i++) {
    dtID="DT" + i;
    nlID="NL" + i;
    x = document.getElementById(dtID); // Date
    y = document.getElementById(nlID); // Newsletter text
    if (x) {
      if (i == num) {
        x.style.background="#e9f0e3";
        if (y)
          y.style.visibility="visible";
      }
      else {
        x.style.background = "#fef7c7";
        if (y)
          y.style.visibility = "hidden";
	   }
    }
  }
}

// Show the specified newsletter tab, hide the others
//
// Arguments:
//   num   newsletter number to show
//
function showNewsletterTab(num) {
  var x, i;

  for (i=1; i<100; i++) {
    nlID="NL" + i;
    x = document.getElementById(nlID); // Newsletter text
    if (x) {
      if (i == num) {
        x.style.visibility="visible";
      }
      else {
        x.style.visibility = "hidden";
	   }
    }
  }
}


// Show the specified element
//
// Arguments:
//   elem   element name
//
function showElement(elem) {
  var x;

  x = document.getElementById(elem); // element
  if (x) {
    x.style.visibility="visible";
  }
}


// Hide the specified element
//
// Arguments:
//   elem   element name
//
function hideElement(elem) {
  var x;

  x = document.getElementById(elem); // element
  if (x) {
    x.style.visibility="hidden";
  }
}


// Change the text color of an element
//
// Arguments:
//
// elem   ID of element
// color  new color
//
function changeColor(elem, color) {
  var el=document.getElementById(elem);
  el.style.color=color;
}

// Change the background color of an element
//
// Arguments:
//
// elem   ID of element
// color  new color
//
function changeBackground(elem, color) {
  var el=document.getElementById(elem);
  el.style.background=color;
}

// Tandem change: graphic of an element and
//    text color of another element
//
// Arguments:
//
// elemG     ID of graphic element
// graphic   name of new graphic
// elemT     ID of text element
// color     new color
//
function tandemGT(elemG, graphic, elemT, color) {
	var elG = document.getElementById(elemG);
	elG.src = graphic;	
   var elT=document.getElementById(elemT);
   elT.style.color=color;
}


// Video
//
// Loads the video in the local flash player for desktop browsers, but
// embeds the corresponding YouTube video for iPhones.
//
// Arguments:
//
// elem    ID of element that will contain video
// width   width of player
// height  height of player
// fname   file name of local video file
// youtube YouTube URL of video -- use the URL from YouTube's "embed" link
//
function Video(elem, width, height, fname, youtube)
{
  var el = document.getElementById(elem);
 if (isMobile())
  {
    el.innerHTML = "<object width='"+width+"' height='"+height+"'><param name='movie' value='"+youtube+"&amp;hl=en;&amp;fs=1&amp;rel=0&amp;showinfo=0'></param><param name='allowFullScreen' value='true'></param><param name='allowscriptaccess' value='always'></param><embed src='"+youtube+"&amp;hl=en;&amp;fs=1&amp;rel=0&amp;showinfo=0' type='application/x-shockwave-flash' allowscriptaccess='always' allowfullscreen='true' width='"+width+"' height='"+height+"'></embed></object>";
  }
  else
  {
    el.innerHTML = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+width+"' height='"+height+"' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='player.swf' /><param name='FlashVars' value='flvURL="+fname+"&amp;ControlPanelColor=0x000000&amp;buttonColor=0xc0c0c0&amp;ControlPanelPosition=0&amp;showControlPanel=1&amp;ShowtimeColor=0xc0c0c0&amp;bAutoPlay=0&amp;bAutoRepeat=0&amp;BufferTime=5&amp;tmeColor=0x970061&amp;loaColor=0xc0c0c0&amp;GroundColor=0x000000&amp;conNum=4&amp;bShowtime=1&amp;startvolume=50' /><param name='quality' value='high' /><param name='bgcolor' value='#000000' /><param name='scale' value='noscale' /><param name='salign' value='lt' /><embed src='player.swf' width='"+width+"' height='"+height+"' align='middle' quality='high' bgcolor='#000000' scale='noscale' salign='lt' FlashVars='flvURL="+fname+"&amp;ControlPanelColor=0x000000&amp;buttonColor=0xc0c0c0&amp;ControlPanelPosition=0&amp;showControlPanel=1&amp;ShowtimeColor=0xc0c0c0&amp;bAutoPlay=0&amp;bAutoRepeat=0&amp;BufferTime=5&amp;tmeColor=0x970061&amp;loaColor=0xc0c0c0&amp;GroundColor=0x000000&amp;conNum=4&amp;bShowtime=1&amp;startvolume=50' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>";
  }
}

// VideoLocal
//
// Loads the video in the local player for desktop browsers, but
// creates a standard link to 3GP/M4V/MOV video for iPhones.
//
// Arguments:
//
// elem    ID of element that will contain video
// width   width of player
// height  height of player
// fname   file name of local FLV video file (for Flash player)
// mname   file name of local 3GP/M4V/MOV video file (for iPhone)
// iname   image file name (for iPhone)
//
function VideoLocal(elem, width, height, fname, mname, iname)
{
  var el = document.getElementById(elem);
  if (isMobile())
  {
    el.innerHTML = "<p style='text-align: center; margin-top:0px; margin-bottom:0px;'><a href='"+mname+"'><img src='"+iname+"' alt='video link' style='border: none;' /></a>.</p>";
  }
  else
  {
    el.innerHTML = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+width+"' height='"+height+"' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='player.swf' /><param name='FlashVars' value='flvURL="+fname+"&amp;ControlPanelColor=0x000000&amp;buttonColor=0xc0c0c0&amp;ControlPanelPosition=0&amp;showControlPanel=1&amp;ShowtimeColor=0xc0c0c0&amp;bAutoPlay=0&amp;bAutoRepeat=0&amp;BufferTime=5&amp;tmeColor=0x970061&amp;loaColor=0xc0c0c0&amp;GroundColor=0x000000&amp;conNum=4&amp;bShowtime=1&amp;startvolume=50' /><param name='quality' value='high' /><param name='bgcolor' value='#000000' /><param name='scale' value='noscale' /><param name='salign' value='lt' /><embed src='player.swf' width='"+width+"' height='"+height+"' align='middle' quality='high' bgcolor='#000000' scale='noscale' salign='lt' FlashVars='flvURL="+fname+"&amp;ControlPanelColor=0x000000&amp;buttonColor=0xc0c0c0&amp;ControlPanelPosition=0&amp;showControlPanel=1&amp;ShowtimeColor=0xc0c0c0&amp;bAutoPlay=0&amp;bAutoRepeat=0&amp;BufferTime=5&amp;tmeColor=0x970061&amp;loaColor=0xc0c0c0&amp;GroundColor=0x000000&amp;conNum=4&amp;bShowtime=1&amp;startvolume=50' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>";
  }
}

// VideoLocal2
//
// Loads the video in the local player and auto plays it for desktop browsers, but
// goes directly to a URL for iPhones
//
// Arguments:
//
// elem    ID of element that will contain video
// width   width of player
// height  height of player
// fname   file name of local FLV video file (for Flash player)
// mname   file name of local 3GP/M4V/MOV video file (for iPhone)
//
function VideoLocal2(elem, width, height, fname, mname)
{
  var el = document.getElementById(elem);
  if (isMobile())
  {
    location = mname;
  }
  else
  {
    el.innerHTML = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+width+"' height='"+height+"' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='player.swf' /><param name='FlashVars' value='flvURL="+fname+"&amp;ControlPanelColor=0x000000&amp;buttonColor=0xc0c0c0&amp;ControlPanelPosition=0&amp;showControlPanel=1&amp;ShowtimeColor=0xc0c0c0&amp;bAutoPlay=1&amp;bAutoRepeat=0&amp;BufferTime=5&amp;tmeColor=0x970061&amp;loaColor=0xc0c0c0&amp;GroundColor=0x000000&amp;conNum=4&amp;bShowtime=1&amp;startvolume=50' /><param name='quality' value='high' /><param name='bgcolor' value='#000000' /><param name='scale' value='noscale' /><param name='salign' value='lt' /><embed src='player.swf' width='"+width+"' height='"+height+"' align='middle' quality='high' bgcolor='#000000' scale='noscale' salign='lt' FlashVars='flvURL="+fname+"&amp;ControlPanelColor=0x000000&amp;buttonColor=0xc0c0c0&amp;ControlPanelPosition=0&amp;showControlPanel=1&amp;ShowtimeColor=0xc0c0c0&amp;bAutoPlay=1&amp;bAutoRepeat=0&amp;BufferTime=5&amp;tmeColor=0x970061&amp;loaColor=0xc0c0c0&amp;GroundColor=0x000000&amp;conNum=4&amp;bShowtime=1&amp;startvolume=50' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>";
  }
}


////////////////////////
// VideoYouTube
//
// Embeds a YouTube video
//
// Arguments:
//
// elem    ID of element that will contain video
// width   width of player
// height  height of player
// youtube YouTube URL of video -- use the URL from YouTube's "embed" link
//
function VideoYouTube(elem, width, height, youtube)
{
  var el = document.getElementById(elem);
  el.innerHTML = "<object width='"+width+"' height='"+height+"'><param name='movie' value='"+youtube+"&amp;hl=en;&amp;fs=1&amp;rel=0&amp;showinfo=0'></param><param name='allowFullScreen' value='true'></param><param name='allowscriptaccess' value='always'></param><embed src='"+youtube+"&amp;hl=en;&amp;fs=1&amp;rel=0&amp;showinfo=0' type='application/x-shockwave-flash' allowscriptaccess='always' allowfullscreen='true' width='"+width+"' height='"+height+"'></embed></object>";
}
////////////////////////


// AudioLocal2
//
// Loads the audio player and auto plays it for desktop browsers, but
// goes directly to a URL for iPhones
//
// Arguments:
//
// elem    ID of element that will contain audio player
// fname   audio file name
//
function AudioLocal2(elem, fname)
{
   //var x = "AudioLocal2 " + elem + " " + fname;
   //alert(x);
  if (isMobile())
  {
    location = fname;
  }
  else
  {
   var so = new SWFObject("playerSingle.swf", "mymovie", "192", "67", "7", "#FFFFFF");
   so.addVariable("autoPlay", "yes");
   so.addVariable("soundPath", fname);
   so.addVariable("overColor","#000391")
   so.addVariable("playerSkin","1")
   so.write(elem);
  }
}




// AudioPlayerLink
//
// Arguments:
//
// elem    ID of element that will contain the free flash video coding player
// width   width of player
// height  height of player
// fname   file name of local video file
//
function AudioPlayerLink(elem, width, height, fname)
{
  var el = document.getElementById(elem);
  if (!isMobile())
  {
    el.innerHTML = "<embed src='http://freevideocoding.com/flvplayer.swf?file=http://alashensemble.com/" + fname + "&amp;autoStart=true' width='" + width + "' height='" + height + "' quality='high' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed> ";
  }
}

// AudioPlayerLinkNoAuto
//
// Arguments:
//
// elem    ID of element that will contain the free flash video coding player
// width   width of player
// height  height of player
// fname   file name of local video file
//
function AudioPlayerLinkNoAuto(elem, width, height, fname)
{
  var el = document.getElementById(elem);
  if (!isMobile())
  {
    el.innerHTML = "<embed src='http://freevideocoding.com/flvplayer.swf?file=http://alashensemble.com/" + fname + "&amp;autoStart=false' width='" + width + "' height='" + height + "' quality='high' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed> ";
  }
}


/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;


// 
// GallerySubNavs
//
// Secondary navigation for Picture Gallery
//
// Arguments:
//
//   gdivID   division into which to write the Gallery sub navs
//
function GallerySubNavs(gdivID)
{
  var el = document.getElementById(gdivID);
  var SubNavString = ""; 
  
  // 2010
  SubNavString += NavImgLinkString('photo_gallery.htm', 'SNImg2010', '2010', 'PhotoGallery/2010-A.png', 'PhotoGallery/2010-B.png', '46', '16', '0', '20'); 
  //alert(SubNavString);
  
  // 2009
  SubNavString += NavImgLinkString('photo_gallery_2009_Collins.htm', 'SNImg2009', '2009', 'PhotoGallery/2009-A.png', 'PhotoGallery/2009-B.png', '46', '16', '0', '20'); 

  // 2008
  SubNavString += NavImgLinkString('photo_gallery_2008.htm', 'SNImg2008', '2008', 'PhotoGallery/2008-A.png', 'PhotoGallery/2008-B.png', '46', '16', '0', '20');
  //alert(SubNavString);

  // 2007
  SubNavString += NavImgLinkString('photo_gallery_2007.htm', 'SNImg2007', '2007', 'PhotoGallery/2007-A.png', 'PhotoGallery/2007-B.png', '46', '16', '0', '20');

  // 2006
  SubNavString += NavImgLinkString('photo_gallery_2006_travel.htm', 'SNImg2006', '2006', 'PhotoGallery/2006-A.png', 'PhotoGallery/2006-B.png', '46', '16', '0', '20');

  // 2003 - 2004
  SubNavString += NavImgLinkString('photo_gallery_2003_2004.htm', 'SNImg2003', '2003-2004', 'PhotoGallery/2003-2004-A.png', 'PhotoGallery/2003-2004-B.png', '84', '16', '0', '20');

  // Fan photos
  SubNavString += NavImgLinkString('photo_gallery_flickr.htm', 'SNImgFan', 'FanPhotos', 'PhotoGallery/FanPhotos-A.png', 'PhotoGallery/FanPhotos-B.png', '90', '16', '0', '0');

  el.innerHTML = SubNavString;
}

// NagImgLinkString
function NavImgLinkString(linkTarget, imgID, imgAlt, imgSrc1, imgSrc2, imgWidth, imgHeight, imgPadLeft, imgPadRight)
{
  var dq = "\"";
  var s = 
    "<a href='" + linkTarget + "'>" +
    "<img id='" + imgID + "' alt='" + imgAlt + "'" +
    " src='" + imgSrc1 + "' style=" + dq +"border: none; " +
    "width: " + imgWidth + "px; height: " + imgHeight + "px;" + 
    "padding-left: " + imgPadLeft + "px;  padding-right: " + imgPadRight + "px;" + dq +
    "onmouseover=" + dq + 
      "JavaScript:graphicChange('" + imgID + "', '" + imgSrc2 + "');" + dq + " " +
    "onmouseout=" + dq +
      "JavaScript:graphicChange('" + imgID + "', '" + imgSrc1 + "');" + dq + " /></a>";
      
  return s;
}

// stop hiding from old browsers --> 



