			var imageIdGlobal = "";
      var currentactive = "0";
			var animrunning = false;
			var latestmouseover = '';
      function homeSwapImg(imageId){
				latestmouseover = imageId;
				if (animrunning == false){
					imageIdGlobal = imageId;
					if (imageId != currentactive){
						var animfrom = ((parseFloat(currentactive * 950)*-1));
						var animto =  ((parseFloat(imageId * 950)*-1));
						styleAnimEase('swapimageholder','left',animfrom,animto,0.35,50,'animationfinished()')
						$('info'+currentactive).style.display = 'none';
						currentactive = imageId;
					}
				}
      }
			
			function showInfo(){
				 $('info'+currentactive).style.display = 'none';
				 $('info'+imageIdGlobal).style.display = 'block';
			}
			
			function hideInfo(){
				 $('info'+imageIdGlobal).style.display = 'none';
			}
			
			function isEmpty(v) {
				if (v == undefined) { return true; }
				if (v == null) { return true; }
				if (v == "") { return true; }
				return false;
			}
			
			var curs  = new Array();
			function styleAnimEase(iid,sy,start,end,pct,speed,onCompleteAction) {
				if (curs[iid] != 'inanim') {
					animrunning = true;
					curs[iid] = 'inanim';
					var mv = (end-start);
					var k=0;
					var remain = mv;
					while ( Math.abs(remain) > 1 ) {
						remain = remain - (remain * pct);
						var nxt = (end-remain);
						setTimeout("if($('"+iid+"')) { $('"+iid+"').style."+sy+"='"+Math.round(nxt)+"px' }",(k+2)*speed);
						k++;
					}
					setTimeout("if($('"+iid+"')) { $('"+iid+"').style."+sy+"='"+end+"px' }",(k+2)*speed);
					setTimeout("curs['"+iid+"']='ready'",(k+2)*speed);
					if (!isEmpty(onCompleteAction)) {
						setTimeout(onCompleteAction,(k+2)*speed);
					}
					return true;
				}
				else {
					return false;
				}
			}
			
			function animationfinished() {
				animrunning = false;
				homeSwapImg(latestmouseover);
			}