/*
 * image.photo.js
 *
 * 0. Global Variables
 * 1. Photo Blank Preload
 * 2. Image Swap
 *
 *
 *
 *
 */







/*
 * 0. Global Variables
 *
 *
 */
str_Photo_Path = "asset/image/photo/";




/*
 * 1. Image Cover Blank Preload
 *
 *
 */
function jsf_Image_Photo_Blank_Preload()
{
	var img;
	img = new Image( 175, 50 )
	img.src = str_Photo_Path + "photo.loading.gif";
}//end function
jsf_Image_Photo_Blank_Preload();





/*
 * 1. Image Photo Swap
 *
 *
 */
function jsf_Image_Photo_Swap( str_DocumentImageName, str_NewSource )
{

	// Reset to Loading Message Image
	document[ str_DocumentImageName ].src = str_Photo_Path + "photo.loading.gif";

	// Change the source
	document[ str_DocumentImageName ].src = str_NewSource;

}//end function




/*
 * 2. Image Swap
 *
 */
function jsf_Image_Swap( str_ImageId, str_ImageSrc  )
{
	document[ str_ImageId ].src = str_ImageSrc;
}//end function








