$(function(){

/*
	$(".section").wrapInner('<div class="sectionwrap"></div>');
	$(".section .blockA").wrap('<div class="blockAwrap"></div>');

*/
// rollover
	var aPreLoad = new Object();
	$("img.imgover, .btn input, .btn a img, .bnr a img, .totop a img, #gNav a img")
	.not("[src*='_crt.'], [src*='_ov.'], .current img").each(function(i) {
		var tsrc = this.src;
		var ftype = this.src.lastIndexOf('.');
		var hsrc = this.src.substr(0, ftype) + '_ov' + this.src.substr(ftype, 4);
		aPreLoad[this.src] = new Image(); aPreLoad[this.src].src = hsrc;
		$(this).hover( function() { this.src = hsrc; }, function() { this.src = tsrc; });
	});

});

