// JavaScript Document

// GoogleAnalytics
var gaJsHost = (
	("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")
);
try {
	var pageTracker = _gat._getTracker("UA-12914713-1");
	pageTracker._trackPageview();
} catch(err) {}

(function($){

	$(document).ready(function(){

		// set year in copyrights.
		$('#footer .copy').html('Copyright '+ (new Date().getFullYear() || '2009') +' Refinverse Inc. All rights reserved.');
		
		$('.image_area ul li').animate({opacity:0.6},0).hover(
			 function (){ $(this).stop().animate({opacity:1.0},200)},
			 function (){ $(this).stop().animate({opacity:0.6},600)}
		);
		
		$(".map_print").click(
			function(){ 
			print();return false;
		});
	
		$(".close_button").click(
			function(){ 
			window.close();return false;
		});
	
		$("a.map_image").click(
			function(){ 
			window.open(this.href,'_blank',' status=no, toolbar=no, location=no, menubar=no, scrollbars=yes, resizable=no, height=650, width=540');return false;
		});
	
		// for ie6.
		if ($.browser.msie && (parseInt($.browser.version) < 7))
			$('html').css({filter: 'expression(document.execCommand("BackgroundImageCache", false, true))'});

	});

})(jQuery);



