$(document).ready(function(){
	$("img").hover(
		function(event){
			if (this.id){
				this.src = "img/" + this.id + "_on.jpg";
			}
		}, 
		function(event){
			if(this.id){
				this.src = "img/" + this.id + "_off.jpg";
			}
		}
	);
});
				function moveLeft(k, max){
					//alert((parseInt(document.getElementById("vm" + k).style.marginLeft) / 500));
					if ((parseInt(document.getElementById("vm" + k).style.marginLeft) / 500) <= max){
						$("#vm" + k).animate({marginLeft: '-=500'}, 1000, function() { return 1; });
					}
				}
				function moveRight(k){
					//alert((parseInt(document.getElementById("vm" + k).style.marginLeft) / 500));
					if ((parseInt(document.getElementById("vm" + k).style.marginLeft) / 500) < 0){
						$("#vm" + k).animate({marginLeft: '+=500'}, 1000, function() { return 1; });
					}

				}

