$(document).ready(function(){
						   
						   
	//preload images
	var strvar="";
	jQuery.preloadImages = function()
	{
	  for(var i = 0; i<arguments.length; i++)
	  {
		jQuery("<img>").attr("src", arguments[i]);
	  }
	}
	
	
	
	/* var str = "";
	$("ul.grow-menu li img").each(
		function(){
			str += '"' + $(this).attr("src") + '", ';
		}
	)
	str = str.substring(0, str.length - 2);
	$.preloadImages(str);
	
	//animate homepage menu
	$("ul.grow-menu li img").animate({height: 132, width: 132, left: 0, top: 0});
	$("ul.grow-menu li").hover(
		function()
		{
			strvar = $(this).children("a").children("img").attr("src");
			//$(this).children("a").children("img").attr("src", (strvar.substring(0,(strvar.length-4))+"over.png")).animate({height: 150, width: 150, left: -10, top: -10}, "fast");
			$(this).children("a").children("img").attr("src", ($(this).children("a").children("img").attr("rel"))).animate({height: 150, width: 150, left: -10, top: -10}, "fast");
		},
		function(){
			$(this).children("a").children("img").animate({height: 132, width: 132, left: 0, top: 0}, "fast").attr("src", strvar);
		}
	); */
});

