if (document.images)
{
 // preload comingSoon image
 var thumbComingSoonImage = new Image(72, 85);
 thumbComingSoonImage.src = "/images/slicks/thumbs/comingSoon.gif";
 
 var bigComingSoonImage = new Image(150, 210);
 bigComingSoonImage.src = "/images/slicks/bigones/largeComingSoon.jpg";
}

function loadImages()
{	
	var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;

	if (document.images)
	{
		var imageList = document.getElementsByTagName('IMG');
		for(i=0;i<imageList.length;i++)
		{
	        if (imageList[i].name.length > 0)
	        {
	        	if (imageList[i].name.substring(0,10) == 'thumbSlick')
	        	{
	        		//alert(imageList[i].height);
			        if((isIE && imageList[i].height == 82) || (!isIE && imageList[i].height == 0)){

			        	imageList[i].style.height = '85px';
			            imageList[i].setAttribute('src', thumbComingSoonImage.src);
			        }
		    	}
			    else if(imageList[i].name.substring(0, 8) == 'bigSlick')
			    {
			    	if(imageList[i].height == 171 || imageList[i].height == 0){
			        	imageList[i].style.height = '210px';
			            imageList[i].setAttribute('src', bigComingSoonImage.src);
			       }
			    }
			}
	    }
	}
}