/* vim: set expandtab tabstop=4 shiftwidth=4: */

// +----------------------------------------------------------------------+
// | $Workfile: global.js $
// +----------------------------------------------------------------------+
// | Javascript 1.2                                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2005 Billing Concepts                                  |
// +----------------------------------------------------------------------+
// | Author: Michael Bueche <michael.bueche@billingconcepts.com>          |
// +----------------------------------------------------------------------+

// $Header: /Consulting/AnnaCastillo.com/WebSite/www/html/js/global.js 2     12/30/06 11:33p Buec7000 $

//-------------------------------------------------------------------------
/**
*
*
* @version		$Revision: 2 $
* @package		WebTrack
* @author		Michael Bueche <michael.bueche@billingconcepts.com>
* @since		4.1.2
* @see
*/
//-------------------------------------------------------------------------

/**
* Preloads Images after the page loads (Passive Loading)
*
* @param	void
* @return	void
*/
function fPreloadImages()
{
	for( $i=2; $i<20; $i++ )
	{
		$objPreview		= new Image();
		$objCloseUp		= new Image();

		$index = $i < 10 ? '0'+$i : $i;

		$objPreview.src   = 'images/gallery/thumbs/' + $index + '.jpg';
		$objCloseUp.src   = 'images/gallery/images/' + $index + '.jpg';
	}
}