/*
Alyance
*/
$(document).ready(function() {
$("#contact").hide(); //hide onload

	$(".contact").click(function () {
		$("#contact").slideToggle("slow");
	});
});




function rollOver() {
var img = document.getElementsByTagName("img");
  for(i=0;i<img.length;i++) {
    if(img[i].src.match(/nav_/i)) {
      img[i].onmouseover = function() {
        this.src = this.src.replace("_off.png","_on.png");
      }
      img[i].onmouseout = function() {
        this.src = this.src.replace("_on.png","_off.png");
      }
    }
  }
}

window.onload=function() {
	rollOver();
}




document.write("<img src='images/nav_news_on.png' style='display: none;' />");
document.write("<img src='images/nav_band_on.png' style='display: none;' />");
document.write("<img src='images/nav_music_on.png' style='display: none;' />");
document.write("<img src='images/nav_photos_on.png' style='display: none;' />");
document.write("<img src='images/nav_contact_on.png' style='display: none;' />");
document.write("<img src='images/nav_news_off_active.png' style='display: none;' />");
document.write("<img src='images/nav_band_off_active.png' style='display: none;' />");
document.write("<img src='images/nav_music_off_active.png' style='display: none;' />");
document.write("<img src='images/nav_photos_off_active.png' style='display: none;' />");
document.write("<img src='images/nav_contact_off_active.png' style='display: none;' />");

