var hBar = new ItemStyle(110, 0, '', 0, 0, 'http://www.irdeto.com/images/topnav/e_about_off.gif', 'http://www.irdeto.com/images/topnav/e_about_on.gif', 'highText', 'highText', '', '', null, null, 'hand', 'hand'); // Main drop down 134px wide var mainM = new ItemStyle(25, 0, '', -15, 3, '#0096a7', '#3dafbc', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var mainMFirst = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dropdown_top_off.gif', 'http://www.irdeto.com/images/dd/dropdown_top_on.gif', 'lowTextTop', 'highTextTop', '', '', null, null, 'hand', 'hand'); var mainMLast = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dropdown_bottom_off.gif', 'http://www.irdeto.com/images/dd/dropdown_bottom_on.gif', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var mainMSingle = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dropdown_single_off.gif', 'http://www.irdeto.com/images/dd/dropdown_single_on.gif', 'lowTextSingle', 'highTextSingle', '', '', null, null, 'hand', 'hand'); // Main drop down 150px wide var mainW = new ItemStyle(25, 0, '', -15, 3, '#0096a7', '#3dafbc', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var mainWFirst = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_top_w_off.gif', 'http://www.irdeto.com/images/dd/dd_top_w_on.gif', 'lowTextTop', 'highTextTop', '', '', null, null, 'hand', 'hand'); var mainWLast = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_bottom_w_off.gif', 'http://www.irdeto.com/images/dd/dd_bottom_w_on.gif', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var mainWSingle = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_single_w_off.gif', 'http://www.irdeto.com/images/dd/dd_single_w_on.gif', 'lowTextSingle', 'highTextSingle', '', '', null, null, 'hand', 'hand'); // Main drop down 170px wide var mainW2 = new ItemStyle(25, 0, '', -15, 3, '#0096a7', '#3dafbc', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var mainW2First = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_top_w2_off.gif', 'http://www.irdeto.com/images/dd/dd_top_w2_on.gif', 'lowTextTop', 'highTextTop', '', '', null, null, 'hand', 'hand'); var mainW2Last = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_bottom_w2_off.gif', 'http://www.irdeto.com/images/dd/dd_bottom_w2_on.gif', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var mainW2Single = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_single_w2_off.gif', 'http://www.irdeto.com/images/dd/dd_single_w2_on.gif', 'lowTextSingle', 'highTextSingle', '', '', null, null, 'hand', 'hand'); // Main drop down 230px wide var mainW3 = new ItemStyle(25, 0, '', -15, 3, '#0096a7', '#3dafbc', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var mainW3First = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_top_w3_off.gif', 'http://www.irdeto.com/images/dd/dd_top_w3_on.gif', 'lowTextTop', 'highTextTop', '', '', null, null, 'hand', 'hand'); var mainW3Last = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_bottom_w3_off.gif', 'http://www.irdeto.com/images/dd/dd_bottom_w3_on.gif', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var mainW3Single = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_single_w3_off.gif', 'http://www.irdeto.com/images/dd/dd_single_w3_on.gif', 'lowTextSingle', 'highTextSingle', '', '', null, null, 'hand', 'hand'); // Sub drop down 134px wide var subM = new ItemStyle(25, 0, '', -15, 3, '#0096a7', '#3dafbc', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var subMFirst = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_sub_top_off.gif', 'http://www.irdeto.com/images/dd/dd_sub_top_on.gif', 'lowTextTop', 'highTextTop', '', '', null, null, 'hand', 'hand'); var subMLast = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dropdown_bottom_off.gif', 'http://www.irdeto.com/images/dd/dropdown_bottom_on.gif', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var subMSingle = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_sub_single_off.gif', 'http://www.irdeto.com/images/dd/dd_sub_single_on.gif', 'lowTextSingle', 'highTextSingle', '', '', null, null, 'hand', 'hand'); // Sub drop down 150px wide var subW = new ItemStyle(25, 0, '', -15, 3, '#0096a7', '#3dafbc', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var subWFirst = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_sub_top_w_off.gif', 'http://www.irdeto.com/images/dd/dd_sub_top_w_on.gif', 'lowTextTop', 'highTextTop', '', '', null, null, 'hand', 'hand'); var subWLast = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_bottom_w_off.gif', 'http://www.irdeto.com/images/dd/dd_bottom_w_on.gif', 'lowText', 'highText', '', '', null, null, 'hand', 'hand'); var subWSingle = new ItemStyle(25, 0, '', -15, 3, 'http://www.irdeto.com/images/dd/dd_sub_w_single_off.gif', 'http://www.irdeto.com/images/dd/dd_sub_w_single_on.gif', 'lowTextSingle', 'highTextSingle', '', '', null, null, 'hand', 'hand'); var hNews = new ItemStyle(120, 0, '', 0, 0, 'http://www.irdeto.com/images/topnav/e_news_off.gif', 'http://www.irdeto.com/images/topnav/e_news_on.gif', 'highText', 'highText', '', '', null, null, 'hand', 'hand'); var hSolutions = new ItemStyle(89, 0, '', 0, 0, 'http://www.irdeto.com/images/topnav/e_solutions_off.gif', 'http://www.irdeto.com/images/topnav/e_solutions_on.gif', 'highText', 'highText', '', '', null, null, 'hand', 'hand'); var hProducts = new ItemStyle(85, 0, '', 0, 0, 'http://www.irdeto.com/images/topnav/e_products_off.gif', 'http://www.irdeto.com/images/topnav/e_products_on.gif', 'highText', 'highText', '', '', null, null, 'hand', 'hand'); var hCustomerSupport = new ItemStyle(136, 0, '', 0, 0, 'http://www.irdeto.com/images/topnav/e_customer_off.gif', 'http://www.irdeto.com/images/topnav/e_customer_on.gif', 'highText', 'highText', '', '', null, null, 'hand', 'hand'); var hPartners = new ItemStyle(78, 0, '', 0, 0, 'http://www.irdeto.com/images/topnav/e_partners_off.gif', 'http://www.irdeto.com/images/topnav/e_partners_on.gif', 'highText', 'highText', '', '', null, null, 'hand', 'hand'); var pMenu = new PopupMenu('pMenu'); with (pMenu) { startMenu('root', false, -100, -100, 1, hBar, '', false); You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cms_office_id = 0 AND cms_parent_page_id = AND cms_page_in_navigation = 'ye' at line 1