
var _spd=null,_zspd=null;function _moveIt(_eid,_way,_max){_element=_eid;_direction=_way;var _elem=document.getElementById(_eid);_maxrig=0;if(_max==undefined){_maxlef=-1200;}else{_maxlef=_max;}
if(_way=='right'&&parseInt(_elem.style.left)>_maxlef){_elem.style.left=parseInt(_elem.style.left)-20+'px';}else if(_way=='left'&&(parseInt(_elem.style.left)<_maxrig)){_elem.style.left=parseInt(_elem.style.left)+20+'px';}
if(_way=='left'&&(parseInt(_elem.style.left)<_maxrig)){_zspd=setTimeout("_moveIt(_element,_direction,_maxlef)",1);}
if(_way=='right'&&(parseInt(_elem.style.left)>_maxlef)){_spd=setTimeout("_moveIt(_element,_direction,_maxlef)",1);}}
function _stopIt(){if(_spd!=null){clearTimeout(_spd);}
if(_zspd!=null){clearTimeout(_zspd);}}

/***********************************************************************************************
	
	Copyright (c) 2005 - Alf Magne Kalleland post@dhtmlgoodies.com
	
	UPDATE LOG:
	
	March, 10th, 2006 : Added support for a message while large image is loading
	
	Get this and other scripts at www.dhtmlgoodies.com
	
	You can use this script freely as long as this copyright message is kept intact.
	
	***********************************************************************************************/ 
   	
	   	/***********************************************************************************************
	
	Copyright (c) 2005 - Alf Magne Kalleland post@dhtmlgoodies.com
	
	UPDATE LOG:
	
	March, 10th, 2006 : Added support for a message while large image is loading
	
	Get this and other scripts at www.dhtmlgoodies.com
	
	You can use this script freely as long as this copyright message is kept intact.
	
	***********************************************************************************************/ 

	var activeImage = false;
	var imageGalleryLeftPos = false;
	var imageGalleryWidth = false;
	var imageGalleryObj = false;
	var maxGalleryXPos = false;
	var slideSpeed = 0;
	var imageGalleryCaptions = new Array();
	
	function showImage()
	{
		if(activeImage){
			activeImage.style.filter = 'alpha(opacity=70)';	
			activeImage.style.opacity = 0.7;
		}	
		this.style.filter = 'alpha(opacity=100)';
		this.style.opacity = 1;	
		activeImage = this;	
	}
	
