// JavaScript Document
// v1.1 - 2006-11-20 * v 1.5 - 2006-12-11 (cleanup)
	var theContainer;
		function moveGloss() {
				  var myWidth = 0, myHeight = 0;
				  if( typeof( window.innerWidth ) == 'number' ) {
					//Non-IE
					myWidth = window.innerWidth;
					myHeight = window.innerHeight;
				  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
					//IE 6+ in 'standards compliant mode'
					myWidth = document.documentElement.clientWidth;
					myHeight = document.documentElement.clientHeight;
				  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
					//IE 4 compatible
					myWidth = document.body.clientWidth;
					myHeight = document.body.clientHeight;
				  }
			  theContainer=parent.document.getElementById("glossContainer");
			  var theContW=theContainer.style.width;
				 var contW="400";
				 var contY=theContainer.style.top;
				 var contX=theContainer.style.left;
				 var posX=eval((myWidth-contW)/2);
				theContainer.style.left=posX;
  }
	function hideiframe(){
		theContainer=parent.document.getElementById("glossContainer");
		theContainer.style.display='none';
				// HIDE swf
		if (parent.document.getElementById("pageObject01")==null)
		{
			// DO NOTHING
			//alert(" is "+parent.document.getElementById("pageObject01"));
	  	}
	   else{
		parent.document.getElementById("pageObject01").style.display='block';
	   //alert(parent.document.getElementById("pageObject01").style.display)
		   }
	   // END hide
	}
	// do the locomotion
	function goAnchor(id){
		_hbPageView(document.title+'_glossarypopup_'+id,'/UK/;/GEO/EU/UK');
		// hbx, 070502
		_hbSet('c4',document.title+'_Calls_('+id+')_inGlossary');
		_hbSend();
		/**/
		//alert(document.title+'_glossarypopup_'+id);
		theContainer=parent.document.getElementById('glossContainer');
		theContainer.style.display='none';
		// HIDE swf
		if (parent.document.getElementById("pageObject01")==null)
		{
			// do nothing
			// alert(" is "+parent.document.getElementById("pageObject01"));
	  	}
	   else{
		parent.document.getElementById("pageObject01").style.display='none';
	   // alert(parent.document.getElementById("pageObject01").style.display)
		   }
	   // END hide
		theContainer.style.display='inline';
		moveGloss();
		anchorPos = window.frames['Glossary'].document.getElementById(id).offsetTop;
		//alert(anchorPos);
		window.frames['Glossary'].document.body.scrollTop = anchorPos;
}
function showAnchor(){
	theContainer=parent.document.getElementById('glossContainer');
		theContainer.style.display='none';
		moveGloss();
		theContainer.style.display='inline';

}

                   
