//
// Copyright (c) 2006 by Conor O'Mahony.
// For enquiries, please email GubuSoft@GubuSoft.com.
// Please keep all copyright notices below.
// Original author of TreeView script is Marcelino Martins.
//
// This document includes the TreeView script.
// The TreeView script can be found at http://www.TreeView.net.
// The script is Copyright (c) 2006 by Conor O'Mahony.
//
// You can find general instructions for this file at www.treeview.net.
//

USETEXTLINKS = 1
STARTALLOPEN = 0
USEFRAMES = 0
USEICONS = 1
WRAPTEXT = 1
PRESERVESTATE = 0

//
// The following code constructs the tree.  This code produces a tree that looks like:
// 
// Tree Options
//  - Expand for example with pics and flags
//    - United States
//      - Boston
//      - Tiny pic of New York City
//      - Washington
//    - Europe
//      - London
//      - Lisbon
//  - Types of node
//    - Expandable with link
//      - London
//    - Expandable without link
//      - NYC
//    - Opens in new window
//

foldersTree = gFld('Open For Business', 'javascript:parent.op();')
f = foldersTree
//    coupons, discounts and freebies section
fSub = insFld(f,gFld('Shopping and Dining', 'javascript:parent.op();'))


//    member to member discount section
fSub = insFld(f,gFld('Member to Member Discounts', 'javascript:parent.op();'))
insDoc(fSub,gLnk('R', 'Office Depot', 'http://www.fremontbusiness.com/open4Business/memberPageCoupons/Office_Depot.htm'))
insDoc(fSub,gLnk('R', 'AAA New Member Discount', 'http://www.fremontbusiness.com/open4Business/memberPageCoupons/AAAFremontChamCommerceFlyer.pdf'))

//    special announcements section
fSub = insFld(f,gFld('Special Announcements', 'javascript:parent.op();'))
insDoc(fSub,gLnk('R', 'Catholic Schools Week Jan 29 to Feb 3', 'http://fremontbusiness.com/open4Business/sjs_catholicschoolsweek.pdf')) // ends Feb 3 2012 
insDoc(fSub,gLnk('R', 'Valentine Day Open House at Emeritus Atherton Court', 'http://fremontbusiness.com/open4Business/AthertonCourtValentine2012.pdf')) // ends Feb 15 2012
insDoc(fSub,gLnk('R', 'Emeritus Grandma&#146;s Worst Date Contest', 'http://www.emeritus.com/contest')) // ends Feb 13 2012
insDoc(fSub,gLnk('R', 'Emeritus Alzheimer Care Option', 'http://fremontbusiness.com/pdf/EmeritusAlzheimersCareOption2011.pdf')) 
insDoc(fSub,gLnk('R', 'Technology Credit Union 4th Quarter Auto Loan Special', 'http://fremontbusiness.com/open4Business/TechCUQ4_Flyer2.pdf'))
insDoc(fSub,gLnk('R', 'Emeritus Rapid Response Program', 'http://www.fremontbusiness.com/open4Business/RapidResponseFlyerEmeritus.pdf'))
insDoc(fSub,gLnk('R', 'Save the Date for CNC Spring Celebration April 21', 'http://xa.yimg.com/kq/groups/13536117/179836748/name/2012%20Save%20The%20Date.pdf')) // ends April 22


//    job openings and volunteer opportunities section
fSub = insFld(f,gFld('Job Openings and Volunteer Opportunities', 'javascript:parent.op();'))
insDoc(fSub,gLnk('R', 'Post Your Job Here', 'http://www.fremontbusiness.com/open4Business/memberPageCoupons/JobPostingHowTo.htm'))
insDoc(fSub,gLnk('R', 'Radio Advertising Executive', 'https://fremontbusiness.com/open4Business/KRTY-KLIV-job-opening.htm'))
insDoc(fSub,gLnk('R', 'Fremont Marriott Job Openings', 'http://fremontbusiness.com/open4Business/FremontMarriottJobs.pdf')) // ends Mar 20 2012
insDoc(fSub,gLnk('R', 'Job Search Workshops at the Library', 'http://www.fremontbusiness.com/pdf/JobSearch_2012rev.pdf'))
insDoc(fSub,gLnk('R', 'AC Hire Program', 'http://www.fremontbusiness.com/pdf/AC-HIRE2011.pdf'))
insDoc(fSub,gLnk('R', 'Office Depot Job: Distribution Center Manager', 'https://docs.google.com/document/d/1AH6swhjk2PRSaxayG1-t3DcNRUpRnAKEJkSMXRN97dQ/edit?hl=en_US'))

//    events section
fSub = insFld(f,gFld('Events', 'javascript:parent.op();'))
insDoc(fSub,gLnk('R', 'NEW - Check out our Open for Business Member Event Calendar', 'http://www.fremontbusiness.com/open4Business-Events.htm'))




