
var img = new Array();
//preload images
function preload_img(){
	for (x=0; x<preload_img.arguments.length; x++){
	img[x] = new Image();
	img[x].src = preload_img.arguments[x];
	}
}
//slide show
function show(id) {
					document.getElementById(id).style.visibility = "visible";
}

function hide_delay(id) {
					document.getElementById(id).style.visibility = "hidden";

}
var step=0
function slide_show(){
	
					if (step<12)
					step++
					else
						{
					step=1
					for(i=1;i<13;i++)
						hide_delay('slide_'+i)					
					}
					show('slide_'+step);
					setTimeout('slide_show("slide_'+step+'");',4000);
					} 
	


