// JavaScript Document
			var oLoader = new Image();
			oLoader.src = loaderImgPath;
			var oZoomImage = new Image();
			var tZoomLoaded;
		


			

			
			function ShowZoomImage()	{

					oZoomImage = new Image();
					oZoomImage.src = largeImgDragableDisplay;					
										
					if (document.getElementById) { // DOM 3: IE5+, NS6, Firefox#
					
						document.getElementById("imgMainImage").style.display = "none";
						document.getElementById("dvMainImageZoom").style.display = "block";
						
						document.getElementById("hypZoomPlus").style.display = "none";
						document.getElementById("hypZoomMinus").style.display = "block";
						
						
					} else if (document.layers) { // Netscape 4
					
						document.imgMainImage.style.display = "none";
						document.dvMainImageZoom.style.display = "block";
						
						document.hypZoomPlus.style.display = "none";
						document.hypZoomMinus.style.display = "block";
						
						if (document.hypDragImage != null) {document.hypDragImage.style.display = "block"};
						
					} else if (document.all) { // IE 4
					
						document.all.imgMainImage.style.display = "none";
						document.all.dvMainImageZoom.style.display = "block";
						
						document.all.hypZoomPlus.style.display = "none";
						document.all.hypZoomMinus.style.display = "block";
						
					}

				
				if (!oZoomImage.complete) { 
				    document.getElementById('imgMainImageZoom').src = loaderImgPath;

					tZoomLoaded = setInterval(checkZoomLoaded,'500');
				} else {
					checkZoomLoaded();
				}
				
			}
				
			function checkZoomLoaded(){
				if (oZoomImage.complete){
					document.getElementById('dvMainImageZoom').innerHTML = '<img id="imgMainImageZoom" src="' + oZoomImage.src + '" />';
					
		/*popup('productzoom.php?link='+oZoomImage.src+'&ProductName='+document.getElementById("ProductName").value, 'Zoom'); */
		//alert(oZoomImage.src);
					
					
					clearTimeout(tZoomLoaded);	
					//alert(oZoomImage.id);
					
					
					//alert($('.fancyzoom').src);
					enableDrag('dvMainImageZoom', 'imgMainImageZoom', largeImgDragableWidth, largeImgDragableHeight);
					$('#imgMainImageZoom').fancyzoom();
				}
			}
			
			function HideZoomImage()	{
				if (document.getElementById) { // DOM 3: IE5+, NS6, Firefox#
					if (document.getElementById("imgMainImage") != null) {document.getElementById("imgMainImage").style.display = "block";};
					document.getElementById("dvMainImageZoom").style.display = "none";
					if (document.getElementById("hypZoomPlus") != null) {document.getElementById("hypZoomPlus").style.display = "block";};
					if (document.getElementById("hypZoomMinus") != null) {document.getElementById("hypZoomMinus").style.display = "none";};
					if (document.getElementById("hypDragImage") != null) {document.getElementById("hypDragImage").style.display = "none";};
				} 

			}		


