// JavaScript Document var theDivs = new Array(						 "contact",						 "shows",						 "portfolio",						 "home"						 );// one line per div with a comma after each line but the last function showDiv(divID) {		 for( div_id in theDivs )		 document.getElementById(theDivs[div_id]).style.visibility = "hidden";		 document.getElementById(divID).style.visibility = "visible"; }function MM_preloaditem() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloaditem.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_goToURL() { //v3.0  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");}function MM_showHideLayers() { //v6.0  var i,p,v,obj,args=MM_showHideLayers.arguments;  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }    obj.visibility=v; }}function buttonOn(button){	if( button.className.indexOf("selected") == -1 )		button.className = button.className.replace(/_off/, "_on");}function buttonOff(button){	if( button.className.indexOf("selected") == -1 )		button.className = button.className.replace(/_on/, "_off");}function WM_preloadImages() {/*Source: Webmonkey Code Library(http://www.hotwired.com/webmonkey/javascript/code_library/)Author: Nadav SavioAuthor Email: nadav@wired.com*/  // Don't bother if there's no document.images  if (document.images) {    if (typeof(document.WM) == 'undefined'){      document.WM = new Object();    }    document.WM.loadedImages = new Array();    // Loop through all the arguments.    var argLength = WM_preloadImages.arguments.length;    for(arg=0;arg<argLength;arg++) {      // For each arg, create a new image.      document.WM.loadedImages[arg] = new Image();      // Then set the source of that image to the current argument.      document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];    }  }}function WM_imageSwap(daImage, daSrc){  var objStr,obj;    if(document.images){    // Check to see whether you are using a name, number, or object    if (typeof(daImage) == 'string') {      // This whole objStr nonesense is here solely to gain compatability      // with ie3 for the mac.      objStr = 'document.' + daImage;      obj = eval(objStr);      obj.src = daSrc;    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {      daImage.src = daSrc;    }  }}function MM_changeProp(objName,x,theProp,theValue) { //v6.0  var obj = MM_findObj(objName);  if (obj && (theProp.indexOf("style.")==-1 || obj.style)){    if (theValue == true || theValue == false)      eval("obj."+theProp+"="+theValue);    else eval("obj."+theProp+"='"+theValue+"'");  }}function MM_openBrWindow(theURL,winName,features) { //v2.0  window.open(theURL,winName,features);}
