<!--Preload rollover images-->

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //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_preloadImages.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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

<!-- Flash script -->

function printFlash(source, width, height, id, bg_color) {
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" ');
document.write('width="'+width+'" height="'+height+'" id="'+id+'" align="middle" />');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="'+source+'" />');
document.write('<param name="menu" value="false" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="bgcolor" value="'+bg_color+'" />');
document.write('<param name="WMODE" value="transparent">');
document.write('<embed src="'+source+'" menu="false" quality="high" bgcolor="'+bg_color+'" width="'+width+'" height="'+height+'" name="'+id+'" align="middle" ');
document.write('allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent"/>');
document.write('</object>');
}




<!-- Form script -->
function MM_validateForm() { //v4.0
  if (document.getElementById){
    var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
    for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
      if (val) { nm=val.name; if ((val=val.value)!="") {
        if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
          if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
        } else if (test!='R') { num = parseFloat(val);
          if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
          if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
            min=test.substring(8,p); max=test.substring(p+1);
            if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
      } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
    } if (errors) alert('The following error(s) occurred:\n'+errors);
    document.MM_returnValue = (errors == '');
} }


<!--Show/Hide Script-->
function showHide(obj) {
	var el = document.getElementById(obj);
	if ( el.className != 'show' ) {
		el.className = 'show';
	}
	else {
		el.className = 'hide';
	}
}

function closeWindow(obj) {
	var el = document.getElementById(obj);
	el.className = 'hide'
}


<!--Show/Hide Menu Script-->
function showMenu( strID ) {
	document.getElementById('menu-01').className = ( (strID=="01") ? 'show' : 'hide');
		document.getElementById('menu-link-01').className = ( (strID=="01") ? 'on' : '');

	document.getElementById('menu-02').className = ( (strID=="02") ? 'show' : 'hide');
		document.getElementById('menu-link-02').className = ( (strID=="02") ? 'on' : '');

	document.getElementById('menu-03').className = ( (strID=="03") ? 'show' : 'hide');
		document.getElementById('menu-link-03').className = ( (strID=="03") ? 'on' : '');

}


<!--Show/Hide Photo Script-->
function showPhoto( strID ) {
	document.getElementById('photo-01').className = ( (strID=="01") ? 'show' : 'hide');
		document.getElementById('photo-link-01').className = ( (strID=="01") ? 'on' : '');

	document.getElementById('photo-02').className = ( (strID=="02") ? 'show' : 'hide');
		document.getElementById('photo-link-02').className = ( (strID=="02") ? 'on' : '');

	document.getElementById('photo-03').className = ( (strID=="03") ? 'show' : 'hide');
		document.getElementById('photo-link-03').className = ( (strID=="03") ? 'on' : '');
		
	document.getElementById('photo-04').className = ( (strID=="04") ? 'show' : 'hide');
		document.getElementById('photo-link-04').className = ( (strID=="04") ? 'on' : '');
		
	document.getElementById('photo-05').className = ( (strID=="05") ? 'show' : 'hide');
		document.getElementById('photo-link-05').className = ( (strID=="05") ? 'on' : '');
		
	document.getElementById('photo-06').className = ( (strID=="06") ? 'show' : 'hide');
		document.getElementById('photo-link-06').className = ( (strID=="06") ? 'on' : '');
		
	document.getElementById('photo-07').className = ( (strID=="07") ? 'show' : 'hide');
		document.getElementById('photo-link-07').className = ( (strID=="07") ? 'on' : '');
		
	document.getElementById('photo-08').className = ( (strID=="08") ? 'show' : 'hide');
		document.getElementById('photo-link-08').className = ( (strID=="08") ? 'on' : '');
		
	document.getElementById('photo-09').className = ( (strID=="09") ? 'show' : 'hide');
		document.getElementById('photo-link-09').className = ( (strID=="09") ? 'on' : '');
		
	document.getElementById('photo-10').className = ( (strID=="10") ? 'show' : 'hide');
		document.getElementById('photo-link-10').className = ( (strID=="10") ? 'on' : '');
		
	document.getElementById('photo-11').className = ( (strID=="11") ? 'show' : 'hide');
		document.getElementById('photo-link-11').className = ( (strID=="11") ? 'on' : '');
		
	document.getElementById('photo-12').className = ( (strID=="12") ? 'show' : 'hide');
		document.getElementById('photo-link-12').className = ( (strID=="12") ? 'on' : '');
		
	document.getElementById('photo-13').className = ( (strID=="13") ? 'show' : 'hide');
		document.getElementById('photo-link-13').className = ( (strID=="13") ? 'on' : '');
		
	document.getElementById('photo-14').className = ( (strID=="14") ? 'show' : 'hide');
		document.getElementById('photo-link-14').className = ( (strID=="14") ? 'on' : '');
		
	document.getElementById('photo-15').className = ( (strID=="15") ? 'show' : 'hide');
		document.getElementById('photo-link-15').className = ( (strID=="15") ? 'on' : '');
		
	document.getElementById('photo-16').className = ( (strID=="16") ? 'show' : 'hide');
		document.getElementById('photo-link-16').className = ( (strID=="16") ? 'on' : '');
		
	document.getElementById('photo-17').className = ( (strID=="17") ? 'show' : 'hide');
		document.getElementById('photo-link-17').className = ( (strID=="17") ? 'on' : '');
		
	document.getElementById('photo-18').className = ( (strID=="18") ? 'show' : 'hide');
		document.getElementById('photo-link-18').className = ( (strID=="18") ? 'on' : '');
		
	document.getElementById('photo-19').className = ( (strID=="19") ? 'show' : 'hide');
		document.getElementById('photo-link-19').className = ( (strID=="19") ? 'on' : '');
		
	document.getElementById('photo-20').className = ( (strID=="20") ? 'show' : 'hide');
		document.getElementById('photo-link-20').className = ( (strID=="20") ? 'on' : '');
		
	document.getElementById('photo-21').className = ( (strID=="21") ? 'show' : 'hide');
		document.getElementById('photo-link-21').className = ( (strID=="21") ? 'on' : '');
		
	document.getElementById('photo-22').className = ( (strID=="22") ? 'show' : 'hide');
		document.getElementById('photo-link-22').className = ( (strID=="22") ? 'on' : '');
		
	document.getElementById('photo-23').className = ( (strID=="23") ? 'show' : 'hide');
		document.getElementById('photo-link-23').className = ( (strID=="23") ? 'on' : '');
		
	document.getElementById('photo-24').className = ( (strID=="24") ? 'show' : 'hide');
		document.getElementById('photo-link-24').className = ( (strID=="24") ? 'on' : '');

	document.getElementById('photo-25').className = ( (strID=="25") ? 'show' : 'hide');
		document.getElementById('photo-link-25').className = ( (strID=="25") ? 'on' : '');
		
	document.getElementById('photo-26').className = ( (strID=="26") ? 'show' : 'hide');
		document.getElementById('photo-link-26').className = ( (strID=="26") ? 'on' : '');
		
	document.getElementById('photo-27').className = ( (strID=="27") ? 'show' : 'hide');
		document.getElementById('photo-link-27').className = ( (strID=="27") ? 'on' : '');
		
	document.getElementById('photo-28').className = ( (strID=="28") ? 'show' : 'hide');
		document.getElementById('photo-link-28').className = ( (strID=="28") ? 'on' : '');
		
	document.getElementById('photo-29').className = ( (strID=="29") ? 'show' : 'hide');
		document.getElementById('photo-link-29').className = ( (strID=="29") ? 'on' : '');
		
	document.getElementById('photo-30').className = ( (strID=="30") ? 'show' : 'hide');
		document.getElementById('photo-link-30').className = ( (strID=="30") ? 'on' : '');
}



