﻿$(document).ready(function() {


	jQuery.fn.exists = function() { return jQuery(this).length>0; }


	// Focus border remove

			$("a").focus(function() {
				$(this).blur();
			});
		


	// Remove in last
	
			$("#menu-info a:last").css({ borderRight: "0" });
			
			if($("#storeLocator").exists()) {
				$("#storeLocator .col:last").css({ paddingRight: "0" });
				$("#storeLocator .col2:last").css({ paddingRight: "0" });
			}
			
	
	
	// Fancybox

			if($("#products").exists()) {
				$("#products a").fancybox({
					'titlePosition'	: 'inside'
				});

			}


	// Cufon
	
			if($("h1").exists()) {
				Cufon.replace('h1');
			}
			
			if($("h2").exists()) {
				Cufon.replace('h2');
			}


});


