		var ms = new TransMenuSet(TransMenu.direction.down, 1, -1, TransMenu.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		//var menu1 = ms.addMenu(document.getElementById("Home"));
		//menu1.addItem("Sub Menu 1", ""); 
		//menu1.addItem("Sub Menu 2", ""); // send no URL if nothing should happen onclick

		//var submenu0 = menu1.addMenu(menu1.items[1]);
		//submenu0.addItem("Sub Sub Menu 1", "");
		//submenu0.addItem("Sub Sub Menu 2", "");
		//submenu0.addItem("Sub Sub Menu 3", "");
		//submenu0.addItem("Sub Sub Menu 4", "");
	

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("quicksearch"));
		menu2.addItem("Online proc fees", "fees.asp");
		menu2.addItem("Online DIP", "http://www.i-maps.co.uk/cgi-bin/3-mc/edipc.exe");
		menu2.addItem("Online application", "http://www.i-maps.co.uk/onlineapp/html/mortgage_full.asp?sk=3-mc");
		menu2.addItem("Online Case Tracking", "http://www.i-nvent.co.uk/beta/?sk=3-mc");
		menu2.addItem("Mortgages", "mortgages.asp");
		menu2.addItem("Satellite Packagers", "distributors.asp");
		menu2.addItem("Networks", "networks.asp");
		menu2.addItem("i-map", "imaps.asp");
		menu2.addItem("Latest Updates", "updates.asp");
		menu2.addItem("Secured Lending", "http://merchants.beech-introducers.co.uk/index.asp?AddID=4461");
		menu2.addItem("Commercial Loans", "commercial_loans.asp");
		menu2.addItem("Conveyancing", "conveyancing.asp");
		
		var submenu2 = menu2.addMenu(menu2.items[4]);
		submenu2 .addItem("Application fees","fee.asp");
		submenu2 .addItem("Lender forms","lenders.asp");
		submenu2 .addItem("Product grids","products.asp");
		submenu2 .addItem("Lender KFIs","lenderkfi.asp");
		submenu2 .addItem("Property valuations","http://www.houseprices.co.uk/");
		submenu2 .addItem("BTL calculator","mortgage_calc.asp");
		

//var menu3 = ms.addMenu(document.getElementById("products"));
		//menu3.addItem("Products Grid", "products.asp");
		//menu3.addItem("Updates", "updates.asp");
		
		//var menu4 = ms.addMenu(document.getElementById("fees"));
		//menu4.addItem("App Fees", "fee.asp");
		//menu4.addItem("Proc Fees", "fees.asp");


		//==================================================================================================

	
	

		//==================================================================================================

		//==================================================================================================
						
		//==================================================================================================
		
		
		//==================================================================================================
		// write drop downs into page
		//==================================================================================================
		// this method writes all the HTML for the menus into the page with document.write(). It must be
		// called within the body of the HTML page.
		//==================================================================================================
		TransMenu.renderAll();
		
		
//<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
//</script>

//<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7860683-1");
pageTracker._trackPageview();
} catch(err) {}
//</script>

//<!-- BEGIN LivePerson Monitor. -->
//<script language='javascript'>
var lpMTagConfig = {'lpServer' : "server.iad.liveperson.net",'lpNumber' : "9174600",'lpProtocol' : (document.location.toString().indexOf('https:')==0) ? 'https' : 'http'}; function lpAddMonitorTag(src){if(typeof(src)=='undefined'||typeof(src)=='object'){src=lpMTagConfig.lpMTagSrc?lpMTagConfig.lpMTagSrc:'/hcp/html/mTag.js';}if(src.indexOf('http')!=0){src=lpMTagConfig.lpProtocol+"://"+lpMTagConfig.lpServer+src+'?site='+lpMTagConfig.lpNumber;}else{if(src.indexOf('site=')<0){if(src.indexOf('?')<0)src=src+'?';else src=src+'&';src=src+'site='+lpMTagConfig.lpNumber;}};var s=document.createElement('script');s.setAttribute('type','text/javascript');s.setAttribute('charset','iso-8859-1');s.setAttribute('src',src);document.getElementsByTagName('head').item(0).appendChild(s);} if (window.attachEvent) window.attachEvent('onload',lpAddMonitorTag); else window.addEventListener("load",lpAddMonitorTag,false);
//</script>
//<!-- END LivePerson Monitor. -->

		