try {
  document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}




function openBrWindow(theURL,winName,features) { //v2.0
  window.open('http://www.newton.vc/takken_check/index.html','','status=yes,scrollbars=yes,resizable=yes,width=600,height=400');
}



jQuery(document).ready(function() {
	jQuery('a[href*=#]').click(function() {
		if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
			var target = jQuery(this.hash);
			target = target.length && target;
			if (target.length) {
				var sclpos = 30;
				var scldurat = 1500;
				var targetOffset = target.offset().top - sclpos;
				jQuery('html,body')
					.animate({scrollTop: targetOffset}, {duration: scldurat, easing: "easeOutExpo"});
				return false;
			}
		}
	});
});







(function($) {
	$.fn.rollover = function(postfix) {
		postfix = (postfix != null) ? postfix : '_f2';
		return this.not('[src*="'+ postfix +'."]').each(function() {
			var img = $(this);
			var src = img.attr('src');
			var src_on = src.substr(0, src.lastIndexOf('.'))
			           + postfix
			           + src.substring(src.lastIndexOf('.'));
					  

						
			jQuery('<img>').attr('src', src_on);
			img.hover(
			
				function() {
					img.attr('src', src_on);
				},
				
				function() {
					img.attr('src', src);
				}
			);
		});
	};
})(jQuery);


jQuery(document).ready(function($) {
   // <img>

	
	jQuery('ul#gnav li a img,ul#hnav li a img,p#h-main-btn a img,p.btn a img,p#snav-search a img,div#pagetop a img,ul#snav li a img,div.pagetop-qa img,p#search-btn img,div.btnarea img,div.src-tabbox div.btnarea p a img').rollover();

 });


