/* ====================
JABATO WEBSITE
SubMenu Generator
====================
*/
// set up drop downs anywhere in the body of the page. I think the bottom of the page is better..
// but you can experiment with effect on loadtime.
if (TransMenu.isSupported()) {
//==================================================================================================
// create a set of dropdowns
//==================================================================================================
// the first param should always be down, as it is here
//
// The second and third param are the top and left offset positions of the menus from their actuators
// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
// something like -5, 5
//
// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
// of the actuator from which to measure the offset positions above. Here we are saying we want the
// menu to appear directly below the bottom left corner of the actuator
//==================================================================================================
var ms = new TransMenuSet(TransMenu.direction.right, 65, -20, TransMenu.reference.bottomLeft);
//==================================================================================================
// create a dropdown menu
//==================================================================================================
// the first parameter should be the HTML element which will act actuator for the menu
//==================================================================================================
var menu = ms.addMenu(document.getElementById("tmenu1"));
menu.addItem("TIME ATTENDANCE", "#");
menu.addItem("ACCESS CONTROL", "#");
menu.addItem("ELECTRIC LOCK", "#");
menu.addItem("PC-BASED READERS", "#");
menu.addItem("SOFTWARE & SDK", "#");
menu.addItem("ACCESSORIES & OTHERS", "#");
menu.addItem("CCTV PACKAGES", "cctv.php");
var menu1 = menu.addMenu(menu.items[0]);
menu1.addItem("Solution X103-CE", "x103ce.php");
menu1.addItem("Solution X102-C", "x102c.php");
menu1.addItem("Solution X100-C", "x100c.php");
menu1.addItem("Solution X300", "x300.php");
menu1.addItem("Solution X302", "x302.php");
menu1.addItem("Solution X400", "x400.php");
menu1.addItem("Solution X401", "x401.php");
menu1.addItem("Solution X500", "x500.php");
menu1.addItem("Solution X602", "x602.php");
menu1.addItem("Solution X601", "x601.php");
menu1.addItem("Solution C1", "c1.php");
menu1.addItem("Solution C3", "c3.php");
menu1.addItem("Solution C4", "c4.php");
menu1.addItem("Solution P101", "p101.php");
menu1.addItem("Solution P100", "p100.php");
menu1.addItem("U.are.U 4500", "#");
menu1.addItem("Proximity USB-R4", "#");
var menu112 = menu1.addMenu(menu1.items[15]);
menu112.addItem("+ Attendance Software", "u4500-att.php");
menu112.addItem("Hardware + SDK", "u4500.php");
var menu12 = menu1.addMenu(menu1.items[16]);
menu12.addItem("+ Attendance Software", "r4-att.php");
menu12.addItem("Hardware Only", "r4.php");
var menu2 = menu.addMenu(menu.items[1]);
menu2.addItem("Solution X300", "x300.php");
menu2.addItem("Solution X302", "x302.php");
menu2.addItem("Solution X400", "x400.php");
menu2.addItem("Solution X401", "x401.php");
menu2.addItem("Solution X500", "x500.php");
menu2.addItem("Solution X601", "x601.php");
menu2.addItem("Solution A100", "a100.php");
menu2.addItem("Solution C1", "c1.php");
menu2.addItem("Solution C3", "c3.php");
menu2.addItem("Solution C4", "c4.php");
menu2.addItem("Proximity MG236", "mg236.php");
menu2.addItem("Proximity JS868", "js868.php");
menu2.addItem("Remote RC4", "rc4.php");
menu2.addItem("Keylock 4900", "keylock4900.php");
menu2.addItem("Keylock L5000", "l5000.php");
menu2.addItem("Solution L1", "l1.php");
var menu3 = menu.addMenu(menu.items[2]);
menu3.addItem("Drop Bolt Series", "#");
menu3.addItem("Magnetic Lock Series", "#");
menu3.addItem("Door Strike Series", "#");
menu3.addItem("View All Locks", "lock.php");
var menu31 = menu3.addMenu(menu3.items[0]);
menu31.addItem("DB-100", "db100.php");
menu31.addItem("DB-101", "db101.php");
menu31.addItem("BK-100", "bk100.php");
menu31.addItem("BK-200", "bk200.php");
var menu32 = menu3.addMenu(menu3.items[1]);
menu32.addItem("EM-600", "em600.php");
menu32.addItem("BK-600", "bk600.php");
var menu33 = menu3.addMenu(menu3.items[2]);
menu33.addItem("DS-100", "ds100.php");
menu33.addItem("DS-101", "ds101.php");
menu33.addItem("DS-200", "ds200.php");
menu33.addItem("DS-201", "ds201.php");
var menu6 = menu.addMenu(menu.items[3]);
menu6.addItem("U.are.U 4500", "u4500.php");
menu6.addItem("Proximity USB-R4", "r4.php");
menu6.addItem("Mifare ACR-120U", "acr120.php");
var menu4 = menu.addMenu(menu.items[4]);
menu4.addItem("Solution Attendance Management + Payroll", "att.php");
menu4.addItem("Solution Fingerprint SDK", "sdk.php");
menu4.addItem("Solution ADMS Server", "adms.php");
menu4.addItem("SMS Gateway For School Students", "sms-gateway.php");
menu4.addItem("Solution PC Security + File Encryption", "pc-security.php");
var menu5 = menu.addMenu(menu.items[5]);
menu5.addItem("Fingeprint + Proximity Addon Reader", "afr.php");
menu5.addItem("Proximity Addon Reader", "apr.php");
menu5.addItem("Proximity EM Card (Thickness)", "card1.php");
menu5.addItem("Proximity EM Card (Thinness)", "card2.php");
menu5.addItem("Mifare 1K Card", "mifare1k.php");
menu5.addItem("Mifare 4K Card", "mifare4k.php");
//==================================================================================================
//==================================================================================================
// 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();
}