			
function ResizeImages(imageID, height){

	width = height * 1.33
		
	if (document.getElementById(imageID)){
		if(document.images(imageID).length){
			for (i=0; i<document.images(imageID).length; i++){						
					imgheight = document.images(imageID)[i].height
					imgwidth = document.images(imageID)[i].width					
					
					if(imgwidth > width){
						document.images(imageID)[i].width = width
					}
					
					if(imgheight > height){
						document.images(imageID)[i].height = height
					}
					
				}
		}
		else{	
			imgheight = document.getElementById(imageID).height
			if(imgheight > height){
				document.getElementById(imageID).height = height
			}
				
			imgWidth = document.getElementById(imageID).width
			if(imgWidth > width){
				document.getElementById(imageID).width = width
			}	
		}
	}
}



	
