//...new Array('Label','link','target','subMenu','public/staff')
//,new Array('','','','','')
// this file is found as: /public/siteFiles/siteMenu.js

var mainMenu = new Array
(new Array('Water Rights','wrinfo/default.asp','','wrMenu','')
,new Array('Wells','/wellinfo/default.asp','','wellsMenu','')
,new Array('Dams','/daminfo/default.asp','','damMenu','')
,new Array('Stream Alteration','/strmalt/default.asp','','streamAltMenu','')
,new Array('GIS Data','/gisinfo/default.asp','','gisMenu','')
,new Array('Publications','/techinfo/default.asp','','pubsMenu','')
,new Array('Distribution/Flow Records','/distinfo/default.asp','','flowRecMenu','')
,new Array('Meetings','/meetinfo/default.asp','','meetingsMenu','')
,new Array('Regulation','/regulation/default.asp','','regulation','')
,new Array('Water Rights Law (Utah Code)','code_index.htm','','','')
,new Array('Administrative Rules','http://www.rules.utah.gov/publicat/code/r655/r655.htm','*','','')
,new Array('Agency History','images/staff/engineers/index.htm','','','')
,new Array('Website Information','/srvrinfo/default.asp','','siteInfoMenu','')
,new Array('Current Issues','/miscinfo/currentIssues.asp','','','')
,new Array('Suggestion Box','/miscinfo/suggestions.asp','','','')
)

var wrMenu = new Array
(new Array('Forms','forms/default.asp','','wrForms','')
,new Array('Queries','query.asp','','wrQueryMenu','')
,new Array('Notices','notices.asp','','wrNoticesMenu','')
,new Array('Rules/Procedures','policy/default.asp','','wrPoliciesMenu','')
,new Array('Adjudication','/adjdinfo/default.asp','','wrAdjudMenu','')
,new Array('Proof of Beneficial Use','/proofs/default.asp','','','')
,new Array('Glossary of Terms','glossary.asp','','','')
,new Array('Frequently Asked Questions','faq.asp','','','')
,new Array('Filing Fees','forms/fees.asp','','','')
)

var wrForms = new Array
(new Array('Application to Appropriate','approp.pdf','*','','')
,new Array('Assignment Form','http://waterrights.utah.gov/forms/assignmentForm.asp','*','','')
,new Array('Change Application','change.pdf','*','','')
,new Array('Change of Address','address_change.htm','*','','')
,new Array('Diligence Claim Form','dil.pdf','*','','')
,new Array('Election Form','Election_Form.pdf','*','','')
,new Array('Exchange Application','exchange.pdf','*','','')
,new Array('Extension Form','http://waterrights.utah.gov/forms/extensionForm.asp','*','','')
,new Array('Groundwater Recharge Permit','http://waterrights.utah.gov/forms/rechargeForm.asp','*','','')
,new Array('Groundwater Recovery Permit','http://waterrights.utah.gov/forms/recoveryForm.asp','*','','')
,new Array('Group Contribution Form','http://waterrights.utah.gov/forms/SoleSupplyForm.asp','*','','')
,new Array('Map Verification Form','Map_Verification.pdf','*','','')
,new Array('Nonuse Application','nonuse.htm','*','','')
,new Array('Non-production Well Construction Request','http://waterrights.utah.gov/forms/nonProdWell.asp','*','','')
,new Array('Proof of Beneficial Use Forms','/proofs/default.asp','','','')
,new Array('Report of Conveyance (100%)','http://waterrights.utah.gov/forms/roc_full.asp','*','','')
,new Array('Report of Conveyance (Portion)','http://waterrights.utah.gov/forms/roc_portion.asp','*','','')
,new Array('Segregation Application','seg.pdf','*','','')
,new Array('Temporary Change Application','tchange.pdf','*','','')
,new Array('Well Renovation Application','http://waterrights.utah.gov/forms/renovate.asp','*','','')
,new Array('Well Replacement Application','http://waterrights.utah.gov/forms/replace.asp','*','','')
,new Array('Withdrawal Requests','http://waterrights.utah.gov/forms/withdrawalForm.asp','','','')
,new Array('Livestock Certificate','/stockcertdb/stockapp.asp','','','')
)

var wrProof = new Array
(new Array('Simple Proof Form','proof2.pdf','*','','')
,new Array('Full Proof Form','proof1.pdf','*','','')
,new Array('Owner Signature(s) Form','proof3.pdf','*','','')
,new Array('Instructions','proof4.pdf','*','','')
)

var wellsMenu = new Array
(new Array('Licensed Well Drillers','/cgi-bin/drilview.exe','','','')
,new Array('Administrative Drilling Rules','http://www.rules.utah.gov/publicat/code/r655/r655-004.htm','','','')
,new Array('Well Drilling Database','/wellInfo/wellInfo.asp','','','')
,new Array('Geologic Well Logs','/cgi-bin/wellview.exe?Modinfo=Geolog','*','','')
,new Array('Well Drilling Statistics','stats2k/default.asp','','','')
,new Array('Driller Licensing and Registration','register.asp','','wlDrlLicRegMenu','')
,new Array('Driller Continuing Education','ceprog.asp','','wlDrlEdMenu','')
,new Array('Well Drilling Contacts','/contact.asp#Well_Drilling','','','')
,new Array('USGS Observation Wells','http://waterrights.utah.gov/wellInfo/usgs/USGSobservation.asp','','','')
,new Array('Groundwater Management','/groundwater/default.asp','','GroundWaterMenu','')
)

var damMenu = new Array
(new Array('State Code','http://le.utah.gov/~code/TITLE73/73_05a.htm','','','')
,new Array('Administrative Rules','rules.asp','','','')
,new Array('Dam Inventory','/cgi-bin/damview.exe?Startup','','','')
,new Array('Find a Dam by Interactive Map','http://utstnrwrt6.waterrights.utah.gov/mapserver/dams/startup.htm','*','','')
,new Array('Find a Dam by Clickable Map','/cgi-bin/damview.exe?Modinfo=Dammain&Key=Select+from+Map','','','')
,new Array('Dam Application Forms and Guides','forms.asp','','','')
,new Array('Emergency Procedures Manual','emergency.pdf','','','staff')
,new Array('Reservoir Levels','http://waterrights.utah.gov/daminfo/ReservoirFills.asp','','','')
)

var streamAltMenu = new Array
(new Array('Stream Alteration Home','http://www.waterrights.utah.gov/strmalt/default.asp','','','')
,new Array('Stream Alteration Database','/cgi-bin/strmview.exe','','','')
,new Array('Recreational Dredging and Sluicing','http://www.waterrights.utah.gov/strmalt/rds.asp','','','')
,new Array('Application Forms','http://www.waterrights.utah.gov/strmalt/forms.asp','','','')
,new Array('Fact Sheets','http://www.waterrights.utah.gov/strmalt/whitepapers/default.asp','','strmFactSheetMenu','')
,new Array('Violations','http://www.waterrights.utah.gov/strmalt/whitepapers/whitepaper06.pdf','','','')
,new Array('Utah Code','http://le.utah.gov/~code/TITLE73/htm/73_03_002900.htm','','','')
,new Array('Administrative Rules','http://www.rules.utah.gov/publicat/code/r655/r655-013.htm','','','')
,new Array('FAQ','http://www.waterrights.utah.gov/strmalt/faq.asp','','','')
,new Array('Stream Alteration Map','http://utstnrwrt6.waterrights.utah.gov/mapserver/strmalt/startup.htm','*','','')
,new Array('Contacts','http://waterrights.utah.gov/contact.asp#Stream_Alteration','*','','')
)

var strmFactSheetMenu = new Array
(new Array('Best Management Practices','whitepaper01.pdf','','','')
,new Array('Stream Alteration Program','whitepaper04.pdf','','','')
,new Array('Application Instructions','whitepaper02.pdf','','','')
,new Array('Sediment Control','whitepaper03.pdf','','','')
,new Array('Post Construction Vegetation','whitepaper05.pdf','','','')
,new Array('Stream Alteration Violations','whitepaper06.pdf','','','')
)

var gisMenu = new Array
(new Array('Topo Maps and Photos','http://gis.utah.gov/usgs-topographic-maps-drgs/download-usgs-scanned-topographic-maps','','','')
,new Array('Water Right Maps','maps/default.asp','','','')
,new Array('GIS Data','wrcover.asp','','','')
,new Array('Location Calculator','http://utstnrwrt6.waterrights.utah.gov/mapserver/location/location.asp','','','')
,new Array('Address Calculator','http://utstnrwrt6.waterrights.utah.gov/mapserver/geocode/geocode.asp','','','')
)

var pubsMenu = new Array
(new Array('View Publications','/cgi-bin/libview.exe?STARTUP','','','')
,new Array('Obtaining Publications','bookstr.asp','','','')
,new Array('Current Studies','studies.aspx','','','')
//,new Array('Current Studies','current_studies/default.htm','','','')
,new Array('Consumptive Use Tables','http://utstnrwrt6.waterrights.utah.gov/mapserver/consumptive/startup.htm','','','')
,new Array('Bear River Commission Documents','bearrivc/default.asp','','','')
,new Array('Bear River Watershed History (USU)','http://digital.lib.usu.edu/bear.php','*','','')
,new Array('Old Photos','/cgi-bin/docview.exe?Folder=OLD_PHOTOS','*','','staff')
,new Array('Staff Manuals','http://waterrights.utah.gov/utils/staffManuals.asp','','pbStfManMenu','staff')
,new Array('Agency History','http://waterrights.utah.gov/images/staff/engineers/index.htm','','','')
,new Array('Historical Events','/cgi-bin/staffapp.exe?Path=staff/tech/events.htm','','','staff')
,new Array('Agency Planning','/cgi-bin/staffapp.exe?Path=staff/default.htm','','','staff')
)

var flowRecMenu = new Array
(new Array('Distribution Systems','distribution_systems.asp','','flowRecDistMenu','')
,new Array('Public Water Suppliers','wuse.asp','','flowRecPWSMenu','')
,new Array('Water Rights Streamgages','/cgi-bin/gageview.exe?Startup','','','')
,new Array('USGS Streamgages','http://ut.water.usgs.gov/','','','')
,new Array('USGS Utah StreamStats','http://water.usgs.gov/osw/streamstats/utah.html','','','')
,new Array('USGS Observation Wells','http://waterrights.utah.gov/wellInfo/usgs/USGSobservation.asp','','','')
,new Array('Snow Survey','http://www.ut.nrcs.usda.gov/snow/','','','')
,new Array('River Forecasts/Weather','http://www.cbrfc.noaa.gov/','','','')
,new Array('Utah Climate Data','http://climate.usurf.usu.edu/index.php','*','','')
,new Array('Realtime ET Rates','http://extension.usu.edu/agweather','*','','')
,new Array('CUWCD Realtime Data','cuwcd_realtime.asp','','','staff')
,new Array('Colorado River Management','colorado/default.asp','','colorado','')
,new Array('Utah Water Users Website','http://www.utahwaterusers.com','*','','')
,new Array('Flow Measurement','http://waterrights.utah.gov/distinfo/measurement.asp','','measureMenu','')
)

var measureMenu = new Array
(new Array('Flow Measurement Devices','http://waterrights.utah.gov/distinfo/measurement_devices.pdf','','','')
,new Array('Ultrasonic Flow Measurement','http://waterrights.utah.gov/distinfo/ultrasonicMeter.pdf','','','')
,new Array('USBR Measurement Manual','http://www.usbr.gov/pmts/hydraulics_lab/pubs/wmm','*','','staff')
,new Array('Flow Measurement Products','/cgi-bin/staffapp.exe?Path=distinfo/default.asp','','','staff')
)

var colorado = new Array
(new Array('Lake Powell Storage History','lakepowell.asp','*','','')
,new Array('Flaming Gorge Storage History','flaming.asp','*','','')
,new Array('Upper Colorado Conditions','http://waterrights.utah.gov/distinfo/colorado/upper_colorado.pdf','','','')
,new Array('Climate Change Info','http://wwa.colorado.edu','*','','')
,new Array('Power Generation','http://www.creda.org','*','','')
,new Array('Reports/Publications','http://www.waterrights.utah.gov/cgi-bin/libview.exe?Modinfo=Pubmain&Submod=Pubtype&Key=List+Publications&QSTRING=00000020','','','')
,new Array('Priority List','WRPriorityDDview.asp ','*','','staff')
)

var meetingsMenu = new Array
(new Array('Planned Meetings','newmeet.asp','','','')
,new Array('Past Meetings','oldmeet.asp','','','')
,new Array('Distribution Meetings','dist.asp','','','')
,new Array('Hearing Recordings','/cgi-bin/docview.exe?Folder=HEARINGS&Key=Sort+by+Date','','','')
,new Array('Hearing Schedule','http://waterrights.utah.gov/cblapps/hearings.exe?key=Show+Scheduled+Hearings','*','','')
,new Array('Hearing Recording Instructions','recording_instructions.pdf','*','','staff')
,new Array('Utah Public Meetings','http://www.utah.gov/pmn/index.html','','','')
)

var regulation = new Array
(new Array('Regulation Database','http://waterrights.utah.gov/seactions/default.asp','*','','')
,new Array('Submittals Registration','http://waterrights.utah.gov/seactions/registration.asp','*','','')
,new Array('Information Brochure','brochure.pdf','*','','')
,new Array('Form to Report Illegal Use','referral.pdf','*','','')
,new Array('Staff Form to Report Illegal Use','staff_questionaire.pdf','*','','staff')
,new Array('Regulation Statutes','http://www.le.state.ut.us/~code/TITLE73/73_02.htm','*','','')
,new Array('Enforcement Powerpoint Presentation','enforcement.ppt','*','','')
)

var siteInfoMenu = new Array
(new Array('Revision History','chglog.asp','','','')
,new Array('Printing Help','prthelp.asp','','','')
,new Array('Navigation Hints','navigate.asp','','','')
,new Array('Reset Login','/cgi-bin/login.exe?Modinfo=Sweep','','','login')
,new Array('Staff Login','/cgi-bin/login.exe','','','login')
,new Array('Schedule Program','http://waterrights.utah.gov/cblapps/schedule10.exe','*','','staff')
,new Array('Time Card System','http://waterrights.utah.gov/timecard','*','','staff')
,new Array('Email System','http://email.state.ut.us','*','','staff')
//,new Array('Network Drive Files','https://168.179.212.74/oneNet/netstorage','*','','staff')
,new Array('User Preferences','/cgi-bin/userpref.exe','*','','staff')
,new Array('Equipment Reservation','/cgi-bin/equpview.exe','*','','staff')
,new Array('Inventory','http://waterrights.utah.gov/pilferableassets/default.asp','*','','staff')
,new Array('Training Opportunities','http://waterrights.utah.gov/trainingActivity/default.asp','','','staff')
,new Array('The Flow','http://waterrights.utah.gov/theFlow.asp','','','staff')
,new Array('Log Out','/cgi-bin/login.exe?Modinfo=Logout','','','staff')
)

var wrQueryMenu = new Array
(new Array('Water Right Number','/cgi-bin/wrprint.exe?Startup','','','')
,new Array('Name / Source','/cgi-bin/wrindex.exe?Startup','','','')
,new Array('Water Rights in a Water Use Group','/forms/groupNumberList.asp?Startup','','','')
,new Array('Point of Diversion (POD)','http://utstnrwrt6.waterrights.utah.gov/cgi-bin/wrplat.exe?Startup','*','','')
,new Array('Place of Use (POU)','http://waterrights.utah.gov/cblapps/placeofuse.exe?Startup','','','')
,new Array('Lists','lists.asp','','','')
,new Array('ROC Process Status','http://waterrights.utah.gov/titleProcessing/default.asp','','','')
,new Array('Livestock Certificates','http://www.waterrights.utah.gov/stockcertdb/','','','')
,new Array('Water Right File Checkout','http://www.waterrights.utah.gov/chkout/','*','','staff')
,new Array('Mail Log','http://waterrights.utah.gov/mailLog/maillog.asp','*','','staff')
,new Array('Process Applications','http://waterrights.utah.gov/cblapps/processmenu.exe','*','','staff')
,new Array('Custom Query','/cgi-bin/cquery.exe?QUERY_DB=WRDB','*','','staff')
)

var wrNoticesMenu = new Array
(new Array('Advertising List','http://waterrights.utah.gov/cblapps/advertlistcounty.exe?Startup=NOW','','','')
,new Array('Email Service','http://waterrights.utah.gov/cblapps/concernedcitizen.exe?Startup=NOW','','','')
)

var wrPoliciesMenu = new Array
(new Array('Appropriation Policy','approp.asp','','wrPolicyAppropMenu','')
,new Array('Compacts and Agreements','compacts.asp','','','')
,new Array('Distribution Plans','distrib.asp','','','')
,new Array('Groundwater Management','/groundwater/default.asp','','GroundWaterMenu','')
,new Array('Office Procedures','/picoseconds/default.asp','','','staff')
)

var wrAdjudMenu = new Array
(new Array('Decrees','decrinfo/default.asp','','','')
,new Array('Proposed Determinations','pdbook.asp','','','')
,new Array('Hydrographic Survey Maps','hydromap.asp','','','')
,new Array('Adjudication Status','http://waterrights.utah.gov/adjstatus/default.asp','','','')
,new Array('Governor Proclamations','proclaim.asp','','','')
,new Array('Strawberry Return Flow','http://www.waterrights.utah.gov/strawberryreturnflow','','strawberryretflow','')
,new Array('Water User Claim Form','wuc_owner.pdf','*','','staff')
,new Array('Pre-Statutory Water Use Form','prestatutory_form.pdf','*','','staff')
,new Array('Diligence Conversion Form','pre2dil_form.pdf','*','','staff')
,new Array('Newsletters','/cgi-bin/staffapp.exe?Path=staff/adjud/newsletter/default.htm','*','','staff')
,new Array('Strawberry Address Filter','http://waterrights.utah.gov/strawberryRetFlow/filter.asp','','','staff')
,new Array('Address Maintenance','http://waterrights.utah.gov/strawberryretflow/','','','staff')
,new Array('Staff/Projects','/adjdinfo/adjud.asp','','','staff')
)

var wlDrlLicRegMenu = new Array
(new Array('New Driller Licensing','forms/drilicen.asp','','','')
,new Array('New Operator Registration','forms/opereg.asp','','','')
,new Array('License Renewal and Registration','forms/renewal.asp','','','')
)

var wlDrlEdMenu = new Array
(new Array('Education Schedule','2009CE.pdf','','','')
,new Array('Credit Summary','ceform1.pdf','','','')
,new Array('Course Approval','ceform2.pdf','','','')
,new Array('Credit Documentation','ceform3.pdf','','','')
)

var dmRulesMenu = new Array
(new Array('State Rules Website','http://www.rules.utah.gov/publicat/code/r655/r655.htm','*','','')
,new Array('Revisions to R655.10.4', 'r655_10_4.htm','','','')
,new Array('Revisions to R655.11.4', 'r655_11_4.htm','','','')
,new Array('Revisions to R655.11.6e','r655_11_6e.htm','','','')
,new Array('Revisions to R655.11.7c','r655_11_7c.htm','','','')
,new Array('Revisions to R655.12.5a','r655_12_5a.htm','','','')
)

var pbStfManMenu = new Array
(new Array('WWW Utilities','http://waterrights.utah.gov/cgi-bin/staffapp.exe?Path=wwwutil.asp','','pubsStaffManWWWUtilMenu','')
,new Array('Training Guides','/cgi-bin/staffapp.exe?Path=training/default.htm','','pubsStaffManTrainingMenu','')
,new Array('Appropriation and Adjudication Procedures','file:///g|/apps/www/policy/indexpro.htm','','','')
,new Array('Adjudication Manual','/cgi-bin/staffapp.exe?Path=manuals/adjud/default.htm','','','')
,new Array('John Mabey’s Question of the Week Series','file:///g|/apps/www/answers/index.htm','','','')
,new Array('Jim Goddard’s Question of the Week Series','file:///g|/apps/www/wellinfo/wellndex.htm','','','')
,new Array('Computer Systems Guide','/cgi-bin/staffapp.exe?Path=techinfo/dpinfo/default.htm','','','')
,new Array('Water Rights Stream Gaging','file:///g|/apps/www/sgage/index.htm','','','')
,new Array('Water Rights POU Mapping System','file:///g|/apps/www/poumap/index.htm','','','')
,new Array('Water Rights Book Index','file:///g|/apps/www/adjud/adjindex.htm','','','')
,new Array('Watmodel Surface Water Model Documentation','file:///g|/apps/www/watmodel/index.htm','','','')
,new Array('Technical Services Organization','/cgi-bin/staffapp.exe?Path=staff/tech/default.htm','','','')
,new Array('Staff Photo Gallery','/images/staff/index.asp','','','')
,new Array('Realtime Monitoring','/cgi-bin/staffapp.exe?Path=techinfo/realtime/default.htm','','','')
,new Array('Personal WWW Page','file:///h|/www/index.htm','','','')
)

var flowRecDistMenu = new Array
(new Array('Notices and Priority Cuts','/cgi-bin/dvrtinfo.exe?Startup','','','')
,new Array('Real Time Operations/Gages','realtime_info.asp','','','')
,new Array('Water Records','/cgi-bin/dvrtview.exe?Startup','','','')
,new Array('Assessments and Accounting','http://waterrights.utah.gov/distributionsystems/dsDistributionSystems.asp','*','','')
)

var flowRecPWSMenu = new Array
(new Array('Water Use Data','/cgi-bin/wuseview.exe?Startup','','','')
,new Array('Water Use Publications','/cgi-bin/libview.exe?Modinfo=Pubmain&Submod=Pubtype&Key=List+Publications&QSTRING=00000010','','','')
,new Array('Water Use Contact','/contact.asp#Water_Use','','','')
,new Array('Diversion Reporting','http://www.waterrights.utah.gov/asp_apps/wrdb/WRDiversionSummary.asp','','','staff')
)

var wrPolicyAppropMenu = new Array
(new Array('Duty Map','duty.asp','','','')
,new Array('Policies by Area','wrareas/default.asp','','','')
,new Array('Policies by Topic','topic.asp','','wrPolicyAppropTopicMenu','')
,new Array('Utah Code relating to Water Rights','http://www.le.state.ut.us/~code/TITLE73/TITLE73.htm','','','')
,new Array('Appropriation Calculator','http://utstnrwrt6.waterrights.utah.gov/mapserver/apply/startup.htm','*','','')
,new Array('Use Calculator','http://waterrights.utah.gov/automm/calculator.asp','*','','')
,new Array('Flow Calculator','http://waterrights.utah.gov/automm/cfs2af.asp','*','','')
)

var wrPolicyGroundMenu = new Array
(new Array('Groundwater Policy Map','/gisinfo/maps/agwpol.pdf','','','')
,new Array('Groundwater Investigations','/groundwater/gwreports.asp','','','staff')
)

var pubsStaffManWWWUtilMenu = new Array
(new Array('Edit Scanned Documents','/cgi-bin/docedit.exe','*','','')
//,new Array('Title Conveyance Forms','[dead link]','','','')
,new Array('WWW Server Log Statistics','/cgi-bin/logchk.exe','*','','')
,new Array('State WWW Email System','http://email.state.ut.us/','*','','')
,new Array('DNR Innerweb (Motorpool)','http://innerweb.nr.utah.gov','*','','')
,new Array('Database Coding Utility','/cgi-bin/sqltof90.exe','*','','')
,new Array('Edit GPS Database Points','/cgi-bin/gpsedit.exe','','','')
,new Array('WWW Test Program','http://168.179.220.123','','','')
,new Array('Bug Tracking Program','/cgi-bin/punchapp.exe','*','','')
,new Array('HTML Document Object Model Tool','techinfo/wwwhelp/webutil.asp','','','')
)

var pubsStaffManTrainingMenu = new Array
(new Array('ArcView Training','file:///g|/apps/www/aview/contents.htm','','','')
,new Array('MS Excel Tips ’n Tricks','file:///g|/apps/www/msoffice/excel/index.html','','','')
,new Array('Garmin GPS Page','file:///g|/apps/www/gps/garmin/default.htm','','','')
,new Array('GPS User’s Guide','file:///g|/apps/www/gps/wwwgps.htm','','','')
,new Array('Homepage Training','file:///g|/apps/www/homepage.htm','','','')
,new Array('MS PowerPoint Training','file:///g|/apps/www/msoffice/powerpoint.pdf','','','')
,new Array('GIS User’s Group Notes','file:///g|/apps/www/arcinfo/index.htm','','','')
,new Array('Watmodel Documentation','file:///g|/apps/www/watmodel/index.htm','','','')
,new Array('MS Word Reference Library','file:///g|/apps/www/msoffice/refer/word.htm','','','')
,new Array('MS Word Tips n Tricks','file:///g|/apps/www/msoffice/word/default.htm','','','')
)

var wrPolicyAppropTopicMenu = new Array
(new Array('Administrative Hearings','http://www.rules.utah.gov/publicat/code/r655/r655-006.htm','*','','')
,new Array('Colorado River Policy','wrareas/colorado.asp','*','','')
,new Array('Diagram of Appropriation Process','apschem.pdf','*','','')
,new Array('Diversion/Depletion Quantities','wateruse.asp','*','','')
,new Array('Geothermal Wells','http://www.rules.utah.gov/publicat/code/r655/r655-001.htm','*','','')
,new Array('Green River Endangered Species Protection','topics/green.pdf','*','','')
,new Array('Map Submittals and Standards','http://www.rules.utah.gov/publicat/code/r655/r655-005.htm','*','','')
,new Array('Processing of Non-use Applications','topics/p021112.pdf','*','','')
,new Array('Subdivision Proofs','topics/subdiv.pdf','*','','')
,new Array('Title Transfers','/wrinfo/title.asp','*','','')
,new Array('Change in Point of Sewage Effluent Discharge','http://www.rules.utah.gov/publicat/code/r655/r655-007.htm','*','','')
)

var GroundWaterMenu = new Array
(new Array('Groundwater Managment Plans','/groundwater/ManagementReports/ground.asp','','','')
,new Array('Groundwater Policy Map','/gisinfo/maps/agwpol.pdf','','','')
,new Array('Groundwater Investigations','/groundwater/gwreports.asp','','','staff')
,new Array('Model Data','/groundwater/gwmodelsview.asp','','','')
,new Array('Recharge & Recovery Projects','/groundwater/asr/default.asp','','AsrMenu','')
,new Array('Wells / Well Drilling','/wellinfo/default.asp','','wellsMenu','')
)

var AsrMenu = new Array
(new Array('Current Projects','ASRlist.asp','','','')
,new Array('Projects Map','http://utstnrwrt6.waterrights.utah.gov/mapserver/Recharge/startup.htm"','','','')
,new Array('Online Reporting','onlineASR.asp','*','','')
)

var strawberryretflow = new Array
(new Array('Notice for Publication','noticeForPublication.pdf','target','subMenu','')
,new Array('Notice for Mailing','noticeForMailing.pdf','target','subMenu','')
,new Array('Statement of Interest','soiForm.asp','target','subMenu','')
,new Array('Change of Address Form','http://www.waterrights.utah.gov/wrinfo/forms/address_change.pdf','target','subMenu','')
,new Array('Official Court Case','http://www.utcourts.gov/opinions/supopin/Strawberry032406.pdf','','','')
,new Array('Frequently Asked Questions','faq.asp','','','')
,new Array('Notification Map','strawberrymap.jpg','','','')
,new Array('Proposed Determination','Proposed Determination and Recommendation.pdf','','','')
)

var titleMenu = new Array
(new Array('ROC Guidelines','http://www.waterrights.utah.gov/titleInfo/titleBasics.ppt','target','','')
,new Array('Title FAQ','http://www.waterrights.utah.gov/titleInfo/titlefaq.asp','','','')
,new Array('100% ROC Form','http://www.waterrights.utah.gov/forms/roc_full.asp','','','')
,new Array('Portion ROC Form','http://www.waterrights.utah.gov/forms/roc_portion.asp','','','')
,new Array('ROC Completion Checklist','http://www.waterrights.utah.gov/titleInfo/ROCChecklist.pdf','','','')
//,new Array('','','','','')
)
//...new Array('Label','link','target','subMenu','public/staff')
//,new Array('','','','','')

function buildRootMenu(menuItems) {
//  alert("notIE : "+notIE)
  if (handheld == true) {
    document.write('<td valign="top" width=101><table class=menuRoot id=menuRoot>')
  } else if (notIE == true) {
    document.write('<td valign="top" width=191><table class=menuRoot id=menuRoot>')
  } else {
    document.write('<td valign="top" width=191><DIV class=menuRoot id=menuRoot>')
  }
  for (i=0; i<menuItems.length; i++) {
      if (menuItems[i][4] == "") {  // is it a public page?
        if (menuItems[i][0] == "") {  // is it a menu separator?
          if (handheld == false) { document.write('          <DIV class=menuBorder style="WIDTH: 191px"></DIV>') }
        } else if (menuItems[i][3] != "") {  // is there a sub menu - future implemenatation
          if (handheld == true) {
            document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
          } else if (notIE == true) {
            document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
          } else {
            document.write('    <DIV class=menuRow id=menuRow'+i+' link="'+menuItems[i][1]+'" menu="'+menuItems[i][3]+'">'+menuItems[i][0]+'</DIV>');
          }
        } else {
          // items w/ sub menu
          if (handheld == true) {
            document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
          } else if (notIE == true) {
            document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
          } else {
            if (menuItems[i][2] != "") {
              document.write('    <DIV class=menuRow id=menuRow'+i+' target="_new" link="'+menuItems[i][1]+'">'+menuItems[i][0]+'</DIV>');
            } else {
              document.write('    <DIV class=menuRow id=menuRow'+i+' link="'+menuItems[i][1]+'">'+menuItems[i][0]+'</DIV>');
            }
          }
        }
      } else if ((menuItems[i][4] == "login") && (!loggedIn)) {  // login page, not logged in
        if (menuItems[i][3] != "") {
          if (handheld == true) {
            document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
          } else if (notIE == true) {
            document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
          } else {
            document.write('    <DIV class=menuRow id=menuRow'+i+' link="'+menuItems[i][1]+'" menu="'+menuItems[i][3]+'">'+menuItems[i][0]+'</DIV>');
          }
        } else {
          // items w/ sub menu
          if (handheld == true) {
            document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
          } else if (notIE == true) {
            document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
          } else {
            document.write('    <DIV class=menuRow id=menuRow'+i+' link="'+menuItems[i][1]+'">'+menuItems[i][0]+'</DIV>');
          }
        }
      } else if ((menuItems[i][4] == "staff") && (loggedIn)) {  // staff page, check for log in
        if (menuItems[i][0] == "") {
          if (handheld == false) { document.write('          <DIV class=menuBorder style="WIDTH: 191px"></DIV>') }
        } else if (menuItems[i][3] != "") {
            if (handheld == true) {
              document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
            } else if (notIE == true) {
              document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
            } else {
              document.write('    <DIV class=menuRow id=menuRow'+i+' link="'+menuItems[i][1]+'" menu="'+menuItems[i][3]+'">'+menuItems[i][0]+'</DIV>');
            }
          } else {
            // items w/ sub menu
            if (handheld == true) {
              document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
            } else if (notIE == true) {
              document.write('    <tr><td class=textMenuRow><a id=menuRow'+i+' href="'+menuItems[i][1]+'">'+menuItems[i][0]+'</a></td></tr>');
            } else {
              if (menuItems[i][2] != "") {
                document.write('    <DIV class=menuRow id=menuRow'+i+' target="_new" link="'+menuItems[i][1]+'">'+menuItems[i][0]+'</DIV>');
              } else {
                document.write('    <DIV class=menuRow id=menuRow'+i+' link="'+menuItems[i][1]+'">'+menuItems[i][0]+'</DIV>');
              }
            }
          }
      }
  }
  if (handheld == true) {
    document.write('</table></td>')
  } else if (notIE == true) {
    document.write('</table></td>')
  } else {
    document.write('<DIV class=menuBorder style="MARGIN-BOTTOM: 0px; WIDTH: 191px"></DIV>')
    document.write('</DIV></td>')
  }
}

window.attachEvent("onload", pageInit);

function pageInit() {
  var items = menuRoot.getElementsByTagName("DIV");
  var l = items.length;
  for (var i=0; i < l; i++) {
    var item = items.item(i);
    if (item.className == "menuRow") {
      item.attachEvent("onmouseover", itemMouseOver);
      item.attachEvent("onmouseout", itemMouseOut);
      item.attachEvent("onclick", menuClick);
      item.setAttribute("save-background", item.style.background);
      item.setAttribute("save-border", item.style.borderColor);
    }
  }
}

function itemMouseOver() {
  var el = window.event.srcElement;
  el.style.borderColor="#999999"
  el.style.background="#4D6586"
  window.status=el.link
}

function itemMouseOut() {
  var el = window.event.srcElement;
  el.style.border="1px solid #527098"
  el.style.background="#527098"
  window.status=""
}

function menuClick() {
  var el = window.event.srcElement;
  if (el.target == "_new") {
    window.open(el.link,Math.round(Math.random()*100000+1),'scrollbars=yes,resizable=yes,toolbar=yes,status=yes')
  } else {
    document.location=el.link
  }
}
