$(function() {
if ($.browser.msie) {
if ($.browser.version < 9) {
$("div#footer div.return ul li:last-child").addClass('last_child');
}
}
});
/* rollover */
$ (function () {
$ ("img.rollover").each (function () {
$ ("").attr ("src", this.src.replace (/\.([^.]+)$/, "_hover." + "$1")).appendTo ("body").hide ();
});
$ ("a:has(img.rollover)").hover (function () {
$ ("img.rollover:not([src*='_hover.'])", this).each (function () {
this.src = this.src.replace (/\.([^.]+)$/, "_hover." + "$1");
});
}, function () {
$ ("img.rollover", this).each (function () {
this.src = this.src.replace (/_hover\.([^.]+)$/, "." + "$1");
});
});
$ ("input.rollover").each (function () {
$ ("").attr ("src", this.src.replace (/\.([^.]+)$/, "_hover." + "$1")).appendTo ("body").hide ();
$ (this).hover (function () {
this.src = this.src.replace (/\.([^.]+)$/, "_hover." + "$1");
}, function () {
this.src = this.src.replace (/_hover\.([^.]+)$/, "." + "$1");
});
});
});