<!--

/*****************************************************************
JavaScript for SpandauGo / News
 	- Doc Holiday Data -

created by 	Dr.Holger Maerz 
version: 1.0
Last Date Changes: 26.02.2007 
edited by: (pls enter name and date)

class is for caching images, so they are available after loading.
it reads images from directories, puttin them into a src array, therfore there 
are cached into the browsers temp dir    
*******************************************************************/

/////////////////////////////////////////////////////////////////////////////////////
//News CLASS
/////////////////////////////////////////////////////////////////////////////////////
 	
function imgCache(){
	
	//all img-src as arguments 
	this.cachingImages=function(imgArray){
	
		try {
				if(!imgArray) return;
				
				var imgCache=new Array();
				
				for(var i=0; i<imgArray.length ; i++){
					imgCache[i]=new Image();
					imgCache[i].src=imgArray[i];
					
				}	

		}	
	    catch(e){		
				alert("JavaScript Exception: imgCache.cachingImages()\r\n\r\n" +e);
		}		
	}

	
}	


//-->