//-----------------------------------------Begin------------------------------------------//
			
	/*NOTES
		Author: Dean Dal Bozzo
		Email: dean@pagefx.com
		Created on: 3/11/2004
		
		Current file is limited to define only 10 images.  Can be increased by updating the substring function.
		
		Must include the following in the source file for this to work correctly
		Example:
		//==Images================================================================//
		
		// set image path
		var imgButPath 	= '0images/buttons/';
	
		// set imgs as an array
		imgs = new Array();
		
		// build imgs arrays and set image information
		imgs[0] = new imgDefine(Image Out, Image Over,Image Down);
			
		//---------------------------------------------------------------------------------------
		Examples:
		Defining images example:
		imgs[0] = new imgDefine('b_delete0.gif','b_delete1.gif');
		
		Link example: imgAct(Image Name, Action, Message)
		Note: return is needed to display message in status bar.
		<a onmouseover="return imgAct('b01',0,'hi');" onmouseout="return imgAct('b01',1,'');">

	*/

		// Build Actions
		act 	= new Array();
		act[0]	= "Over"
		act[1]	= "Out"		
		act[2]	= "Down"	

		//--Define images--------------------------------------------------//
		function imgDefine(imgOut,imgOver,imgDown){
			this.imgOver		= new Image();
			this.imgOut			= new Image();
			this.imgDown		= new Image();
			this.imgOver.src	= imgButPath+imgOver;
			this.imgOut.src		= imgButPath+imgOut;
			this.imgDown.src	= imgButPath+imgDown;
		}

		//--Button Image Actions-------------------------------------------//
		function imgAct(imageId,actIdx,msg) {
			if (document.images) {	
				document[imageId].src = eval('imgs[' + imageId.substring(1,2) + '].img'+ act[actIdx] + '.src');
				window.status = msg;
				return true;
    		}
		}
		
//----------------------------------End All-----------------------------------------------//