// start rollover script

// This preloads your images.  Just increase the image number by one for each successive image

/*
if (document.images) {
    var images = ['home', 'harm', 'string', 'tan', 'elect', 'drums', 'flute', 'music', 'about', 'contact', 'string_me', 'drums_me', 'shrutibox', 'sitars', 'paulco', 'tablas'];
    for (var i = 0; i < images.length; i++) {
        var img = new Image();
        img.src = images[i] + '_on.gif';
        img = new Image();
        img.src = images[i] + '_off.gif';
    }
}*/

//this is the swap function

function changeImages() {

  if (document.images) {

    for (var i=0; i<changeImages.arguments.length; i+=2) {

      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");

    }

  }

}

