// JavaScript Document

// slideshow2 stuff

function generalSlideshow(imagePath,imageData,divIdent,capON) {
	// note: beware object errors in IE (name conflicts, etc.)
window.addEvent('domready', function() {
								 
var myShow = new Slideshow(divIdent, imageData, {captions: capON, loop:false, resize:"length", center:true, controller:false, delay: 4000, duration: 1500, height: 328, overlap: false, hu: imagePath, thumbnails: true, width: 500  });

});

}


// , onEnd=function() {myShow.first();}

function homePhotos() {
	// home slideshow

window.addEvent('domready', function(){
									 
	      var data = {
	      'crosbiesteps.jpg': { caption: 'example 1' }, 
	      'louisgrass.jpg': { caption: 'example 2' }, 
	      'colport.jpg': { caption: 'example3' },
		  'dannyeye.jpg': { caption: 'example 1' },
		  'crosbiesteps.jpg': { caption: 'example 1' }
	    };
	
var myShow = new Slideshow('showhome', data, {loop:false, controller: false, delay: 6000, duration: 1500, height: 346, hu: 'gallerypublic/home', thumbnails: false, width: 528, loader:false});
	 
	 });


}










mc=new Array()
mc[0]='55276330625227592424595052345633573039';

function mc2(e) {
op='';chars='st2-n74opr.uyqz9m:0vwk_5x16hjab3igcdel8@f'; m='39525560243040';
inp=m+mc[e];for(i=0; i<inp.length; i+=2) {id=parseInt(inp.substr(i,2));op+=chars.charAt(id-23);}
window.location.href= op;
}