function Total_offset() { if (navigator.userAgent.indexOf("MSIE") > -1) { this.x=-1; this.y=-5; } else { this.x=-1; this.y=-5; } } function show_menu_here(menu, locator) { var pos; pos = new Total_offset; pos = get_total_offset(locator.offsetParent, pos); pos.y += locator.offsetTop + locator.offsetHeight+2; pos.x += locator.offsetLeft; window.FW_showMenu(menu, pos.x, pos.y); } function get_total_offset(offset, total_offset) { var new_total; if (offset.offsetParent) { new_total = get_total_offset(offset.offsetParent, total_offset) ; new_total.x += offset.offsetLeft; new_total.y += offset.offsetTop; } else { new_total = new Total_offset; new_total.x = total_offset.x + offset.offsetLeft; new_total.y = total_offset.y + offset.offsetTop; } return new_total; } function ShowOptionTags(bShow) { // set the visibility of the option tags tags_list = document.getElementsByTagName("select"); for (var i = 0; i < tags_list.length; i++) { show_control(tags_list[i], bShow); } } function show_control(ctrl, b_show) { if (b_show) ctrl.style.visibility = "visible"; else ctrl.style.visibility = "hidden"; } function fwLoadMenus() { if (window.fw_menu_23) return; // window.fw_menu_cat_ = new Menu("",0,32,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#163673","#42619C"); // fw_menu_cat_.addMenuItem("","location='editorials.asp?d=&c='"); // fw_menu_cat_.hideOnMouseOut=true; window.fw_menu_23 = new Menu("root",140,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#163673","#42619C"); fw_menu_23.addMenuItem("The Company","location='editorials.asp?d=23&c=122'"); fw_menu_23.hideOnMouseOut=true; window.fw_menu_26 = new Menu("root",140,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#163673","#42619C"); fw_menu_26.addMenuItem("Directors Team","location='editorials.asp?d=26&c=159'"); fw_menu_26.addMenuItem("Kevin Baxter","location='editorials.asp?d=26&c=134'"); fw_menu_26.addMenuItem("Gavin Ferris","location='editorials.asp?d=26&c=136'"); fw_menu_26.addMenuItem("Gary Thompson","location='editorials.asp?d=26&c=135'"); fw_menu_26.addMenuItem("Sam Culling","location='editorials.asp?d=26&c=140'"); fw_menu_26.addMenuItem("Paul Smith ","location='editorials.asp?d=26&c=155'"); fw_menu_26.addMenuItem("Daren Hamblett","location='editorials.asp?d=26&c=152'"); fw_menu_26.hideOnMouseOut=true; window.fw_menu_25 = new Menu("root",140,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#163673","#42619C"); fw_menu_25.addMenuItem("Clients","location='editorials.asp?d=25&c=124'"); fw_menu_25.addMenuItem("Projects ","location='editorials.asp?d=25&c=139'"); fw_menu_25.hideOnMouseOut=true; window.fw_menu_24 = new Menu("root",140,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#163673","#42619C"); fw_menu_24.addMenuItem("Contact Us","location='editorials.asp?d=24&c=123'"); fw_menu_24.hideOnMouseOut=true; window.fw_menu_27 = new Menu("root",140,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#163673","#42619C"); fw_menu_27.addMenuItem("Architecture","location='editorials.asp?d=27&c=125'"); fw_menu_27.hideOnMouseOut=true; window.fw_menu_28 = new Menu("root",140,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#163673","#42619C"); fw_menu_28.addMenuItem("Quantity Surveying","location='editorials.asp?d=28&c=126'"); fw_menu_28.hideOnMouseOut=true; window.fw_menu_29 = new Menu("root",140,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#163673","#42619C"); fw_menu_29.addMenuItem("Project Management","location='editorials.asp?d=29&c=127'"); fw_menu_29.hideOnMouseOut=true; window.fw_menu_30 = new Menu("root",140,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#163673","#42619C"); fw_menu_30.addMenuItem("Planning Supervision","location='editorials.asp?d=30&c=128'"); fw_menu_30.hideOnMouseOut=true; window.fw_menu_36 = new Menu("root",140,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#163673","#42619C"); fw_menu_36.addMenuItem("IT Consultancy","location='editorials.asp?d=36&c=160'"); fw_menu_36.hideOnMouseOut=true; window.fw_menu_36.writeMenus(); }