
/*

A commented example of the ItemStyle syntax, split up over several lines for clarity:

var hBar = new ItemStyle(
 40,         // Length of items, in pixels: for Horizontal menus = Width, Vertical = Height.
 10,         // Pixel spacing after items that use this ItemStyle.
 '',         // The HTML used for any "popout indicator" arrow.
 0,          // The indicator pixel position, from item left edge (if positive) or right (negative).
 0,          // The padding, in pixels, of text within the item.
 '#336699',  // The background of dim items, set to '' for transparent or 'image.gif' for a picture.
 '#6699CC',  // Highlighted items background.
 'highText', // The text CSS class name (from the <STYLE> tag in the <HEAD>) used for dim items.
 'highText', // Name of the highlighted text class.
 '',         // Border class used for dim items, again from the STYLE tag. '' means no border.
 '',         // Highlighted border class -- in this case, no border.
 null,       // Opacity of dim items, null disables opacity, 0 to 100 sets a percentage.
 null,       // Opacity of highlighted items.
 'hand',     // The CSS cursor name for linked items.
 'default'   // The CSS cursor for 'sm:' and items with no filename specified.
 );

*/


var hBar = new ItemStyle(40, 10, '', 0, 0, '#0077AA', '#DDDDDD', 'itemText', 'blackText', '', '', null, null, 'hand', 'default');

var vBar = new ItemStyle(17, 5, '<img src="/tools/menu.gif" width="5" height="9" alt="Sub-sections">', -15, 3, '#0077AA', '#DDDDDD', 'itemText', 'blackText', 'itemBorder', 'itemBorder', null, null, 'hand', 'default');

var topSubM = new ItemStyle(22, 0, '&gt;', -15, 3, '#DDDDDD', '#777777', 'blackText', 'itemText', '', '', null, null, 'hand', 'default');

var sideSubM = new ItemStyle(22, 0, '&gt;', -15, 3, '#DDDDDD', '#777777', 'blackText', 'itemText', 'itemBorder', 'itemBorder', null, null, 'hand', 'default');



if (!window.menu1) var menu1 = new PopupMenu('menu1');
if (!window.menu2) var menu2 = new PopupMenu('menu2');

with (menu1)
{

startMenu('root', false, 5, 0, 17, hBar);
addItem('&nbsp;<b>Activities</b>', '/about/whatisSWAP.asp', '', null, 60);
addItem('&nbsp;<b>News</b>', '/news/news.asp', '', null, 50);
addItem('&nbsp;<b>Events</b>', '/events/events.asp?menuitem=2&show=2', '', null, 50);
addItem('&nbsp;<b>Quality / Reg.</b>', '/quality/introduction.asp', '', null, 90);
addItem('&nbsp;<b>Approaches</b>', '/learning/introduction.asp', '', null, 80);
addItem('&nbsp;<b>E-learning</b>', '/elearning/introduction.asp', '', null, 70);
addItem('&nbsp;<b>Resources</b>', '/links/linkindex.asp', '', null, 70);
addItem('&nbsp;<b>Research/Scholarship</b>', '/research/introduction.asp', '', null, 120);
addItem('&nbsp;<b>Widening access</b>', '/widen/introduction.asp', '', null, 100);


}


if (!window.sideMenu)
{
 var sideMenu = 'default', folders = [];
 // Assign an array of foldernames to find in the URL to select the sidemenu.
 // This way, each category of sidemenu can source files from several folders.
 // If all else fails, you can put a manual override in the page itself.
//check with   document.writeln("x<p>x<p>"+location.href);
 folders.swap = ['swap','swap/survey'];
 folders.about = ['about','aboutnew','about/survey'];
 folders.news = ['news'];
 folders.events = ['events'];
 folders.quality = ['quality','quality/swreform'];
 folders.learning = ['learning'];
 folders.elearning = ['elearning'];
 folders.links = ['resources','links'];
 folders.exchange = ['exchange'];
 folders.research = ['research']; 
folders.widen = ['widen'];
 folders.tools = ['tools'];
 folders.resource = ['resource'];

 for (var sec in folders)
  for (var fld = 0; fld < folders[sec].length; fld++)
   if (location.href.toLowerCase().indexOf('/' + folders[sec][fld] + '/') > -1) sideMenu = sec;

}

with (menu2)
{

if (sideMenu == 'default')
{
 startMenu('root', true, 10, 180, 160, vBar);
 addItem('No side menu available', 'alert("Please use the top menu to navigate.")', 'js:');
}

if (sideMenu == 'swap')
{
startMenu('root', true, 10, 180, 158, vBar);
//sitemap(1,00)
addItem('<b>About SWAP</b>', 'mSWAP', 'sm:');
addItem('<b>Consultation</b>', '/swap/consultation.asp', '');
addItem('<b>SWAP events</b>', 'SWAPevents.asp', '');
addItem('<b>Tender opportunity</b>', 'spheeproject1.asp', '');
addItem('<b>£200 funding opportunity</b>', '/swap/webfund.asp', '');
addItem('<b>Mini-projects</b>', '/swap/miniproject.asp', '');
addItem('<b>Mental health HE project</b>', '/swap/mhheproject.asp', '');
addItem('<b>Building e-learning<b>', '/swap/capacity.asp', '');
addItem('<b>LTSN</b>', 'mLTSN', 'sm:');
//end


startMenu('mSWAP', true, 160, 0, 150, sideSubM);
//sitemap(1,01)
addItem('What is SWAP?', '/swap/whatisSWAP.asp', '');
addItem('About this website', '/swap/website.asp', '');
addItem('Contact us', '/swap/contact.asp', '');
addItem('SWAP staff', '/swap/staff.asp', '');
addItem('Partners and funders', '/swap/partners.asp', '');
addItem('Steering group', '/swap/steering.asp', '');
addItem('Strategic plan', '/swap/strategicplan.asp', '');
//end

startMenu('mSurvey', true, 160, 0, 150, sideSubM);
//sitemap suspended
addItem('Survey aims and stages', '/swap/survey/aims.asp', '');
addItem('Stage 1 process', '/swap/survey/s1process.asp', '');
addItem('Stage 1 results', '/swap/survey/s1results.asp', '');
addItem('Stage 2 process', '/swap/survey/s2process.asp', '');
addItem('Stage 2 results', '/swap/survey/s2results.asp', '');
//suspend

startMenu('mLTSN', true, 160, 0, 150, sideSubM);
//sitemap(1,09)
addItem('LTSN', '/swap/ltsn.asp', '');
addItem('LTSN centres', '/swap/ltsncentres.asp', '');
//end

}


if (sideMenu == 'about')
{
startMenu('root', true, 10, 180, 158, vBar);
//sitemap(1,00)
addItem('<b>About SWAP</b>', 'mSWAP2', 'sm:');
addItem('<b>Consultation</b>', '/about/consultation.asp', '');
addItem('<b>SWAP events</b>', '/about/SWAPevents.asp', '');
addItem('<b>Student awards</b>', '/about/studentawards.asp', '');
addItem('<b>New funded projects</b>', '/about/projects05.asp', '');
addItem('<b>2004 funded projects</b>', '/about/miniproject.asp', '');
addItem('<b>Mental health HE project</b>', '/about/mhheproject.asp', '');
addItem('<b>Building e-learning<b>', '/about/capacity.asp', '');
addItem('<b>Academy subject centres</b>', '/about/subjectcentres.asp', '');
addItem('<b>CETLs</b>','mCETL','sm:');
addItem('<b>New book</b>','/about/l&Tbook.asp','');
//end


startMenu('mSWAP2', true, 160, 0, 150, sideSubM);
//sitemap(1,01)
addItem('What is SWAP?', '/about/whatisSWAP.asp', '');
addItem('About this website', '/about/website.asp', '');
addItem('Contact us', '/about/contact.asp', '');
addItem('SWAP staff', '/about/staff.asp', '');
addItem('Partners and funders', '/about/partners.asp', '');
addItem('Steering group', '/about/steering.asp', '');
addItem('Strategic plan', '/about/strategicplan.asp', '');
//end

startMenu('mSurvey2', true, 160, 0, 150, sideSubM);
//sitemap suspended
addItem('Survey aims and stages', '/about/survey/aims.asp', '');
addItem('Stage 1 process', '/about/survey/s1process.asp', '');
addItem('Stage 1 results', '/about/survey/s1results.asp', '');
addItem('Stage 2 process', '/about/survey/s2process.asp', '');
addItem('Stage 2 results', '/about/survey/s2results.asp', '');
//suspend


startMenu('mCETL', true, 160, 0, 150, sideSubM);
//sitemap(1,10)
addItem('CETLs - England', '/about/cetl.asp', '');
addItem('CETLs - N.Ireland', '/about/cetlNI.asp', '');
//end

}

if (sideMenu == 'news')
{
startMenu('root', true, 10, 180, 158, vBar);
//sitemap(2,00)
addItem('<b>News 2005</b>', '/news/news.asp?year=2005', '');
addItem('<b>New on the website</b>', '/news/whatsnew.asp', '');
addItem('<b>Other news sources</b>', '/news/newsother.asp', '');
addItem('<b>News archive 2004</b>', '/news/news.asp?year=2004', '');
addItem('<b>News archive 2003</b>', '/news/news.asp?year=2003', '');
addItem('<b>News archive 2002</b>', '/news/news.asp?year=2002', '');
addItem('<b>News archive 2001</b>', '/news/news.asp?year=2001', '');
addItem('<b>Newsletters</b>', '/news/newsletters.asp', '');
//end
}

if (sideMenu == 'events')
{
startMenu('root', true, 10, 180, 158, vBar);
//sitemap(3,00)
addItem('<b>Events list</b>', '/events/events.asp?show=2', '');
addItem('<b>SWAP/mhhe events</b>', 'SWAPevents.asp', '');
addItem('<b>Workshop reports</b>', '/events/reports.asp', '');
addItem('<b>Other sources for events </b>', '/events/eventfeeds.asp', '');
addItem('<b>Events 2004 archive</b>', '/events/events.asp?show=7', '');
addItem('<b>Events 2003 archive</b>', '/events/events.asp?show=6', '');
addItem('<b>Events 2002 archive</b>', '/events/events.asp?show=5', '');
addItem('<b>Events 2001 archive</b>', '/events/events.asp?show=3', '');
//end
}

if (sideMenu == 'quality')
{
startMenu('root', true, 10, 180, 158, vBar);
//sitemap(0,00)
addItem('<b>Introduction</b>', '/quality/introduction.asp', '');
addItem('<b>External examiners</b>', '/quality/examiners1.asp', '');
addItem('<b>APEL</b>', '/quality/apel.asp', '');
addItem('<b>Funding councils</b>', 'mFunding', 'sm:');
addItem('<b>QAA</b>', 'mQAA', 'sm:');
addItem('<b>International</b>', 'mInternational', 'sm:');
addItem('<b>SW education regulation</b>', 'mRegulation', 'sm:');
addItem('<b>CETLs</b>','mCETL','sm:');
addItem('<b>Whistleblowing</b>', '/quality/whistleblowing.asp', '');
//end


startMenu('mFunding', true, 160, 0, 100, sideSubM);
//sitemap(0,02)
addItem('England', '/quality/funding1.asp', '');
addItem('Wales', '/quality/funding3.asp', '');
addItem('Scotland', '/quality/funding2.asp', '');
addItem('Northern Ireland', '/quality/funding4.asp', '');
//end

startMenu('mQAA', true, 160, 0, 160, sideSubM);
//sitemap(0,03)
addItem('Introduction', '/quality/qaaintroduction.asp', '');
addItem('QAA review procedures', '/quality/qaareview.asp', '');
addItem('Subject benchmarking', '/quality/benchmarking.asp', '');
addItem('Code of practice', '/quality/codesofpractice.asp', '');
addItem('Programme specifications', '/quality/spec.asp', '');
addItem('Progress files', '/quality/progressfiles.asp', '');


//end

startMenu('mInternational', true, 160, 0, 160, sideSubM);
//sitemap(0,04)
addItem('Bologna', '/quality/bologna.asp', '');
addItem('IASSW', '/quality/iassw.asp', '');
//end

startMenu('mRegulation', true, 160, 0, 120, sideSubM);
//sitemap(0,05)
addItem('Introduction', '/quality/swreform/introduction.asp', '');
addItem('England', '/quality/swreform/england.asp', '');
addItem('Wales', '/quality/swreform/wales.asp', '');
addItem('Scotland', '/quality/swreform/scotland.asp', '');
addItem('Northern Ireland', '/quality/swreform/nireland.asp', '');
//end

startMenu('mCETL', true, 160, 0, 150, sideSubM);
//sitemap(1,10)
addItem('CETLs - England', '/quality/cetl.asp', '');
addItem('CETLs - N.Ireland', '/quality/cetlNI.asp', '');
//end

}

if (sideMenu == 'learning')
{
startMenu('root', true, 10, 180, 158, vBar);
//sitemap(5,00)
addItem('<b>Introduction</b>', '/learning/introduction.asp', '');
addItem('<b>Assessment</b>', 'mAssess', 'sm:');
addItem('<b>Comparative sp</b>', 'mCSP', 'sm:');
addItem('<b>Curriculum Planning</b>', '/learning/curriculum.asp', '');
addItem('<b>Interactive lecturing</b>', 'mIL', 'sm:');
addItem('<b>Interprof. education</b>', 'mIPE', 'sm:');
addItem('<b>User groups in sp ed.</b>', 'mUGSP', 'sm:');
addItem('<b>Service users in sw ed.</b>', 'mUGSW', 'sm:');
addItem('<b>Communication skills</b>', '/learning/communication.asp', '');
addItem('<b>Practice learning</b>', 'mPLP', 'sm:');
addItem('<b>Problem based learning</b>', 'mPLB', 'sm:');
addItem('<b>Student progress files</b>', 'mSPF', 'sm:');
addItem('<b>Learning glossary</b>', '/learning/glossary.asp', '');
//end


startMenu('mAssess', true, 160, 0, 230, sideSubM);
//sitemap(5,02)
addItem('Assessment', '/learning/assessment.asp', '');
addItem('1. Introduction', '/learning/assessment1.asp', '');
addItem('2. Self and peer assessment  ', '/learning/assessment2.asp', '');
addItem('3. Assessing student work in groups  ', '/learning/assessment3.asp', '');
addItem('4. Computer aided assessment  ', '/learning/assessment4.asp', '');
addItem('5. As an aid to learning: Developing strategies', '/learning/assessment5.asp', '');
addItem('6. Case study: Social Policy teaching ', '/learning/assessment6.asp', '');
addItem('7.  Developing assessment in social work', '/learning/assessment7.asp', '');
addItem('8. Assessment resources and links', '/learning/assessment8.asp', '');
//end

startMenu('mCSP', true, 160, 0, 220, sideSubM);
//sitemap(5,03)
addItem('Teaching comparative SP', '/learning/comparativesp.asp', '');
addItem('1. Why teach CSP?', '/learning/comparativesp1.asp', '');
addItem('2. Approaches: evidence & methodology', '/learning/comparativesp2.asp', '');
addItem('3. Approaches: theoretical models', '/learning/comparativesp3.asp', '');
addItem('4. Challenges posed by CSP', '/learning/comparativesp4.asp', '');
addItem('5. Useful resources', '/learning/comparativesp5.asp', '');
addItem('6. References', '/learning/comparativesp6.asp', '');
//end

startMenu('mIL', true, 160, 0, 200, sideSubM);
//sitemap(5,05)
addItem('1. What are interactive lectures? ', '/learning/interactive1.asp', '');
addItem('2. Why use interactive lectures? ', '/learning/interactive2.asp', '');
addItem('3. Points to consider ', '/learning/interactive3.asp', '');
addItem('4. Exercises and examples', '/learning/interactive4.asp', '');
addItem('5. Sharing ideas for good practice', '/learning/interactive5.asp', '');
addItem('6. Further information', '/learning/interactive6.asp', '');
//end

startMenu('mIPE', true, 160, 0, 200, sideSubM);
//sitemap(5,06)
addItem('Interprofessional education', '/learning/ipe.asp', '');
addItem('1. Definitions and drivers', '/learning/ipe1.asp', '');
addItem('2. Dimensions of IPE', '/learning/ipe2.asp', '');
addItem('3. Effectiveness in IPE', '/learning/ipe3.asp', '');
addItem('4. Stakeholder perspectives in IPE', '/learning/ipe4.asp', '');
addItem('5. IPE case studies', '/learning/ipe5.asp', '');
addItem('6. IPE resources', '/learning/ipe6.asp', '');
//end

startMenu('mUGSP', true, 160, 0, 200, sideSubM);
//sitemap(5,07)
addItem('Involving users groups in SP ed.', '/learning/usersp.asp', '');
addItem('1. Why involve users groups', '/learning/usersp1.asp', '');
addItem('2. Who are the user groups? ', '/learning/usersp2.asp', '');
addItem('3. Linking to user groups ', '/learning/usersp3.asp', '');
addItem('4. An example of users in SP teaching ', '/learning/usersp4.asp', '');
addItem('5. Further resources ', '/learning/usersp5.asp', '');
//end

startMenu('mUGSW', true, 160, 0, 200, sideSubM);
//sitemap(5,08)
addItem('Involving service users in Sw ed.', '/learning/usersw.asp', '');
addItem('1. Key concerns of service users', '/learning/userSw1.asp', '');
addItem('2. Principles  for best practice', '/learning/userSw2.asp', '');
addItem('3. Putting it into practice', '/learning/userSw3.asp', '');
addItem('4. Examples of good practice', '/learning/userSw4.asp', '');
//end

startMenu('mPLP', true, 160, 0, 220, sideSubM);
//sitemap(5,09)
addItem('Introduction for SP and SW', '/learning/practice.asp', '');
addItem('Social Policy', '/learning/practiceSP.asp', '');
addItem('Social Work', '/learning/practiceSW.asp', '');
addItem('SW 1: Key elements of best practice', '/learning/practiceSW1.asp', '');
addItem('SW 2: Models for good practice', '/learning/practiceSw2.asp', '');
addItem('SW 3: Critical issues/possible solutions', '/learning/practiceSW3.asp', '');
addItem('SW 4: Practice placements and technology', '/learning/practiceSW4.asp', '');
addItem('SW 5: Resources for SW practice learning', '/learning/practiceSW5.asp', '');
addItem('SW 6: New arrangements in England', '/learning/practiceSW6.asp', '');
//end

startMenu('mPLB', true, 160, 0, 220, sideSubM);
//sitemap(5,10)
addItem('1. What is Problem Based Learning?  ', '/learning/pblearning1.asp', '');
addItem('2. Educational Philosophy and Terninology  ', '/learning/pblearning2.asp', '');
addItem('3. PBL issues and effectiveness  ', '/learning/pblearning3.asp', '');
addItem('4. PBL in context ', '/learning/pblearning4.asp', '');
addItem('5. PBL links and resources  ', '/learning/pblearning5.asp', '');
//end

startMenu('mSPF', true, 160, 0, 200, sideSubM);
//sitemap(5,11)
addItem('1. What are student progress files ', '/learning/progress1.asp', '');
addItem('2. Resources on progress files ', '/learning/progress2.asp', '');
addItem('3. Workshop report  ', '/learning/progress3.asp', '');
//end

}


if (sideMenu == 'elearning')
{
startMenu('root', true, 10, 180, 158, vBar);
//sitemap(6,00)
addItem('<b>Introduction</b>', '/elearning/Introduction.asp', '');
addItem('<b>SWAPwebpool</b>', 'mWebpool', 'sm:');
addItem('<b>Using elearning</b>', 'mUselearning', 'sm:');
addItem('<b>Advice and support</b>', 'mAdvice', 'sm:');
addItem('<b>Developing elearning</b>', 'mDevelop', 'sm:');
addItem('<b>Developing eskills</b>', 'mEskills', 'sm:');
addItem('<b>Glossary</b>', '/elearning/glossary.asp', '');
//end

startMenu('mWebpool', true, 160, 0, 150, sideSubM);
//sitemap(6,02)
addItem('Introduction', '/elearning/webpool1.asp', '');
addItem('SW online courses', '/elearning/webpool2.asp', '');
addItem('SP online courses', '/elearning/webpool3.asp', '');
addItem('Other online courses', '/elearning/webpool4.asp', '');
addItem('Introduction to E-activities', '/elearning/webpool5.asp', '');
addItem('Preparing for practice', '/elearning/webpool7.asp', '');
//end

startMenu('mUselearning', true, 150, 0, 180, sideSubM);
//sitemap(6,03)
addItem('Learning styles', '/elearning/using1.asp', '');
addItem('Using elearning', '/elearning/using2.asp', '');
addItem('Blending elearning', '/elearning/using3.asp', '');
addItem('Good practice', '/elearning/using4.asp', '');
addItem('VLEs', '/elearning/using5.asp', '');
addItem('Computer mediated communication', '/elearning/using6.asp', '');
//end

startMenu('mAdvice', true, 160, 0, 150, sideSubM);
//sitemap(6,04)
addItem('Introduction', '/elearning/advice1.asp', '');
addItem('Rationale', '/elearning/advice2.asp', '');
addItem('Developing strategy', '/elearning/advice3.asp', '');
addItem('Discussion lists', '/elearning/advice4.asp', '');
addItem('Intellectual property rights', '/elearning/advice5.asp', '');
//end

startMenu('mDevelop', true, 160, 0, 180, sideSubM);
//sitemap(6,05)
addItem('Social science perspective', '/elearning/develop1.asp', '');
addItem('Resource dev. guide', '/elearning/develop2.asp', '');
addItem('SWAP mini-projects', '/elearning/develop3.asp', '');
addItem('SW in England', '/elearning/develop4.asp', '');
addItem('SW in Scotland', '/elearning/develop5.asp', '');
addItem('Computer assisted assessment', '/elearning/develop6.asp', '');
//end

startMenu('mEskills', true, 160, 0, 150, sideSubM);
//sitemap(6,06)
addItem('Emoderating', '/elearning/eskills1.asp', '');
addItem('Technology training', '/elearning/eskills2.asp', '');
//end

}


if (sideMenu == 'links')
{
startMenu('root', true, 10, 180, 158, vBar);
//sitemap(7,00)
addItem('<b>Resources and links</b>', '/links/linkindex.asp', '');
//addItem('<b>RDN search</b>', '/links/rdnfind.asp', '');
addItem('<b>Search hints</b>', '/links/hints.asp', '');
addItem('<b>Case studies index</b>', '/links/casestudies.asp', '');
addItem('<b>Documents index</b>', '/links/documents.asp', '');
addItem('<b>Acronyms</b>', '/links/acronyms.asp', '');
addItem('<b>Sitemap / Site index</b>', '/tools/sitemap.asp', '');
//end

}


if (sideMenu == 'research')
{
startMenu('root', true, 10, 200, 160, vBar);
//sitemap(8,00)
addItem('<b>Introduction</b>', '/research/introduction.asp', '');
addItem('<b>Scholarship</b>', '/research/scholarship.asp', '');
addItem('<b>Link research & teaching</b>', '/research/linking.asp', '');
addItem('<b>Where to publish</b>', '/research/wherepublish.asp', '');
addItem('<b>Tackling complexity UK</b>', '/research/escalate.asp', '');
addItem('<b>LATISS</b>', '/research/latiss.asp', '');
addItem('<b>RAE 2008</b>', '/research/rae2008.asp', '');
//end

}

if (sideMenu == 'exchange')
{
startMenu('root', true, 10, 180, 158, vBar);
//sitemap(0,00)
addItem('<b>People</b>', '/exchange/people.asp', '');
addItem('<b>Discussion area</b>', '/exchange/groups.asp', '');
addItem('<b>Resource area</b>', '/exchange/resource.asp', '');
//end

}


if (sideMenu == 'widen')
{
startMenu('root', true, 10, 180, 158, vBar);
//sitemap(9,00)
addItem('<b>Introduction</b>', '/widen/introduction.asp', '');
addItem('<b>Context of WP</b>', 'mWPcontext', 'sm:');
addItem('<b>SP and SW contexts</b>', '/widen/Widen.asp', '');
addItem('<b>Recruitment</b>', 'mRecruit', 'sm:');
addItem('<b>Social policy recruitment</b>', 'mSPRecruit', 'sm:');
addItem('<b>Employability</b>', '/widen/employability.asp', '');
addItem('<b>Disability</b>', '/widen/disability.asp', '');
addItem('<b>Disability and social work</b>', '/widen/disabilityandsocialwork.asp', '');
addItem('<b>Race legislation</b>', 'mRace', 'sm:');
//end

startMenu('mWPcontext', true, 160, 0, 200, sideSubM);
//sitemap(9,02)
addItem('Introduction', '/widen/context.asp', '');
addItem('Partnerships', '/widen/context1.asp', '');
addItem('Adverse effects and problems', '/widen/context2.asp', '');
addItem('Regional and further resources', '/widen/context3.asp', '');
//end

startMenu('mRecruit', true, 160, 0, 200, sideSubM);
//sitemap(9,03)
addItem('Recruitment', '/widen/recruit.asp', '');
addItem('1. Background: recruitment, old-style', '/widen/recruit1.asp', '');
addItem('2. A new target audience ', '/widen/recruit2.asp', '');
addItem('3. Understanding your target audience', '/widen/recruit3.asp', '');
addItem('4. Targeting the target audience', '/widen/recruit4.asp', '');
addItem('5. References and resources ', '/widen/recruit5.asp', '');
//end

startMenu('mSPRecruit', true, 160, 0, 200, sideSubM);
//sitemap(9,04)
addItem('Introduction', '/widen/sprecruit.asp', '');
addItem('Sources - stats and info', '/widen/sprecruit1.asp', '');
addItem('Enhancing recruitment', '/widen/sprecruit2.asp', '');
addItem('Case studies', '/widen/sprecruit3.asp', '');
addItem('Promotional resources', '/widen/sprecruit4.asp', '');
//end




startMenu('mRace', true, 160, 0, 150, sideSubM);
//sitemap(9,07)
addItem('Race Relations Act', '/widen/raceact.asp', '');
addItem('1. Background to the Act', '/widen/raceact1.asp', '');
addItem('2. Major provisions ', '/widen/raceact2.asp', '');
addItem('3. References', '/widen/raceact3.asp', '');
//end


}

if (sideMenu == 'tools')
{
startMenu('root', true, 10, 180, 160, vBar);
addItem('<b>Search</b>', '/tools/search.asp', '');
addItem('<b>Resources and links</b>', '../links/introduction.asp', '');
addItem('<b>Sitemap / Site index</b>', '/tools/sitemap.asp', '');
addItem('<b>Caredata</b>', 'http://www.elsc.org.uk/caredata.htm', '');
addItem('<b>RDN search</b>', '/tools/rdnfind.asp', '');
addItem('<b>Search hints</b>', '/tools/hints.asp', '');

}

}



//menuHighlight(menuObject, 'new out colour', 'new over colour');
menuHighlight(menu1, '#999999', '#999999');
menuHighlight(menu2, '#888888', '#CCCCCC');

//menuHighlight(menu1, '#CC6633', '#6699CC');
//menuHighlight(menu2, '#CC6633', '#66CCFF');



if (!isOp)
{
 menu1.showMenu = new Function('mN','menuAnim(this, mN, 10)');
 menu1.hideMenu = new Function('mN','menuAnim(this, mN, -10)');

 menu2.showMenu = new Function('mN','menuAnim(this, mN, 10)');
 menu2.hideMenu = new Function('mN','menuAnim(this, mN, -10)');
}

if (!isNS4)
{
 menu1.update(true);
 menu2.update(true);
}
else
{
 var popOldOL = window.onload;
 window.onload = function()
 {
  if (popOldOL) popOldOL();
  menu1.update();
  menu2.update();
 }
}

var nsWinW = window.innerWidth, nsWinH = window.innerHeight, popOldOR = window.onresize;
window.onresize = function()
{
 if (popOldOR) popOldOR();
 if (isNS4 && (nsWinW!=innerWidth || nsWinH!=innerHeight)) history.go(0);
 menu1.position();
 menu2.position();
}

window.onscroll = function()
{
 menu1.position();
 menu2.position();
}

if (isNS4)
{
 document.captureEvents(Event.CLICK);
 document.onclick = function(evt)
 {
  with (menu1) if (overI) click(overM, overI);
  with (menu2) if (overI) click(overM, overI);
  return document.routeEvent(evt);
 }
}

if (!isIE || isOp)
{
 var nsPX=pageXOffset, nsPY=pageYOffset;
 setInterval('if (nsPX!=pageXOffset || nsPY!=pageYOffset) ' +
 '{ nsPX=pageXOffset; nsPY=pageYOffset; window.onscroll() }', 50);
}

