Hi everyone! Please go easy on me, I'm not a coder but do have a little experience with html. Im not able to reach my programmer so if you can help Id really appreciate it! The script below magnifies a small portion of a larger image in a separate box. Is there any way I can add to the code to alter the area and level of magnification shown from the original image onto the new box? Thanks in advance for any help/suggestions!

Code:
<script type="text/javascript">
	function DoMagnify(sender, e)
	{
		var posx = 0;
		var posy = 0;
		if (!e) var e = window.event;
		
		if (e.pageX || e.pageY)	{
			posx = e.pageX;
			posy = e.pageY;
		} else if (e.clientX || e.clientY) {
			posx = e.clientX + document.body.scrollLeft;
			posy = e.clientY + document.body.scrollTop;
		}
		
		posx = posx - sender.offsetParent.offsetLeft - sender.offsetLeft - 0;
		posy = posy - sender.offsetParent.offsetTop - sender.offsetTop - 0;
		
		document.Form1.ImageMagnify.src = 'MagnifyRender.ashx?X=' + posx +  '&Y=' + posy + '&O=26496745&R=10004&F=0317&A=71994&rand=' + Math.random();
	}
	
	var NS = (navigator.appName=="Netscape")?true:false; 

	function FitPic() { 
		iWidth = (NS)? window.innerWidth : document.body.clientWidth; 
		iHeight = (NS)? window.innerHeight : document.body.clientHeight; 
		iWidth = document.images[100].width - iWidth; 
		iHeight = document.images[100].height - iHeight; 
		window.resizeBy(iWidth+100, iHeight+100); 
		self.focus(); 
	}; 
	
</script>


<div id="LargeImage"><img id="imgLarge" GalleryImg=false class="LargeImage" onclick="DoMagnify(this, event);" src="_" width=480 height=630></div>
<div id="Col2" style="float: right;">
	<div id="Magnify"><img width=400 height=400 GalleryImg=true id="ImageMagnify" ></div>