/**
* zaloadowanie images przed ich uzyciem
*/
 //=========================================================
function preloadImages(arrImg){

	
	//alert(arrImg);
		
	var preloadDiv = document.createElement("div"); 
	preloadDiv.setAttribute("id","preloadImg"); 
	document.getElementById("inside").appendChild(preloadDiv);
	document.getElementById("preloadImg").style.display="none";

	var html="";
	for(i=0;i<arrImg.length;i++){
		html+="<img src='"+arrImg[i]+"'>";	

	}
	
	document.getElementById("preloadImg").innerHTML=html;
	
}
 //=========================================================
