﻿
menunum=0;
menus=new Array();
_d=document;

function addmenu()
{
	menunum++;
	menus[menunum]=menu;
}

function dumpmenus()
{
	mt="<script language=javascript>";
	for(a=1;a<menus.length;a++) {
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="</script>";
	_d.write(mt)
}

effect = "Fade(duration=0.3);Alpha(style=1,opacity=95);Shadow(color='Black', Direction=135, Strength=3);"
timegap=500;
followspeed=5;
followrate=40;
suboffset_top=3;
suboffset_left=15;
closeOnClick = true;
style_primary=["white","000066","000066","white","0033cc",12,"normal","bold","Tahoma, Verdana, Arial",2,"images/arrow_green_side.gif",,"66ffff","000099","white","000066",,"white","cccccc","gray",]
style_secondary=["000066","white","white","cccccc","000000",12,"normal","bold","Tahoma, Verdana, Arial",2,"images/arrow_green_white_angle.gif",,"66ffff","000099","000066","white","arrowdn.gif","000000","cccccc","cccccc",]

//style_primary=["white","0033cc","0033cc","white","0033cc",12,"normal","bold","Arial, Helvetica, sans-serif",2,"http://www.nokiausa.com/images/nav/arrow_green_side.gif",,"66ffff","000099","white","000066",,"white","cccccc","gray",]
//style_secondary=["0033cc","white","white","009933","000000",12,"normal","bold","Arial, Helvetica, sans-serif",2,"../images/arrow_green_white_angle.gif",,"66ffff","000099","000066","white","arrowdn.gif","000000","cccccc","cccccc",]

//top
addmenu(menu=["mainmenu",115,40,,1,,style_primary,1,"left",,,1,,,,,,"layer1",,,,,
"&nbsp;Home&nbsp;","index.asp?pid=1 onfontcolor=black;onbackcolor=white;offfontcolor=white;offbackcolor=000066;",,"GlobalTop Home",1,
"&nbsp;About&nbsp;GlobalTop&nbsp;","index.asp?pid=2",,"About GlobalTop",1,
"&nbsp;Product&nbsp;","index.asp?pid=305&amp;linkID=mode",,"GlobalTop Product Series",1,
"&nbsp;Support&nbsp;","show-menu=support","index.asp?pid=401","Support",1,
"&nbsp;Software Technology&nbsp;","show-menu=technology",,"Technology",1,
//"&nbsp;Distributor Agent&nbsp;","","index.asp?pid=2","Distributor Agent",1,
"&nbsp;OEM/ODM&nbsp;","index.asp?pid=708",,"OEM/ODM",1,
"&nbsp;Track Shipments&nbsp;","http://www.gtop-tech.com/login/Default.aspx",,"Track Shipments",1,
"&nbsp;Contact&nbsp;us&nbsp;","index.asp?pid=7",,"How to contact GlobalTop",1
])

// level one
//GPS
//addmenu(menu=["gps",,,208,1,,style_secondary,0,"left",,0,0,,,,,,"layer1",,,,,
//"&nbsp;&nbsp;Electromedicine","show-menu=electromedicine","index.asp?pid=31101","Electromedicine Category",1,
//"&nbsp;&nbsp;PND Navigator","index.asp?pid=301",,"PND Navigator",1,
//"&nbsp;&nbsp;Speed Camera Advisor <font color=red size=1>New!</font>","index.asp?pid=314",,"Speed Camera Advisor",1,
//"&nbsp;&nbsp;HUD GPS Speed Meter","index.asp?pid=309",,"HUD GPS Speed Meter with BT",1,
//"&nbsp;&nbsp;touch GPS G66 Plus<font color=red size=1>New!</font>","index.asp?pid=3101",,"The most Thinness BT GPS in the world",1,
//"&nbsp;&nbsp;touch GPS G66","index.asp?pid=310",,"The most Thinness BT GPS in the world",1,
//"&nbsp;&nbsp;BT GPS Receiver","show-menu=btgps","index.asp?pid=302","BT GPS Receiver Category",1,
//"&nbsp;&nbsp;Wired GPS Receiver","show-menu=gmouse","index.asp?pid=303","Gmouse PS/2 and USB Category",1,
//"&nbsp;&nbsp;External antenna","show-menu=antenna","index.asp?pid=304","External antenna",1,
//"&nbsp;&nbsp;GPS Engine Board","index.asp?pid=305&linkID=mode",,"GPS Engine Board",1
//"&nbsp;&nbsp;RF Technology","index.asp?pid=306",,"RF Technology",1,
//"&nbsp;&nbsp;Domotrics","show-menu=domotrics","index.asp?pid=312","Domotrics Category",1,
//"&nbsp;&nbsp;Lightning Switch","index.asp?pid=307",,"Lightning Switch Transmitters and Receivers Battery-Free Remote Controller",1,
//"&nbsp;&nbsp;OEM/ODM","index.asp?pid=308",,"OEM/ODM",1
//])

//Technology
addmenu(menu=["technology",,,208,1,,style_secondary,0,"left",,0,0,,,,,,"layer1",,,,,
"&nbsp;&nbsp;Assist GPS Solution","http://www.gtop-tech.com/tech/AGPS%20Web.htm",,"AGPS Technology",1,
"&nbsp;&nbsp;Magnetic Variation Solution","http://www.gtop-tech.com/tech/mv.htm",,"Magnetic Variation",1,
"&nbsp;&nbsp;10Hz Update Rate","http://www.gtop-tech.com/tech/10hz.htm",,"10Hz Update Rate",1,
"&nbsp;&nbsp;One Sentence","http://www.gtop-tech.com/tech/OneSentence.htm",,"One Sentence",1
//"&nbsp;&nbsp;Pednav Mode","http://www.gtop-tech.com/tech/PednavMode.htm",,"Pednav Mode",1

])

//Support
addmenu(menu=["support",,,208,1,,style_secondary,0,"left",,0,0,,,,,,"layer1",,,,,
"&nbsp;&nbsp;Download","index.asp?pid=401",,"Download",1,
"&nbsp;&nbsp;FAQ","index.asp?pid=402",,"FAQ",1
])

//News & Events
addmenu(menu=["news",,,208,1,,style_secondary,0,"left",,0,0,,,,,,"layer1",,,,,
"&nbsp;&nbsp;News","index.asp?pid=6",,"News",1,
"&nbsp;&nbsp;Exhibition Fair","index.asp?pid=602",,"Exhibition Fair",1
])

//level two
//GPS/Electromedicine
//addmenu(menu=["electromedicine",,,208,1,,style_secondary,0,"left",,0,0,,,,,,"layer1",,,,,
//"&nbsp;&nbsp;ZigBee Emotion Ring","index.asp?pid=31101",,"ZigBee Emotion Ring",1
//])
//GPS/BT GPS Receiver
addmenu(menu=["btgps",,,208,1,,style_secondary,0,"left",,0,0,,,,,,"layer1",,,,,
//"&nbsp;&nbsp;mini-Solar BT G50","index.asp?pid=30201",,"mini-Solar BT GPS Receiver G50 - SiRF Star III",1,
//"&nbsp;&nbsp;mini-Solar BT G55","index.asp?pid=30202",,"mini-Solar BT GPS Receiver G55 - 51 channel ultra low power system",1,
//"&nbsp;&nbsp;Solar BT G20","index.asp?pid=30203",,"Solar BT GPS Receiver G20 - SiRF Star III",1,
//"&nbsp;&nbsp;Solar BT G21","index.asp?pid=30204",,"Solar BT GPS Receiver G21 - 51 channel ultra low power system",1,
"&nbsp;&nbsp;Normal BT G22","index.asp?pid=30205",,"BT GPS Receiver G22 - SiRF Star III",1,
"&nbsp;&nbsp;Normal BT G32","index.asp?pid=30206",,"BT GPS Receiver G32 - 51 channel ultra low power system",1,
"&nbsp;&nbsp;Normal BT G33","index.asp?pid=30207",,"BT GPS Receiver G33 - 51 channel ultra low power system",1
])
//GPS/Wired GPS Receiver
addmenu(menu=["gmouse",,,208,1,,style_secondary,0,"left",,0,0,,,,,,"layer1",,,,,
"&nbsp;&nbsp;GMouse GSR70","index.asp?pid=30301",,"GPS Mouse type Receiver / Smart Antenna GSR70 - SiRF Star III",1,
"&nbsp;&nbsp;GMouse GMR75","index.asp?pid=30302",,"GPS Mouse type Receiver / Smart Antenna GMR75 - 32 channel ultra low power system",1
])
//External antenna
addmenu(menu=["antenna",,,208,1,,style_secondary,0,"left",,0,0,,,,,,"layer1",,,,,
"&nbsp;&nbsp;GPS Antenna Module","index.asp?pid=30401",,"High sensitivity, low power consumption, best compact size design",1,
"&nbsp;&nbsp;GPS External Antenna","index.asp?pid=30402",,"High sensitivity, low power consumption, best compact size",1
])
//GPS/Domotrics
//addmenu(menu=["domotrics",,,208,1,,style_secondary,0,"left",,0,0,,,,,,"layer1",,,,,
//"&nbsp;&nbsp;TX/RX module","index.asp?pid=306",,"TX/RX module",1,
//"&nbsp;&nbsp;uPower<SUP>2</SUP> Eco Remote","index.asp?pid=307",,"Lightning Switch Transmitters and Receivers Battery-Free Remote Controller",1
//])

dumpmenus()
