function setDom ()
{
	if (document.getElementById)   // W3C compatible
	{
		function DomW3C () {	
			function getNameList (Name)
			{	return document.EnquiryForm.elements[Name] ; }
			function getAnything(anything)
			{	return document.getElementById(anything) ; }
			this.getNameList = getNameList ;
			this.getControl = getAnything ;
		}
		dom = new DomW3C () ;
   }
   else if (document.layers)
   {
   		function DomNS4 () {
			function getControl (control) 
			{	return document.EnquiryForm.elements[control] ; }
			this.getNameList = getControl ;
         	this.getControl = getControl ;
		}
		dom = new DomNS4 () ;
   }
   else if (document.all)
   {
		function DomIE4()
		{
			function getControl (control) 
			{	return document.document.all[control] ; }
			this.getNameList = getControl ;
			this.getControl = getControl ;
		}
		dom = new DomIE4 () ;
   }
   else alert ("Your browser cannot handle this page") ;
}