window.onload = function(){

//メインバナー制御
document.getElementById("menu1").onmouseover = function(){
this.src = "images/profile1_2.gif";
}
document.getElementById("menu1").onmouseout = function(){
this.src = "images/profile1_1.gif";
}

document.getElementById("menu2").onmouseover = function(){
this.src = "images/photo1_2.gif";
}
document.getElementById("menu2").onmouseout = function(){
this.src = "images/photo1_1.gif";
}

document.getElementById("menu3").onmouseover = function(){
this.src = "images/project1_2.gif";
}
document.getElementById("menu3").onmouseout = function(){
this.src = "images/project1_1.gif";
}

document.getElementById("menu4").onmouseover = function(){
this.src = "images/blog1_2.gif";
}
document.getElementById("menu4").onmouseout = function(){
this.src = "images/blog1_1.gif";
}

document.getElementById("menu5").onmouseover = function(){
this.src = "images/link1_2.gif";
}
document.getElementById("menu5").onmouseout = function(){
this.src = "images/link1_1.gif";
}

document.getElementById("menu6").onmouseover = function(){
this.src = "images/pati1_2.gif";
}
document.getElementById("menu6").onmouseout = function(){
this.src = "images/pati1_1.gif";
}

document.getElementById("footer1").onmouseover = function(){
this.src = "images/home1_2.gif";
}
document.getElementById("footer1").onmouseout = function(){
this.src = "images/home1_1.gif";
}

document.getElementById("footer2").onmouseover = function(){
this.src = "images/sitemap1_2.gif";
}
document.getElementById("footer2").onmouseout = function(){
this.src = "images/sitemap1_1.gif";
}

document.getElementById("footer3").onmouseover = function(){
this.src = "images/mail1_2.gif";
}
document.getElementById("footer3").onmouseout = function(){
this.src = "images/mail1_1.gif";
}

}
