var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")

function getthedate(){
  var mydate=new Date()
  var year=mydate.getYear()
  if (year < 1000)
  year+=1900
  var day=mydate.getDay()
  var month=mydate.getMonth()
  var daym=mydate.getDate()
  if (daym<10)
  daym="0"+daym
  var hours=mydate.getHours()
  var minutes=mydate.getMinutes()
  var seconds=mydate.getSeconds()
  var dn="AM"
  if (hours>=12)
  dn="PM"
  if (hours>12){
    hours=hours-12
  }
  if (hours==0)
  hours=12
  if (minutes<=9)
  minutes="0"+minutes
  if (seconds<=9)
  seconds="0"+seconds
  //change font size here
  var cdate='<span class="phonenum">Call 1.800.316.6220 x113</span>&nbsp;&nbsp;'+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" | "+hours+":"+minutes+" "+dn+" (GMT-3)"
  if (document.all)
  document.all.clock.innerHTML=cdate
  else if (document.getElementById)
  document.getElementById("clock").innerHTML=cdate
  else
  document.write(cdate)
}
if (!document.all&&!document.getElementById)
getthedate()
function goforit(){
   if (document.all||document.getElementById)
   setInterval("getthedate()",1000)
}

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)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0){
	subMenuEffect = "inset(duration=0.28);Alpha(style=0,opacity=92);Shadow(color='#3A3A3A', Direction=120, Strength=2)"
}
else{
	subMenuEffect = "Shadow(color='#777777', Direction=120, Strength=5)"
}

timegap=200		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=0;	// Sub menu offset Top position 
suboffset_left=0;	// Sub menu offset Left position
Frames_Top_Offset=0 	// Frames Page Adjustment for Top
Frames_Left_Offset=0	// Frames Page Adjustment for Left

products_style=[		// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"",					// Mouse Off Font Color
"",					// Mouse Off Background Color
"",					// Mouse On Font Color
"",					// Mouse On Background Color
"",					// Menu Border Color 
,					// Font Size (default is px but you can specify mm, pt or a percentage)
"",					// Font Style (italic or normal)
"",					// Font Weight (bold or normal)
"",					// Font Name
,					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"",					// 3D High Color
"",					// 3D Low Color
"",					// Current Page Item Font Color (leave this blank to disable)
"",					// Current Page Item Background Color (leave this blank to disable)
"",					// Top Bar image (Leave this blank to disable)
"",					// Menu Header Font Color (Leave blank if headers are not needed)
"",					// Menu Header Background Color (Leave blank if headers are not needed)
]

subMenu_style=[								// Menu Properties Array
"474747",									// Off Font Color
"EEEEEE",									// Off Back Color
"3399FF",									// On Font Color
"FFFFFF",									// On Back Color
"3A3A3A",									// Border Color
9,											// Font Size
"normal",									// Font Style
"bold",										// Font Weight
"Verdana, Arial, Helvetica, sans-serif",	// Font
3,											// Padding
""											// Sub Menu Image
,											// 3D Border & Separator
"F5F5F5",									// 3D High Color
"F5F5F5"									// 3D Low Color
]



addmenu(menu=[			// This is the array that contains your menu properties and details
"menuProducts",			// Menu Name - This is needed in order for the menu to be called
130,					// Menu Top - The Top position of the menu in pixels
10,						// Menu Left - The Left position of the menu in pixels
203,					// Menu Width - Menus width in pixels
0,						// Menu Border Width 
,						// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
products_style,				// Properties Array - this is set higher up, as above
1,						// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",					// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,						// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,						// Follow Scrolling Top Position - Tells the menu to follow the user down the screen on scroll placing the menu at the value specified.
0, 						// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,						// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,						// Position of TOP sub image left:center:right
,						// Set the Overall Width of Horizontal Menu to 100% and height to a specified amount
,						// Right To Left - Used in Hebrew for example. (1=on/0=off)
,						// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,						// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,						// Reserved for future use
,						// Reserved for future use
,						// Reserved for future use
// "Menu Item Text", "URL", "Alternate URL for submenu holders", "Status Text", "Separator Bar Width"
,"<img src=images/menu_aboutus-off.gif border=0 width=203 height=24>","about_nwdh.htm swapimage=images/menu_aboutus-on.gif",,"",0
,"<img src=images/menu_webhosting-off.gif border=0 width=203 height=24>","show-menu=webservices","hosting_overview.htm swapimage=images/menu_webhosting-on.gif","",0
,"<img src=images/menu_otherservices-off.gif border=0 width=203 height=24>","show-menu=otherservices","other_services.htm swapimage=images/menu_otherservices-on.gif;","",0
,"<img src=images/menu_techsupport-off.gif border=0 width=203 height=24>","show-menu=technicalsupport","techsupport.htm swapimage=images/menu_techsupport-on.gif","",0
,"<img src=images/menu_documentation-off.gif border=0 width=203 height=24>","show-menu=documentation","docs.htm swapimage=images/menu_documentation-on.gif;","",0
,"<img src=images/menu_resellers-off.gif border=0 width=203 height=24>","show-menu=resellerinfo","reseller_program.html swapimage=images/menu_resellers-on.gif;","",0
,"<img src=images/menu_policies-off.gif border=0 width=203 height=24>","show-menu=policyinfo","policies.htm swapimage=images/menu_policies-on.gif;","",0
])

addmenu(menu=["webservices",
,,230,1,"",subMenu_style,,"left",subMenuEffect,,,,,,,,,,,,
,"<img src=images/nav_arrow_off.gif border=0> Starter web hosting","starter_web.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Shared web hosting","shared_web.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Premium web hosting","premium_web.htm  swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Merchant web hosting","merchant_web.htm  swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Dedicated web server","dedicated_hosting.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Shopping carts &amp; e-commerce", "e-store_web.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> SugarCRM Open Source hosting","sugarcrm_info.htm swapimage=images/nav_arrow_on.gif;",,,1
])

// SERVICES SUBMENU NAVIGATION
addmenu(menu=["otherservices",
,,220,1,"",subMenu_style,,"left",subMenuEffect,,,,,,,,,,,,
,"<img src=images/nav_arrow_off.gif border=0> Anti-spam service for e-mail","antispam_service.htm#POSTINI swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Managed DNS service","not_ready2.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Java J2EE application hosting","not_ready2.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Internet/Intranet integration","not_ready2.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> IBM DB2 database hosting","not_ready2.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> MS SQL Server database hosting","not_ready2.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Network monitoring service","not_ready2.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Server co-location service","colocation_info.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Web application security testing","not_ready2.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Web site monitoring service","not_ready2.htm swapimage=images/nav_arrow_on.gif;",,,1
])
addmenu(menu=["technicalsupport",
,,185,1,"",subMenu_style,,"left",subMenuEffect,,,,,,,,,,,,
,"<img src=images/nav_arrow_off.gif border=0> Hosting control panel","https://www.nwd-hosting.com:8443 target=_blank swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Frequently asked questions","faq.php swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Contact technical support","not_ready.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Check for a domain name","http://www.internic.net/whois.html target=_blank swapimage=images/nav_arrow_on.gif;",,,1
])

addmenu(menu=["documentation",
,,185,1,"",subMenu_style,,"left",subMenuEffect,,,,,,,,,,,,
,"<img src=images/nav_arrow_off.gif border=0> Getting started","getting_started.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Using the control panel","whitepapers/web_hosting-users-manual.pdf target=_blank swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Setting up e-mail","email_tutorials.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Setting up a database","not_ready.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Building your web site","not_ready.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Installing applications","not_ready.htm swapimage=images/nav_arrow_on.gif;",,,1
])

addmenu(menu=["resellerinfo",
,,185,1,"",subMenu_style,,"left",subMenuEffect,,,,,,,,,,,,
,"<img src=images/nav_arrow_off.gif border=0> Program information","reseller_program.html swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Sign up to be a reseller","reseller_signup.html swapimage=images/nav_arrow_on.gif;",,,1
])

addmenu(menu=["policyinfo",
,,185,1,"",subMenu_style,,"left",subMenuEffect,,,,,,,,,,,,
,"<img src=images/nav_arrow_off.gif border=0> Acceptible use policy","au_policy.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Copyright policy","cr_policy.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Hosting terms & conditions","hosting_tc.htm swapimage=images/nav_arrow_on.gif;",,,1
,"<img src=images/nav_arrow_off.gif border=0> Privacy policy","priv_policy.htm swapimage=images/nav_arrow_on.gif",,,1
,"<img src=images/nav_arrow_off.gif border=0> Service level agreement","sla.htm swapimage=images/nav_arrow_on.gif;",,,1
])

dumpmenus()