var dogmoving = false;

function moveDog(id) {
	dogmoving = true;
	moveRight(id, 5, 43, 250);
}

function moveRight(id, steps, distance, period) {
	if (!dogmoving) return;
	steps--;
	document.getElementById(id).style.left = 95 + (distance * (5-steps)) + "px";
	if (steps > 0)
		setTimeout("moveRight('" + id + "'," + steps + "," + distance + "," + period + ")", period);
}
function moveBack(id) {
	dogmoving = false;
	document.getElementById(id).style.left = "95px";
}

/*
$("#animation-trigger").mouseenter(function(){
  $("#dog").animate({"left": "+=290px"}, "slow");
});
$("#animation-trigger").mouseenter(function(){
  $("#dog").animate({"left": "-=290px"}, "slow");
});
*/

$(document).ready(function() {
	$('#plc_lt_zoneSearch_SearchBox_txtWord').watermark('Search...', {className: 'test'});
});



