function _HpbImgSwap( imgName, imgSrc ){
	var appVer = parseInt( navigator.appVersion );
	var isNC = false, isN6 = false, isIE = false;

	if( document.all && appVer >= 4 ){
		isIE = true;
	}else{
		if( document.getElementById && appVer > 4 ){
			isN6 = true;
		}else{
			if( document.layers && appVer >= 4 ){
				isNC=true;
			}
		}
	}

	if( isNC || isN6 || isIE ){
		if( document.images ){
			var img = document.images[imgName];
			if( !img ){
				img = _HpbImgFind( document, imgName );
			}
			if( img ){
				img.src = imgSrc;
			}
		}
	}
}

function _HpbImgFind( doc, imgName ){
	for(var i = 0; i  <doc.layers.length; i++ ){
		var img = doc.layers[i].document.images[imgName];
		if( !img ){
			img = _HpbImgFind( doc.layers[i], imgName );
		}
		if( img ){
			return img;
		}
	}
	return null;
}
