           //<!--
           //<![CDATA[
		   
           function switchPicture(photoID) {
               // Hide current picture
			   //object = document.getElementById('imageblock' + lastphotoID);
			   //object.style.display = 'none';
               
               // Show next picture, if last, loop back to front
			   
				object = document.getElementById('imageblock' + photoID);
				object.style.display = 'block';
				Element.hide('photo' + photoID);
			   //fade in effect 
			   new Effect.Appear(('photo' + photoID), {duration: 1});
			   //fade out effect
			   // setTimeout("new Effect.Fade(('photo' + current), {duration: .5});",3000);
			   // setTimeout("switchPicture()",4000);
			   lastphotoID = photoID
           }
			function imageFade(fadeTarget) {
				object = document.getElementById(fadeTarget);
				object.style.display = 'none';
				//Effect.Fade(fadeTarget);
				new Effect.Appear(fadeTarget, {duration: 1});
			}
			function ktFlash(flashTarget) {
				new Effect.Pulsate(('thumb' + flashTarget), { pulses: 1, duration: 0.25, from: 0.5 });
			}
			function ktFlash2(flashTarget) {
				new Effect.Pulsate(flashTarget, { pulses: 2, duration: 0.5, from: 0.2 });
			}
           
		   var newwindow;
function poptastic(url)
{
	newwindow=window.open(url,'name','height=400,width=500');
	if (window.focus) {newwindow.focus()}
}

           //]]>
           // -->
