function init() { //========================================================================================== // if supported, initialize TransMenus //========================================================================================== // Check isSupported() so that menus aren't accidentally sent to non-supporting browsers. // This is better than server-side checking because it will also catch browsers which would // normally support the menus but have javascript disabled. // // If supported, call initialize() and then hook whatever image rollover code you need to do // to the .onactivate and .ondeactivate events for each menu. //========================================================================================== if (TransMenu.isSupported()) { TransMenu.initialize(); // hook all the highlight swapping of the main toolbar to menu activation/deactivation // instead of simple rollover to get the effect where the button stays hightlit until // the menu is closed. parent016.onactivate = function() { document.getElementById("parent016").className = "hover"; }; parent016.ondeactivate = function() { document.getElementById("parent016").className = ""; }; parent017.onactivate = function() { document.getElementById("parent017").className = "hover"; }; parent017.ondeactivate = function() { document.getElementById("parent017").className = ""; }; } } if (TransMenu.isSupported()) { var ms = new TransMenuSet(TransMenu.direction.right, 201, 0, TransMenu.reference.TopLeft); var parent016 = ms.addMenu(document.getElementById("parent016")); var parent017 = ms.addMenu(document.getElementById("parent017")); parent016.addItem("International Agreements","saert.shetanxmebebi.php"); // - 0 - num: 0 parent016.addItem("Laws","kanonebi.php"); // - 0 - num: 1 parent016.addItem("President Decrees","brdzanebulebebi.php"); // - 0 - num: 2 parent016.addItem("Government Resolutions","dadgenilebebi.php"); // - 0 - num: 3 parent016.addItem("Ministerial Orders","ministris.php"); // - 0 - num: 4 parent016.addItem("Orders of the Director of Civil Aviation Agency","dgcaa orders.php"); // - 0 - num: 5 parent016.addItem("Official Publications","handbooks.php"); // - 0 - num: 6 parent017.addItem("Flight Schedule",""); // - 5 - num: 0 var parent01711 = parent017.addMenu(parent017.items[0]); parent01711.addItem("International passenger flights from Tbilisi Airport","tbilisiout.php"); // - 0 - num: 0 parent01711.addItem("International passenger flights from Batumi Airport","batumiout.php"); // - 0 - num: 1 parent01711.addItem("International passenger flights from Kutaisi Airport","kutaisi.php"); // - 0 - num: 2 parent01711.addItem("Cargo flights","cargofly.php"); // - 0 - num: 3 parent01711.addItem("Domestic flights","local.php"); // - 0 - num: 4 parent017.addItem("Number of Passengers Served","regular.php"); // - 0 - num: 1 parent017.addItem("Air Carrier Traffic at Georgian Airports","regular_old.php"); // - 0 - num: 2 parent017.addItem("Cargo","cargoregdaarareg.php"); // - 0 - num: 3 TransMenu.renderAll(); }