﻿

// utility function - precaches images for quick loading time of initially hidden elements
function preCacheImage(imageUrl) {

	var img = new Image();
	img.src = imageUrl;            
	
	return img;
}



function showHideListingInfo(id) {
	
	if ($(id)) {
		
		if ($(id).visible()) {
			$(id).hide();
		} else {
			$(id).show();
		}
		
	}
	
}

