<!--MM_preloadImages-->
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];}}
}
<!--MM_swapImgRestore-->
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;
}
<!--MM_findObj-->
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;
}
<!--MM_swapImage-->
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];}
}
<!--toggle-->
function toggle(par)
{
	var ar=par.split(",");
	for(var i=0; i<ar.length; i++)
	{
		var id = ar[i];
		if( document.getElementById(id).style.display=='none' ){
		document.getElementById(id).style.display = '';
		}else{
		document.getElementById(id).style.display = 'none';
		}
	}


}

<!--openpopup-->
function openpopupaquacrop(what,type){
         msgPage=window.open(what,"displayWindow", "width=550,height=320,left=200,top=50,screenX=200,screenY=50,scrollbars=0,resizable=no")
         msgPage.focus()


}<!--openSSA-->
function openbattambang(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=620,height=470,resizable=no")
         msgPage.focus()
		 
		 
}<!--openSSA-->
function openmiddleeast(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=960,height=650,resizable=no")
         msgPage.focus()


}
<!--openSSA-->
function openaquastatmaps(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=900,height=685,resizable=no")
         msgPage.focus()
		 
		 }
<!--openSSA-->
function opensteduto(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=360,height=310,resizable=no")
         msgPage.focus()


}
<!--openSSA-->
function openespimmap(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=725,height=605,resizable=no")
         msgPage.focus()

}
<!--openSSA-->
function opensaver(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=800,height=600,resizable=no")
         msgPage.focus()

}
<!--openSSA-->
function opengalleries(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=600,height=660,resizable=no")
         msgPage.focus()

}
<!--openSSA-->
function openruralmaps(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=800,height=630,resizable=no")
         msgPage.focus()

}
<!--openSSA-->
function openSSA(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=539,height=528,resizable=no")
         msgPage.focus()

}
<!--openglance-->
function openglance(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=900,height=700,resizable=no")
         msgPage.focus()

}
<!--openglance-->
function openwateruse(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=580,height=393,resizable=no")
         msgPage.focus()


}
<!--openglance-->
function opensoilmap1(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=963,height=481,resizable=no")
         msgPage.focus()

}
<!--openglance-->
function opensoilmap2(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=720,height=620,resizable=no")
         msgPage.focus()

}
<!--openglance-->
function opensoilmap3(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=820,height=420,resizable=no")
         msgPage.focus()

      

}
<!--openglance-->
function openglobalirrimap(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=762,height=481,resizable=no")
         msgPage.focus()

      }




<!--openglance-->
function openphoto(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=528,height=530,resizable=no")
         msgPage.focus()
      }

<!--openglance-->
function openccmap(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=900,height=720,resizable=no")
         msgPage.focus()
      }

<!--opennoglance-->
function opennoglance(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=800,height=700,resizable=no")
         msgPage.focus()
      }
<!--open101-->
 function open101(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=720,height=576,resizable=no")
         msgPage.focus()
      }
	  <!--openpopup-->
	  function openpopup(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=550,height=320,resizable=no")
         msgPage.focus()
      }
	  <!--openVirtual-->
	  function openVirtual(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=440,height=740,resizable=no")
         msgPage.focus()
      }
	
	  <!--openpopup-->
	  function openmasscotepopup(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=700,height=650,resizable=no")
         msgPage.focus()
      }
	  <!--opencycle1-->
	  function opencycle1(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=800,height=650,resizable=no")
         msgPage.focus()
      }
	  <!--openmexico-->
	  function openmexico(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=305,height=275,resizable=no")
         msgPage.focus()
      }
	  <!--openluanda-->
	  function openluanda(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=310,height=275,resizable=no")
         msgPage.focus()
      }
	   <!--opendakarqt-->
	  function openluandaqt(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=365,height=325,resizable=no")
         msgPage.focus()
      }
	  <!--openirrigationmap-->
	  function openirrigationmap(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=889,height=434,resizable=no")
         msgPage.focus()
	  <!--opendakar-->
      }function opendakar(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=305,height=275,resizable=no")
         msgPage.focus()
      }
	  <!--opendakarqt-->
	  function opendakarqt(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=365,height=325,resizable=no")
         msgPage.focus()
      }
	  <!--openlocation-->
	  function openlocation(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=600,height=339,resizable=no")
         msgPage.focus()
      }
	  <!--openglobalmap-->
	 function openglobalmap(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=889,height=434,resizable=no")
         msgPage.focus()
      }
	  	  <!--openscarcitymap-->
	 function openscarcitymap(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=799,height=595,resizable=no")
         msgPage.focus()
      }
	  <!--openmasscotemap-->
	 function openmasscotemap(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=800,height=600,resizable=no")
         msgPage.focus()
      }
	  
	  <!--openWWNE-->
function openWWNE(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=857,height=545,resizable=no")
         msgPage.focus()
      }
<!--openWWNE-->
<!--openWWLA-->
function openWWLA(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=no,width=765,height=545,resizable=no")
         msgPage.focus()
      }
<!--openWWLA-->
<!--openDBstructure-->
function openDBstructure(what,type){
         msgPage=window.open(what,"displayWindow","toolbar=no,scrollbars=yes,width=800,height=600,resizable=no")
         msgPage.focus()
      }
<!--openDBstructure-->
	  <!--print-->
var gAutoPrint = true; 

function printSpecial()

{
	if (document.getElementById != null)
	{
		
		var html = '<HTML>\n<HEAD>\n';

		if (document.getElementsByTagName != null)
		{
			
			var headTags = document.getElementsByTagName("head");
			if (headTags.length > 0)
				html += headTags[0].innerHTML;
		}
		
		html += '\n</HE' + 'AD>\n<BODY onBlur="window.close()" topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">\n';
		
		var printReadyElem = document.getElementById("printReady");
		
		if (printReadyElem != null)
		{
				html += printReadyElem.innerHTML;
		}
		else
		{
			alert("Could not find the print section in the HTML");
			return;
		}
			
		html += '\n</BO' + 'DY>\n</HT' + 'ML>';
		
		var printWin = window.open("","printSpecial");
		printWin.document.open();
		printWin.document.write(html);
		printWin.document.close();
		if (gAutoPrint)
			printWin.print();
			
	}
	else
	{
		alert("Sorry, the print feature is only available in modern browsers.");
	}
}