		
		obZ1={};
		obZ1.Init=function(){
			var bwTyp=this;
			var uAgnt=navigator.userAgent;
			bwTyp.isIE=(uAgnt.indexOf("MSIE")>0);
			bwTyp.isMac=(uAgnt.indexOf("Mac")>0);
			bwTyp.isNS=(uAgnt.indexOf("Gecko")>0);
			bwTyp.isOpera=(window.opera||uAgnt.indexOf("Opera")>0);
			bwTyp.isSafari=(uAgnt.indexOf("Safari")>0);
		}
		obZ1.Init();
		obZ1.bodyHeight=function(win){win=win?win:window; return parseInt(obZ1.isIE?win.document.body.clientHeight:win.innerHeight)};
		obZ1.scrollTop=function(win){win=win?win:window; return obZ1.isIE?win.document.body.scrollTop :win.pageYOffset};
		obZ1.scrollLeft=function(win){win=win?win:window; return obZ1.isIE?win.document.body.scrollLeft:win.pageXOffset};

		//loading the crops depending on the postioning clicked ---19 th april
		function ZoomHalfPage(no) {
			obZ1.Init();
			var bh = obZ1.bodyHeight();
			if(no<250)
			{  
			  	for (i=0;i<12;i++) {
			        var img1 = document.getElementById("imgcrop" + (i));
					if(!img1 || img1.loaded)continue;
					var top = obZ1.getGlobalY(img1);
					if(top > bh)
						return;
						if(top + img1.offsetHeight > 0){
							img1.src=img1.getAttribute("actImg");
						    img1.loaded=true;
						}
			     }
			} 
			else
		  	{
				for (i=12;i<=24;i++) {
						var img1 = document.getElementById("imgcrop" + (i));
						if(!img1 || img1.loaded)continue;
						var top = obZ1.getGlobalY(img1);
						img1.src=img1.getAttribute("actImg");
						img1.loaded=true;
			    }
		   } 
	}
	obZ1.getGlobalY=function(tImg){
	   try{
			var tObj = this;
			var result=0;
			if (tObj.isOpera){
				while(tImg){
					result+=tImg.offsetTop;
					if(tImg.scrollTop && tImg.scrollTop != tImg.offsetTop)
					   result -= tImg.scrollTop;
					tImg=tImg.offsetParent;
				}
			}else{
				while(tImg){
					 result+=tImg.offsetTop;
					 if(tImg.scrollTop)result-=tImg.scrollTop;
					 tImg=tImg.offsetParent;
				}
			}
			return result;
		}catch(e){alert(e);}
  }
