// JavaScript Document

(function($){

	$(document).ready(function(){

		// set year in copyrights.
		$('#footer div.box03 address').html('COPYRIGHT&copy;1998-'+ (new Date().getFullYear() || '2010') +' HIRAMATSU INC. ALL RIGHTS RESERVED.');

		// popup (width: 550px)
		$("#header01 a.popup").click(function(i){
			this.src = window.open(this.href,'_blank','status=no, toolbar=no, location=no, menubar=no, scrollbars=yes, resizable=no, width=550');return false;
		});

		// popup (width: 750px)
		$("#header02 a.popup, #content a.popup, #sidebar a.popup").click(function(i){
			this.src = window.open(this.href,'_blank','status=no, toolbar=no, location=no, menubar=no, scrollbars=yes, resizable=no, width=750');return false;
		});

		// for ie6.
		if ($.browser.msie && (parseInt($.browser.version) < 7))
			$('html').css({filter: 'expression(document.execCommand("BackgroundImageCache", false, true))'});

	});

})(jQuery);

