function initImages(){
	
		var img = document.images;
		var i=0;
		var IE = document.all?true:false
		var lastThumb;
		
		while (i < img.length){
			switch (img[i].id){
				case "thumb":
					img[i].thumb = img[i].alt;
					img[i].alt="";
					if (lastThumb){
						img[i].prevLoad = lastThumb;
						lastThumb.nextLoad = img[i];
						lastThumb.onload = function() {this.nextLoad.src = this.nextLoad.thumb;}
					}
					lastThumb = img[i];
					break;
				case "roll":
				case "mnu":
					
					img[i].out = img[i].src;
					if (!IE || !img[i].filters.blendTrans){
						img[i].onmouseover= function() { this.src= this.out.replace('_a','_b');}
						img[i].onmouseout= function() { this.src= this.out;}
					} else {
						img[i].onmouseover = function(){
							this.filters.blendTrans.stop()
							this.filters.blendTrans.apply();
							this.src=this.out.replace('_a','_b');
							this.filters.blendTrans.play();}
						img[i].onmouseout = function(){
							this.filters.blendTrans.stop()
							this.filters.blendTrans.apply();						
							this.src=this.out;
							this.filters.blendTrans.play();}
					}
					preloadImage(img[i].out.replace('_a','_b'));
					break;
				case "png":
					if (IE) {
						img[i].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + img[i].src + "',sizingMethod='scale')"
						img[i].src="images/spacer.gif"
					}
					break;
			}
			i++
		}
	
}

function preloadImage(imgpath){
	var pic1 = new Image(100,25); 
	pic1.src= imgpath; 
}