/*!
 * Namme.fr JavaScript Library v1.0.0
 * for my brother Martin
 * http://eatstars.com/
 *
 * Copyright 1999-2011, Tom Neijman
 * Email tom AT neijman.net
 * USTN.nl
 * Date: Ma Jun 26 07:00:00 2010
 */
var intTimer;
 
var ustn = {
	// Start the script, called on pageload
	init: function() {
		//$('a.tips').cluetip();
		$('a.jt').click(function(event) {
			event.preventDefault();
		});
		

		$('a.jt').cluetip({
		  cluetipClass: 'jtip', 
		  arrows: true, 
		  dropShadow: false,
		  hoverIntent: false,
		  sticky: true,
		  mouseOutClose: true,
		  closePosition: 'title',
		  closeText: '<img src="/images/slute.png" alt="close" />'
		});

		$("#ice-left").hover(
			function () {
				$(this).attr("src", "/images/but-ice-left-a.png");
			},
			function () {
				$(this).attr("src", "/images/but-ice-left-i.png");
			}
		);
		$("#ice-right").hover(
			function () {
				$(this).attr("src", "/images/but-ice-right-a.png");
			},
			function () {
				$(this).attr("src", "/images/but-ice-right-i.png");
			}
		);
		$("#stamp").hover(
			function () {
				$(this).attr("src", "/images.local/but-stamp-a.png");
			},
			function () {
				$(this).attr("src", "/images.local/but-stamp-i.png");
			}
		);
		$("#stamp-namme").hover(
			function () {
				$(this).attr("src", "/images.local/but-stamp-namme-a.png");
			},
			function () {
				$(this).attr("src", "/images.local/but-stamp-namme-i.png");
			}
		);
		$("#save").hover(
			function () {
				$(this).attr("src", "/images/but-save-a.png");
			},
			function () {
				$(this).attr("src", "/images/but-save.png");
			}
		);
		$("#cancel").hover(
			function () {
				$(this).attr("src", "/images/but-cancel-a.png");
			},
			function () {
				$(this).attr("src", "/images/but-cancel.png");
			}
		);
		$("#goleft").hover(
			function () {
				$(this).attr("src", "/images/left-a.png");
			},
			function () {
				$(this).attr("src", "/images/left-i.png");
			}
		);
		$("#goright").hover(
			function () {
				$(this).attr("src", "/images/right-a.png");
			},
			function () {
				$(this).attr("src", "/images/right-i.png");
			}
		);
	}
}

 
$(function() {
	ustn.init();
});


