// JavaScript Document

(function($){

	$(document).ready(function(){
		
		/*
		$('html').ready(
			function(){
				
				var param01 = 0;

				var id = setInterval(
					function(){
						param01 = param01 + 0.01;
						$('html').css("-moz-transform","scale(" + param01 + ")");
						$('html').css("-webkit-transform","scale(" + param01 + ")");
						$('html').css("transform","scale(" + param01 + ")");
						$('body').css("zoom",param01);
						if ( param01 > 1 ){ clearInterval(id); };
					},100
				);
				
			}
		);
		*/

		$('#gnavi ul li a').hover(
			function(){
				$(this).children('img').stop();		
				$(this).children('img').animate({paddingTop: "0px"},150);
			},
			function(){
				$(this).children('img').stop();		
				$(this).children('img').animate({paddingTop: "40px"},150);
			}
		);

		// set year in copyrights.
		$('#footer .copy').html(' Copyright &copy; '+ (new Date().getFullYear() || '2009') +' Scigineer, Inc. All rights reserved.');
		
		// for ie6.
		if ($.browser.msie && (parseInt($.browser.version) < 7))
			$('html').css({filter: 'expression(document.execCommand("BackgroundImageCache", false, true))'});

	});

})(jQuery);

