/////////////// image object ///////////////////////
	function objImage () {
		// probs
		this.strImageFolder = '__/';
		this.strToLayer = '';
		this.arrPictos = new Array();
		
		// set'ers
		this.setImageFolder = function (val) { this.strImageFolder = val; }
		this.setToLayer = function (val) { this.strToLayer = val; }

		// get'ers
		this.getImageFolder = function () { return this.strImageFolder; }
		this.getToLayer = function () { return this.strToLayer; }

		// methods
		this.preloadImage = function (strSrc, intId) {
			if (document.images) {
				this.arrPictos[intId] = new Array();
				this.arrPictos[intId][0] = new Image;
				this.arrPictos[intId][0].src = this.getImageFolder() + strSrc
				this.arrPictos[intId][1] = new Image;
				this.arrPictos[intId][1].src = this.getImageFolder() + strSrc.replace('_lo','_hi')
				this.arrPictos[intId][2] = 0;
			}
		}
		
		this.lockImage = function (intId, intAction, arrPicGroup) {
			for (i = 0; i < arrPicGroup.length; i++) {
				this.unlockImage(arrPicGroup[i]);
				this.swapImage(arrPicGroup[i],0);
			}
			this.swapImage(intId, intAction);
			this.arrPictos[intId][2] = 1;
		}
		
		this.unlockImage = function (intId) {
			this.arrPictos[intId][2] = 0;
		}
		
		this.swapImage = function (intId, intAction) {
			var strSrc, imgObj;
			var imgObj = null;
			if (document.images && intId < this.arrPictos.length && this.arrPictos[intId][2] == 0) {
				if (!(!document.layers)) {
					if (this.getToLayer() != '' && this.getToLayer() != '-1') {
						imgObj = document.layers[this.getToLayer()].document.images['img' + intId];
					}
					else imgObj = document.images['img' + intId];
				}
				else imgObj = document.images['img' + intId];
				strSrc = this.arrPictos[intId][intAction].src;
				if (imgObj) imgObj.src = strSrc;
			}
		}
	}
	///////////////// end image object ////////////////////////////
