// JavaScript Document

			<!--
	
		    function closeWindow() {
		        var src = document.getElementById('idFreezeFrame');
		        src.style.display='none';
		    }
			function closeWindow2() {
		        var src = document.getElementById('idFreezeFrame2');
		        src.style.display='none';
		    }				
			function closeWindow3() {
		        var src = document.getElementById('idFreezeFrame3');
		        src.style.display='none';
		    }
			function closeWindow4() {
		        var src = document.getElementById('idFreezeFrame4');
		        src.style.display='none';
		    }
			function closeWindow5() {
		        var src = document.getElementById('idFreezeFrame5');
		        src.style.display='none';
		    }
			function closeWindow6() {
		        var src = document.getElementById('idFreezeFrame6');
		        src.style.display='none';
		    }
			var currentNumber = 0;
			//var totalmages = 31;
			
			function MM_swapImgRestore() { //v3.0
			var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
			}

			function MM_preloadImages() { //v3.0
			var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
				var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
				if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
			}

			function MM_findObj(n, d) { //v4.01
			var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
				d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
			if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
			for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
			if(!x && d.getElementById) x=d.getElementById(n); return x;
			}

			function MM_swapImage() { //v3.0
			var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
			if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
			}

			function showCowListing (strCow)
			{
			    totalmages=11;
				myNo=0;
				currentNumber = strCow;
				var basePath = "images/photogallery/hfs/images/hfs_";
				
				// Don't worry about the count Arrays expand dynamically
				var arrayCow = new Array();				
				var i =0;
				
				for (i=0;i<11;i++) {
				    arrayCow[i] = basePath + (i+1) +".jpg";
				}					
				document.imgLargeImage.src = arrayCow[strCow];
			    // Display Popup
			    
			    var src = document.getElementById("idFreezeFrame");
			    
			    if (src.style.display != 'block') {
			        src.style.display = 'block';
			    }
			}
			// two
			function showCowListingTwo (strCow)
			{
			    totalmages=114;
				myNo=100;
				currentNumber = strCow;
				var basePath = "images/photogallery/hfs/images/hfs_";
				
				// Don't worry about the count Arrays expand dynamically
				var arrayCowTwo = new Array();
				
				var i =0;
				
				for (i=100;i<114;i++) {
				    arrayCowTwo[i] = basePath + (i+1) +".jpg";
				}
				
				document.imgLargeImageTwo.src = arrayCowTwo[strCow];
			    // Display Popup
			    
			    var src = document.getElementById("idFreezeFrame2");
			    
			    if (src.style.display != 'block') {
			        src.style.display = 'block';
			    }
			}
			//two ends
			// three
			function showCowListingThree (strCow)
			{
				totalmages=21;
				myNo=20;			    
				currentNumber = strCow;
				var basePath = "images/photogallery/hfs/images/hfs_";
				
				// Don't worry about the count Arrays expand dynamically
				var arrayCowThree = new Array();
				
				var i =0;
				
				for (i=20;i<21;i++) {
				    arrayCowThree[i] = basePath + (i+1) +".jpg";
				}
				
				document.imgLargeImageThree.src = arrayCowThree[strCow];
			    // Display Popup
			    
			    var src = document.getElementById("idFreezeFrame3");
			    
			    if (src.style.display != 'block') {
			        src.style.display = 'block';
			    }
			}
			//three ends
			// four
			function showCowListingFour (strCow)
			{
				totalmages=90;
				myNo=78;			    
				currentNumber = strCow;
				var basePath = "images/photogallery/hfs/images/hfs_";
				
				// Don't worry about the count Arrays expand dynamically
				var arrayCowFour = new Array();				
				for (i=78;i<90;i++) {
				    arrayCowFour[i] = basePath + (i+1) +".jpg";
				}
				
				document.imgLargeImageFour.src = arrayCowFour[strCow];
			    // Display Popup
			    
			    var src = document.getElementById("idFreezeFrame4");
			    
			    if (src.style.display != 'block') {
			        src.style.display = 'block';
			    }
			}
			//four ends
			// five starts
			function showCowListingFive (strCow)
			{
				totalmages=213;
				myNo=150;			    
				currentNumber = strCow;
				var basePath = "images/photogallery/hfs/images/hfs_";
				
				// Don't worry about the count Arrays expand dynamically
				var arrayCowFive = new Array();				
				for (i=150;i<213;i++) {
				    arrayCowFive[i] = basePath + (i+1) +".jpg";
				}
				
				document.imgLargeImageFive.src = arrayCowFive[strCow];
			    // Display Popup
			    
			    var src = document.getElementById("idFreezeFrame5");
			    
			    if (src.style.display != 'block') {
			        src.style.display = 'block';
			    }
			}
			//five ends
			// six starts
			function showCowListingSix (strCow)
			{
				totalmages=56;
				myNo=44;			    
				currentNumber = strCow;
				var basePath = "images/photogallery/hfs/images/hfs_";
				
				// Don't worry about the count Arrays expand dynamically
				var arrayCowSix = new Array();				
				for (i=44;i<56;i++) {
				    arrayCowSix[i] = basePath + (i+1) +".jpg";
				}
				
				document.imgLargeImageSix.src = arrayCowSix[strCow];
			    // Display Popup
			    
			    var src = document.getElementById("idFreezeFrame6");
			    
			    if (src.style.display != 'block') {
			        src.style.display = 'block';
			    }
			}
			//six  ends
			function writeLinks() {
			    var basePath = "images/photogallery/hfs/thumbnails/hfs_";
			    var html_str = "";			  
			    for (i=0;i<11;i++) {
			        var idx = Math.floor(i)+1;
			        html_str += "<a class=\"clsFilmFrame\" href=\"Javascript:showCowListing("+i+")\"><img src=\""+basePath+idx+"_thmb.gif\" border=\"0\"></a>";
			    }
			    document.write(html_str);
			}
				function writeLinks2() {
			    var basePath = "images/photogallery/hfs/thumbnails/hfs_";
			    var html_str = "";			   
			    for (i=100;i<114;i++) {
			        var idx = Math.floor(i)+1;
			        html_str += "<a class=\"clsFilmFrame\" href=\"Javascript:showCowListingTwo("+i+")\"><img src=\""+basePath+idx+"_thmb.gif\" border=\"0\"></a>";
			    }
			    document.write(html_str);
			}
			function writeLinks3() {
			    var basePath = "images/photogallery/hfs/thumbnails/hfs_";
			    var html_str = "";			   
			    for (i=20;i<21;i++) {
			        var idx = Math.floor(i)+1;
			        html_str += "<a class=\"clsFilmFrame\" href=\"Javascript:showCowListingThree("+i+")\"><img src=\""+basePath+idx+"_thmb.gif\" border=\"0\"></a>";
			    }
			    document.write(html_str);
			}
			function writeLinks4() {
			    var basePath = "images/photogallery/hfs/thumbnails/hfs_";
			    var html_str = "";			    
			    for (i=78;i<90;i++) {
			        var idx = Math.floor(i)+1;
			        html_str += "<a class=\"clsFilmFrame\" href=\"Javascript:showCowListingFour("+i+")\"><img src=\""+basePath+idx+"_thmb.gif\" border=\"0\"></a>";
			    }
			    document.write(html_str);
			}
			function writeLinks5() {
			    var basePath = "images/photogallery/hfs/thumbnails/hfs_";
			    var html_str = "";			  
			    for (i=150;i<213;i++) {
			        var idx = Math.floor(i)+1;
			        html_str += "<a class=\"clsFilmFrame\" href=\"Javascript:showCowListingFive("+i+")\"><img src=\""+basePath+idx+"_thmb.gif\" border=\"0\"></a>";
			    }
			    document.write(html_str);
			}
			function writeLinks6() {
			    var basePath = "images/photogallery/hfs/thumbnails/hfs_";
			    var html_str = "";			  
			    for (i=44;i<56;i++) {
			        var idx = Math.floor(i)+1;
			        html_str += "<a class=\"clsFilmFrame\" href=\"Javascript:showCowListingSix("+i+")\"><img src=\""+basePath+idx+"_thmb.gif\" border=\"0\"></a>";
			    }
			    document.write(html_str);
			}
			//Previous/Next One Starts 
			function previousListingOne()
			{				
				currentNumber--;
				if(currentNumber >= myNo){
					showCowListing (currentNumber);
				}
				else {
					currentNumber = (totalmages - 1)
					showCowListing (currentNumber);		
				}
			}
			
			function nextListingOne()
			{
				currentNumber++;
				if(currentNumber < totalmages){
					showCowListing (currentNumber);
				}
				else {
					currentNumber = myNo;
					showCowListing (currentNumber);
				}
			} 
			//Previous/Next One Ends
			//Previous/Next Two Starts 
			function previousListingTwo()
			{				
				currentNumber--;
				if(currentNumber >= myNo){
					showCowListingTwo (currentNumber);
				}
				else {
					currentNumber = (totalmages - 1)
					showCowListingTwo (currentNumber);		
				}
			}
			
			function nextListingTwo()
			{
				currentNumber++;
				if(currentNumber < totalmages){
					showCowListingTwo (currentNumber);
				}
				else {
					currentNumber = myNo;
					showCowListingTwo (currentNumber);
				}
			} 
			//Previous/Next Two Ends
			//Previous/Next Three Starts 
			function previousListingThree()
			{				
				currentNumber--;
				if(currentNumber >= myNo){
					showCowListingThree (currentNumber);
				}
				else {
					currentNumber = (totalmages - 1)
					showCowListingThree (currentNumber);		
				}
			}
			
			function nextListingThree()
			{
				currentNumber++;
				if(currentNumber < totalmages){
					showCowListingThree (currentNumber);
				}
				else {
					currentNumber = myNo;
					showCowListingThree (currentNumber);
				}
			} 
			//Previous/Next Three Ends
			//Previous/Next Four Starts 
			function previousListingFour()
			{				
				currentNumber--;
				if(currentNumber >= myNo){
					showCowListingFour (currentNumber);
				}
				else {
					currentNumber = (totalmages - 1)
					showCowListingFour (currentNumber);		
				}
			}
			
			function nextListingFour()
			{
				currentNumber++;
				if(currentNumber < totalmages){
					showCowListingFour (currentNumber);
				}
				else {
					currentNumber = myNo;
					showCowListingFour (currentNumber);
				}
			} 
			//Previous/Next Four Ends
			//Previous/Next Five Starts 
			function previousListingFive()
			{				
				currentNumber--;
				if(currentNumber >= myNo){
					showCowListingFive (currentNumber);
				}
				else {
					currentNumber = (totalmages - 1)
					showCowListingFive (currentNumber);		
				}
			}
			
			function nextListingFive()
			{
				currentNumber++;
				if(currentNumber < totalmages){
					showCowListingFive (currentNumber);
				}
				else {
					currentNumber = myNo;
					showCowListingFive (currentNumber);
				}
			} 
			//Previous/Next Five Ends
			//Previous/Next Six Starts 
			function previousListingSix()
			{				
				currentNumber--;
				if(currentNumber >= myNo){
					showCowListingSix(currentNumber);
				}
				else {
					currentNumber = (totalmages - 1)
					showCowListingSix (currentNumber);		
				}
			}
			
			function nextListingSix()
			{
				currentNumber++;
				if(currentNumber < totalmages){
					showCowListingSix (currentNumber);
				}
				else {
					currentNumber = myNo;
					showCowListingSix (currentNumber);
				}
			} 
			//Previous/Next Six Ends	
			//-->
		