

//<!-- No Spam Email
	function noSpam(user,domain) {
	locationstring = "mailto:" + user + "@" + domain;
	window.location = locationstring; }
//-->




//<!-- Control Font Sizes
var min=8;
var max=18;
function increaseFontSize() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"
   }
}
function decreaseFontSize() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px"
   }   
}
//-->






// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 6300

// Duration of crossfade (seconds)
var crossFadeDuration = 12

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/    '
Pic[1] = 'images/    '


var j1 = 0

var preLoad = new Array()
for (i = 0; i < Pic.length; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}

function runSlideShow(){
   if (document.all){
      document.images.picture1.style.filter="blendTrans(duration=2)"
      document.images.picture1.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.picture1.filters.blendTrans.Apply()      
   }
   document.images.picture1.src = preLoad[j1].src
   if (document.all){
      document.images.picture1.filters.blendTrans.Play()
   }
   j1 = j1 + 1
   if (j1 > (Pic.length-1)) j1=0
   setTimeout('runSlideShow()', slideShowSpeed)
}








//<!-- Photo Gallery

function showPic (whichpic) { 
	if (document.getElementById) { 
		document.getElementById('placeholder').src = whichpic.href; 
		if (whichpic.title) { 
			document.getElementById('caption').childNodes[0].nodeValue = whichpic.title; 
		} else { 
			document.getElementById('caption').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue; 
		} 
		return false; 
	} else { 
		return true; 
	} 
}
//-->


