//var CACHE="//d157qyyx0pvnad.cloudfront.net";
var CACHE="";

jQuery(document).ready(function() {
	var images = [
	    '/images/validator/black_arrow2.png',
	    '/images/validator/cross.png',
	    '/images/validator/tick.png'
	    ];

        $(".nav_button").hover(

                function() {
                        this.src = this.src.replace("-0","-1");
			if ($.browser.msie  && parseInt($.browser.version) < 8) return;
                        $(this).effect("shake", { times:1,distance:5 }, 300);

                },
                function() {
                        this.src = this.src.replace("-1","-0");
                }
        );

 
	jQuery.each(images, function(i) {
		$.cacheImage(CACHE+images[i]);
		});    
});

