//jquery.rollover.js
var preLoadImg = new Object();

function initRollOvers(){
$("img.over").each(function(){
var imgSrc = this.src;
var sep = imgSrc.lastIndexOf('.');
var onSrc = imgSrc.substr(0, sep) + '_on' + imgSrc.substr(sep, 4);
preLoadImg[imgSrc] = new Image();
preLoadImg[imgSrc].src = onSrc;
$(this).hover(
function() { this.src = onSrc; },
function() { this.src = imgSrc; }
);
});
}
$(function(){
initRollOvers();
});

////外部リンク別ウインドウ
//$(document).ready( function () {
//$('a[@href^="http"]').not('[@href*="cms.localhost"]').click(function(){
//window.open(this.href, '');
//return false;});
//});


//スムーズスクロール
$(function () {
  if (! $.browser.safari) {
      $('#goTop').click(function () {
          $(this).blur();

          $('html,body').animate({ scrollTop: 0 }, 'slow');

          return false;
      });
  }
});




/*
 * jQuery Form Tips 1.2.1
 * By Manuel Boy (http://www.manuelboy.de)
 * Copyright (c) 2009 Manuel Boy
 * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
*/
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1.o.n=7(j){5=1.p({6:"q"},j);c 2.f(7(){1(2).f(7(){8 e=1(2);8 b=1(e).9(\'b\');a(b==\'m\'||b==\'l\'||b==\'u\'){c h}1(e).k(\'w\',7(){8 4=1(2).9(\'d\');a(1(2).3()==4){1(2).3(\'\').g(5.6)}c h});1(e).k(\'x\',7(){8 4=1(2).9(\'d\');a(1(2).3()==\'\'){1(2).3(4).i(5.6)}c h});8 4=1(e).9(\'d\');a(1(e).3()==\'\'||1(e).3()==1(2).9(\'d\')){1(e).3(4).i(5.6)}v{1(e).g(5.6)}});a(1(\'.\'+5.6,2).s>0){1(2).r(7(){1(\'.\'+5.6,2).f(7(){8 e=1(2);8 4=1(2).9(\'d\');a(1(e).3()==4){1(e).3(\'\').g(5.6)}});c t})}})};',34,34,'|jQuery|this|val|lv|settings|tippedClass|function|var|attr|if|type|return|title||each|removeClass|false|addClass|options|bind|checkbox|file|formtips|fn|extend|tipped|submit|length|true|radio|else|focus|blur'.split('|'),0,{}))



