/**
 * @Name     
 * @Desc    サイト全般に使用
 * @Author  Y.Okuyama[inexio]
 * @Date    2010/02/15 10:12
**/

function sourceReplace()
{  
  if(document.getElementsByTagName)
  {
    var images = document.getElementsByTagName("img");
    for(var i=0; i < images.length; i++)
    {
      if(images[i].getAttribute("src").match("_off."))
      {
        images[i].onmouseover = function()
        {
          this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on."));
        }
        images[i].onmouseout = function()
        {
          this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off."));  
        }
      }
    }
  }
}



if(window.addEventListener)
{
  window.addEventListener("load", sourceReplace, false);
}
else if(window.attachEvent)
{
  window.attachEvent("onload", sourceReplace);
}



function googleMapsIsawa()
{
    document.write("<p class=\"noPar\"><iframe width=\"640\" height=\"350\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"http://maps.google.co.jp/maps?f=q&amp;hl=ja&amp;geocode=&amp;q=%E5%B0%8F%E9%87%8E%E7%9F%B3%E6%9D%90%E5%BA%97%E3%80%80%E7%9F%B3%E5%92%8C%E5%B1%95%E7%A4%BA%E5%A0%B4&amp;sll=35.661899,138.599224&amp;sspn=0.035007,0.070038&amp;ie=UTF8&amp;hq=%E5%B0%8F%E9%87%8E%E7%9F%B3%E6%9D%90%E5%BA%97%E3%80%80%E7%9F%B3%E5%92%8C%E5%B1%95%E7%A4%BA%E5%A0%B4&amp;hnear=&amp;ll=35.652662,138.625143&amp;spn=0.106417,0.222988&amp;z=13&amp;iwloc=A&amp;brcurrent=3,0x601bf850977851a9:0xc276c11755ca7309,0&amp;cid=7514378320065120742&amp;output=embed\"></iframe></p>");
    document.write("<p class=\"alRight small\"><a href=\"http://maps.google.co.jp/maps?f=q&amp;hl=ja&amp;geocode=&amp;q=%E5%B0%8F%E9%87%8E%E7%9F%B3%E6%9D%90%E5%BA%97%E3%80%80%E7%9F%B3%E5%92%8C%E5%B1%95%E7%A4%BA%E5%A0%B4&amp;sll=35.661899,138.599224&amp;sspn=0.035007,0.070038&amp;ie=UTF8&amp;hq=%E5%B0%8F%E9%87%8E%E7%9F%B3%E6%9D%90%E5%BA%97%E3%80%80%E7%9F%B3%E5%92%8C%E5%B1%95%E7%A4%BA%E5%A0%B4&amp;hnear=&amp;ll=35.632662,138.615143&amp;spn=0.106417,0.222988&amp;z=13&amp;iwloc=A&amp;brcurrent=3,0x601bf850977851a9:0xc276c11755ca7309,0&amp;cid=7514378320065120742&amp;source=embed\" class=\"otherLink\">大きな地図で見る</a></p>");
}

