/**
Set of Javascript functions to write standardised bits of each webpage

@author John Adams
@version 1.0 04/10/2001
*/


/**
Adds a comboBox to select URL's.
*/
function pullDown(x){
   if (x != "") { self.location=x; }
   }
/*
   var urlStart = "http://uk.multimap.com/p/browse.cgi?pc=&GridE=392950&GridN=810000&scale=";
   var urlEnd = "&title=Task+Geoscience,+Davidson+House+location&cat=h";
   var scale = 10000;
   var site = document.mapform.mapScale.selectedIndex ; 
   var siteval = document.mapform.mapScale.options[site].value ;
  
   if(siteval == "x" ) {
      window.alert('You need to select a scale');
      return; 
	  }
   if(siteval == "10") scale = 10000;
   if(siteval == "25") scale = 25000;
   if(siteval == "50") scale = 50000;
   if(siteval == "100") scale = 100000;

   openWindow(urlStart + scale + urlEnd);
   //document.location = urlStart + scale + urlEnd;
   }
/*
/**
Opens a window.
@param URL the url of the page to show in the window
*/
function openWindow(URL){
   newWindow = window.open(URL, "thewindow", "toolbar=no, status=no, scrollbars=yes, resize=yes, menubar=no");
   }
   
         