var hBar = new ItemStyle(0, 1, '', 0, 0, '10#FFFFFF', '10#008000', 'lowText', 'highText', '', '', null, null, 'hand', 'default');

var subM = new ItemStyle(22, 0, '&gt;', -15, 3, '#008000', '#CC0000', 'subText', 'overText', 'itemBorderBlank', 'itemBorderBlank', 60, 85, 'hand', 'default');

var subBlank = new ItemStyle(22, 0, '&gt;', -15, 3, '#008000', '#CC0000', 'subText', 'overText', 'itemBorderBlank', 'itemBorderBlank', 60, 85, 'hand', 'default');

var separator = new ItemStyle(20, 1, '', 0, 0, '#FFFFFF', '#FFFFFF', 'lowText', 'highText', '', '', null, null, 'hand', 'default');

var separatorII = new ItemStyle(20, 50, '', 0, 0, '#FFFFFF', '#FFFFFF', 'lowText', 'highText', '', '', null, null, 'hand', 'default');

var tag = new ItemStyle(0, 1, '', 0, 0, '#FFFFFF', '#FFFFFF', 'tagText', 'tagText', '', '', null, null, 'hand', 'default');

var pMenu = new PopupMenu('pMenu');
with (pMenu)
{
startMenu('root', false, 0, 0, 17, hBar, 'navmenu');
addItem('<img src="mainpage/Green paw.jpg" border="0">', '', '', separator);
addItem('Administration', 'http://www.salemhigh.com/admin/index.htm', 'content', null, 95);
addItem('<img src="mainpage/Red paw.jpg" border="0">', '', '', separator);
addItem('Alumni', 'http://www.salemhigh.com/alumni/index.htm', 'content', null, 55);
addItem('<img src="mainpage/Green Paw.jpg" border="0">', '', '', separator);
addItem('Athletics', 'mAthletics', 'sm:', null, 65);
addItem('<img src="mainpage/Red Paw.jpg" border="0">', '', '', separator);
addItem('Information', 'mInfo', 'sm:', null, 85);
addItem('<img src="mainpage/Green Paw.jpg" border="0">', '', '', separator);
addItem('Organizations', 'mOrg', 'sm:', null, 90);
addItem('<img src="mainpage/Red Paw.jpg" border="0">', '', '', separator);
addItem('School Board', 'http://www.salemhigh.com/sb/index.htm', 'content', null, 95);
addItem('<img src="mainpage/Green Paw.jpg" border="0">', '', '', separator);
addItem('Staff', 'mStaff', 'sm:', null, 45);
addItem('<img src="mainpage/Red Paw.jpg" border="0">', '', '', separatorII);
addItem('Home of the Wildcats', 'http://www.salemhigh.com/MainPage/mainpg small.htm', 'content', tag, 150);

startMenu('mAthletics', true, 0, 'content.page.scrollY() + 5', 115, subM, 'content');
addItem('Apollo', 'window.open("http://www.apolloconference.com/")', 'js:', null, 22);
addItem('Baseball', 'http://www.salemhigh.com/athletics/baseball/index.htm', 'content');
addItem('Basketball', 'mBasket', 'sm:');
addItem('Bowling', 'mBowl', 'sm:');
addItem('Cheerleading', 'http://www.salemhigh.com/athletics/cheer/index.htm', 'content');
addItem('Cross Country', 'mCross', 'sm:');
addItem('Dance Team', 'http://www.salemhigh.com/athletics/danceteam/index.htm', 'content');
addItem('Football', 'http://www.salemhigh.com/athletics/football/index.htm', 'content');
addItem('Golf', 'mGolf', 'sm:');
addItem('Soccer', 'mSoccer', 'sm:');
addItem('Softball', 'http://www.salemhigh.com/athletics/softball/index.htm', 'content');
addItem('Superfans', 'http://www.salemhigh.com/athletics/Superfans/index.htm', 'content');
addItem('Tennis', 'mTennis', 'sm:');
addItem('Track', 'mTrack', 'sm:');
addItem('Volleyball', 'http://www.salemhigh.com/athletics/volleyball/index.htm', 'content');
addItem('Wildcat Boosters', 'http://www.salemhigh.com/athletics/boosters/index.htm', 'content');

startMenu('mBasket', true, 110, 'content.page.scrollY() + 47', 75, subM, 'content');
addItem('Boys', 'http://www.salemhigh.com/athletics/bbasket/index.htm', 'content', subBlank, 22);
addItem('Girls', 'http://www.salemhigh.com/athletics/gbasketball/index.htm', 'content', subBlank, 22);

startMenu('mBowl', true, 110, 'content.page.scrollY() + 68', 75, subM, 'content');
addItem('Boys', 'http://www.salemhigh.com/athletics/BBowling/index.htm', 'content', subBlank, 22);
addItem('Girls', 'http://www.salemhigh.com/athletics/GBowling/index.htm', 'content', subBlank, 22);

startMenu('mCross', true, 110, 'content.page.scrollY() + 110', 75, subM, 'content');
addItem('Boys', 'http://www.salemhigh.com/athletics/bcc/index.htm', 'content', subBlank, 22);
addItem('Girls', 'http://www.salemhigh.com/athletics/gcc/index.htm', 'content', subBlank, 22);

startMenu('mGolf', true, 110, 'content.page.scrollY() + 173', 75, subM, 'content');
addItem('Boys', 'http://www.salemhigh.com/athletics/bgolf/index.htm', 'content', subBlank, 22);
addItem('Girls', 'http://www.salemhigh.com/athletics/ggolf/index.htm', 'content', subBlank, 22);

startMenu('mSoccer', true, 110, 'content.page.scrollY() + 194', 75, subM, 'content');
addItem('Boys', 'http://www.salemhigh.com/athletics/bsoccer/index.htm', 'content', subBlank, 22);
addItem('Girls', 'http://www.salemhigh.com/athletics/gsoccer/index.htm', 'content', subBlank, 22);

startMenu('mTennis', true, 110, 'content.page.scrollY() + 257', 75, subM, 'content');
addItem('Boys', 'http://www.salemhigh.com/athletics/btennis/index.htm', 'content', subBlank, 22);
addItem('Girls', 'http://www.salemhigh.com/athletics/gtennis/index.htm', 'content', subBlank, 22);

startMenu('mTrack', true, 110, 'content.page.scrollY() + 278', 75, subM, 'content');
addItem('Boys', 'http://www.salemhigh.com/athletics/btrack/index.htm', 'content', subBlank, 22);
addItem('Girls', 'http://www.salemhigh.com/athletics/gtrack/index.htm', 'content', subBlank, 22);


startMenu('mInfo', true, 0, 'content.page.scrollY() + 5', 185, subM, 'content');
addItem('Academic Foundation', 'http://www.salemhigh.com/info/academic/index.htm', 'content');
addItem('Broadcast Communications', 'http://www.salemhigh.com/info/WILD/index.htm', 'content');
addItem('College Visits', 'http://www.salemhigh.com/info/CollegeVisits/index.htm', 'content');
addItem('Course Description', 'http://www.salemhigh.com/newstaff/student services/course description.pdf', 'content');
addItem('Daily Schedule', 'http://www.salemhigh.com/info/schedules/index.htm', 'content');
addItem('Driving Directions', 'http://www.salemhigh.com/info/directions/directions.htm', 'content');
addItem('Dual Credit Courses', 'http://www.salemhigh.com/info/dualcredit/index.htm', 'content');
addItem('Edline', 'window.open("http://www.edline.net/pages/Salem_Community_High_School")', 'js:', subBlank, 22);
addItem('Email Staff', 'window.open("http://www.salemhigh.com/Email Us/index.htm")', 'js:', subBlank);
addItem('Grading Scale', 'http://www.salemhigh.com/info/Grading Scale/index.htm', 'content');
addItem('Hall of Fame', 'http://www.salemhigh.com/info/Hall Of Fame/hof.htm', 'content');
addItem('Handbook', 'window.open("http://www.salemhigh.com/info/Handbook/index.pdf")', 'js:', subBlank, 22);
addItem('Lunch Menu', 'http://www.salemhigh.com/info/lunch/lunch.htm', 'content');
addItem('Mission Statement', 'http://www.salemhigh.com/info/mission/mission.htm', 'content');
addItem('Regional Delivery System', 'window.open("http://www.roe13.k12.il.us/ctes")', 'js:');
addItem('Scholarships/Opportunities', 'http://www.salemhigh.com/info/Scholarship/index.htm', 'content');
addItem('School Calendar', 'http://www.salemhigh.com/info/calendar/index.htm', 'content');
addItem('Semester Exam Schedule', 'http://www.salemhigh.com/info/exam schedule/exam.htm', 'content');
addItem('Student of the Month', 'mStudent', 'sm:');
addItem('Teacher of the Month', 'http://www.salemhigh.com/info/TeacheroftheMonth/index.htm', 'content');
addItem('Teen Driving Safety', 'http://www.salemhigh.com/info/Teen Driving Safety/index.htm', 'content');
addItem('Testing Information', 'http://www.salemhigh.com/info/TestingInfo/index.htm', 'content');
addItem('WIN For WorkKeys', 'window.open("http://mcw-cty-il.wincshost.com/default.php")', 'js:');

startMenu('mStudent', true, 180, 'content.page.scrollY() + 383', 145, subM, 'content');
addItem('<font size=2>Student of the Month</font>', 'http://www.salemhigh.com/info/StudentoftheMonth/index.htm', 'content', subBlank, 22);
addItem('Caught You Doing Something Good', 'http://www.salemhigh.com/info/Caught You/index.htm', 'content', subBlank, 36);

startMenu('mOrg', true, 0, 'content.page.scrollY() + 5', 150, subM, 'content');
addItem('Academic', 'mAcademic', 'sm:');
addItem('Class Officers', 'http://www.salemhigh.com/org/Class Officers/index.htm', 'content');
addItem('Clubs', 'mClubs', 'sm:');
addItem('Fine Arts', 'mFarts', 'sm:');
addItem('Media Center Workers', 'http://www.salemhigh.com/org/media/index.htm', 'content');
addItem('Prom', 'http://www.salemhigh.com/org/Prom2010/index.htm', 'content');
addItem('Salemarion', 'http://www.salemhigh.com/org/salemarion/index.htm', 'content');
addItem('Student Council', 'http://www.salemhigh.com/org/studentcouncil/index.htm', 'content');
addItem('Tech Prep', 'http://www.salemhigh.com/org/techprep/index.htm', 'content');
addItem('Wildcat Webmasters', 'http://www.salemhigh.com/org/Webmasters/index.htm', 'content');

startMenu('mAcademic', true, 145, 'content.page.scrollY() + 5', 160, subM, 'content');
addItem('Academic Challenge', 'http://www.salemhigh.com/org/Academic Challenge/index.htm', 'content', subBlank, 22);
addItem('Illinois State Scholars', 'http://www.salemhigh.com/org/IL State Scholars/index.htm', 'content', subBlank, 22);
addItem('Math Team', 'http://www.salemhigh.com/org/Math_Team/index.htm', 'content', subBlank, 22);
addItem('Mock Trial', 'http://www.salemhigh.com/org/Mock Trial/index.htm', 'content', subBlank, 22);
addItem('National Honor Society', 'http://www.salemhigh.com/org/NHS/index.htm', 'content', subBlank, 22);
addItem('Scholastic Bowl', 'http://www.salemhigh.com/org/Sbowl/index.htm', 'content', subBlank, 22);

startMenu('mClubs', true, 145, 'content.page.scrollY() + 47', 160, subM, 'content');
addItem('Art Club', 'http://www.salemhigh.com/org/art_club/index.htm', 'content', subBlank, 22);
addItem('Culinary Cats', 'http://www.salemhigh.com/org/Culinary Cats/index.htm', 'content');
addItem('FBLA', 'http://www.salemhigh.com/org/FBLA/index.htm', 'content', subBlank, 22);
addItem('FCA', 'http://www.salemhigh.com/org/fca/index.htm', 'content', subBlank, 22);
addItem('FFA', 'http://www.salemhigh.com/org/ffa/index.htm', 'content', subBlank, 22);
addItem('Foreign Language Club', 'http://www.salemhigh.com/org/Foreign Lang/index.htm', 'content', subBlank, 22);
addItem('Peer Helpers', 'http://www.salemhigh.com/org/peerhelpers/index.htm', 'content', subBlank, 22);
addItem('Thoughtwell', 'http://www.salemhigh.com/org/thoughtwell/index.htm', 'content', subBlank, 22);

startMenu('mFarts', true, 145, 'content.page.scrollY() + 68', 160, subM, 'content');
addItem('Band', 'http://www.salemhigh.com/org/band/index.htm', 'content', subBlank, 22);
addItem('Concert Choir', 'http://www.salemhigh.com/org/choir/index.htm', 'content', subBlank, 22);
addItem('Fall Play', 'http://www.salemhigh.com/org/fall play/index.htm', 'content', subBlank, 22);
addItem('Salemaires', 'http://www.salemhigh.com/org/salemaires/index.htm', 'content', subBlank, 22);
addItem('Spring Musical', 'http://www.salemhigh.com/org/spring musical/index.htm', 'content');

startMenu('mStaff', true, -83, 'content.page.scrollY() + 5', 135, subM, 'content');
addItem('&nbsp; &nbsp; Departments', 'mDep', 'sm:', subBlank, 22, 0, '&lt;', 3);
addItem('&nbsp; &nbsp; Email Staff', 'window.open("http://www.salemhigh.com/Email Us/index.htm")', 'js:', subBlank, 22);
addItem('&nbsp; &nbsp; Fast Class', 'window.open("http://www.salemhigh.com/newstaff/Fast Class/index.htm")', 'js:', subBlank, 22);
addItem('&nbsp; &nbsp; Media Center', 'window.open("http://www.salemhigh.com/mc/index.htm")', 'js:', subBlank, 22);
addItem('&nbsp; &nbsp; Staff Pages', 'mPages', 'sm:', subBlank, 22, 0, '&lt;', 3);
addItem('&nbsp; &nbsp; Student Services', 'mServices', 'sm:', subBlank, 22, 0, '&lt;', 3);
addItem('&nbsp; &nbsp; Support Staff', 'window.open("http://www.salemhigh.com/newstaff/support staff/index.htm")', 'js:', subBlank, 22);

startMenu('mDep', true, -170, 'content.page.scrollY() + 5', 175, subM, 'content');
addItem('English', 'window.open("http://www.salemhigh.com/newstaff/departments/english/index.htm")', 'js:', subBlank, 22);
addItem('Family & Consumer Science', 'window.open("http://www.salemhigh.com/newstaff/departments/family and consumer science/index.htm")', 'js:', subBlank, 22);
addItem('Foreign Language/ Fine Arts', 'window.open("http://www.salemhigh.com/newstaff/departments/foreign language fine arts/index.htm")', 'js:', subBlank, 22);
addItem('General Studies', 'window.open("http://www.salemhigh.com/newstaff/departments/general studies/Index.htm")', 'js:', subBlank, 22);
addItem('Information Technology', 'window.open("http://www.salemhigh.com/newstaff/departments/Info Tech/index.htm")', 'js:', subBlank, 22);
addItem('Mathematics', 'window.open("http://www.salemhigh.com/newstaff/departments/math/index.htm")', 'js:', subBlank, 22);
addItem('Media Center', 'window.open("http://www.salemhigh.com/mc/index.htm")', 'js:', subBlank, 22);
addItem('Physical Education & Health', 'window.open("http://www.salemhigh.com/newstaff/departments/pe/index.htm")', 'js:', subBlank, 22);
addItem('Science', 'window.open("http://www.salemhigh.com/newstaff/departments/science/index.htm")', 'js:', subBlank, 22);
addItem('Social Studies', 'window.open("http://www.salemhigh.com/newstaff/departments/social studies/index.htm")', 'js:', subBlank, 22);
addItem('Technology', 'window.open("http://tech.salemhigh.com/")', 'js:', subBlank, 22);
addItem('Vocational Education', 'window.open("http://www.salemhigh.com/newstaff/departments/Vocational/Index.htm")', 'js:', subBlank, 22);

startMenu('mPages', true, -65, 'content.page.scrollY() + 89', 70, subM, 'content');
addItem('&nbsp; &nbsp; A-F', 'mAF', 'sm:', subBlank, 22, 0, '&lt;', 3);
addItem('&nbsp; &nbsp; G-O', 'mGO', 'sm:', subBlank, 22, 0, '&lt;', 3);
addItem('&nbsp; &nbsp; P-R', 'mPR', 'sm:', subBlank, 22, 0, '&lt;', 3);
addItem('&nbsp; &nbsp; S-Z', 'mSZ', 'sm:', subBlank, 22, 0, '&lt;', 3);

startMenu('mServices', true, -125, 'content.page.scrollY() + 110', 130, subM, 'content');
addItem('Course Descriptions', 'window.open("http://www.salemhigh.com/newstaff/student services/course description.pdf")', 'js:', subBlank, 22);
addItem('Student Services', 'window.open("http://www.salemhigh.com/newstaff/student services/index.htm")', 'js:', subBlank, 22);


startMenu('mAF', true, -115, 'content.page.scrollY() + 89', 120, subM, 'content', false);
addItem('Mr. Alli', 'window.open("http://www.salemhigh.com/newstaff/alli/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Anderson', 'window.open("http://www.salemhigh.com/newstaff/anderson/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Baldridge', 'window.open("http://www.salemhigh.com/newstaff/baldridge/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Barrow', 'window.open("http://www.salemhigh.com/newstaff/barrow/mary.htm")', 'js:', subBlank, 22);
addItem('Mrs. Basnett', 'window.open("http://www.salemhigh.com/newstaff/basnett/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Beavin', 'window.open("http://www.salemhigh.com/newstaff/beavin/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Brummett', 'window.open("http://www.salemhigh.com/newstaff/brummett/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. L. Bryant', 'window.open("http://www.salemhigh.com/newstaff/bryantl/index.htm")', 'js:', subBlank,  22);
addItem('Mr. Burmeister', 'window.open("http://www.salemhigh.com/newstaff/burmeisterold/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Causey', 'window.open("http://www.salemhigh.com/newstaff/causey/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Cerny', 'window.open("http://www.salemhigh.com/newstaff/cerny/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. A. Clark', 'window.open("http://www.salemhigh.com/newstaff/clark/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. S. Clark', 'window.open("http://www.salemhigh.com/newstaff/Sclark/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Cook', 'window.open("http://www.salemhigh.com/newstaff/cook/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Donoho', 'window.open("http://www.salemhigh.com/newstaff/donoho/index.htm")', 'js:', subBlank, 22);
addItem('Ms. Felton', 'window.open("http://www.salemhigh.com/newstaff/felton/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Frederick', 'window.open("http://www.salemhigh.com/newstaff/frederick/index.htm")', 'js:', subBlank, 22);


startMenu('mGO', true, -115, 'content.page.scrollY() + 110', 120, subM, 'content', false);
addItem('Mrs. Gaston', 'window.open("http://www.salemhigh.com/newstaff/Gaston/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Gibbs', 'window.open("http://www.salemhigh.com/mc/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Green', 'window.open("http://www.salemhigh.com/newstaff/green/index.htm")', 'js:', subBlank,  22);
addItem('Mr. Haney', 'window.open("http://www.salemhigh.com/newstaff/Haney/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Helbig', 'window.open("http://www.salemhigh.com/newstaff/Helbig/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Holst', 'window.open("http://www.salemhigh.com/newstaff/jholst/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Hooe', 'window.open("http://www.salemhigh.com/newstaff/hooe/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Irwin', 'window.open("http://www.salemhigh.com/newstaff/irwin/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Johnson', 'window.open("http://www.salemhigh.com/newstaff/johnson/index.htm")', 'js:', subBlank,  22);
addItem('Mrs. Johnson', 'window.open("http://www.salemhigh.com/newstaff/mrs. johnson/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Kessler', 'window.open("http://www.salemhigh.com/newstaff/kessler/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Knapp', 'window.open("http://www.salemhigh.com/newstaff/Harris/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Kreke', 'window.open("http://www.salemhigh.com/newstaff/kreke/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Lever', 'window.open("http://www.salemhigh.com/newstaff/lever/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Lipe', 'window.open("http://www.salemhigh.com/newstaff/lipe/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Lux', 'window.open("http://www.salemhigh.com/newstaff/lux/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Mulvany', 'window.open("http://www.salemhigh.com/newstaff/mulvany/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Owen', 'window.open("http://www.salemhigh.com/newstaff/Owen/index.htm")', 'js:', subBlank, 22);

startMenu('mPR', true, -115, 'content.page.scrollY() + 131', 120, subM, 'content', false);
addItem('Mrs. Petrea', 'window.open("http://www.salemhigh.com/newstaff/petrea/mrs_petrea_home_page.htm")', 'js:', subBlank, 22);
addItem('Mr. Phillips', 'window.open("http://www.salemhigh.com/newstaff/phillips/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Pokojski', 'window.open("http://www.salemhigh.com/newstaff/pokojski/index.htm")', 'js:', subBlank,  22);
addItem('Mr. Purcell', 'window.open("http://www.salemhigh.com/newstaff/purcell/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Ramos', 'window.open("http://www.salemhigh.com/newstaff/ramos/index.htm")', 'js:', subBlank, 22);
addItem('Miss Rector', 'window.open("http://www.salemhigh.com/newstaff/rector/index.htm")', 'js:', subBlank, 22);
addItem('Ms. Reuscher', 'window.open("http://www.salemhigh.com/newstaff/Reuscher/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Rose', 'window.open("http://www.salemhigh.com/newstaff/rose/index.htm")', 'js:', subBlank, 22);


startMenu('mSZ', true, -115, 'content.page.scrollY() + 152', 120, subM, 'content', false);
addItem('Miss Schuler', 'window.open("http://www.salemhigh.com/newstaff/schuler/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Shafer', 'window.open("http://www.salemhigh.com/newstaff/Shafer/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Smalley', 'window.open("http://www.salemhigh.com/newstaff/smalley/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Snodsmith', 'window.open("http://www.salemhigh.com/newstaff/snodsmith/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Stallard', 'window.open("http://www.salemhigh.com/newstaff/stallard/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Stephenson', 'window.open("http://www.salemhigh.com/newstaff/stephenson/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Steward', 'window.open("http://www.salemhigh.com/newstaff/steward/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Stewart', 'window.open("http://www.salemhigh.com/newstaff/Stewart/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Storck', 'window.open("http://www.salemhigh.com/newstaff/Storck/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Sullens', 'window.open("http://www.salemhigh.com/newstaff/Sullens/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Thackrey', 'window.open("http://www.salemhigh.com/newstaff/Thackrey/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Thomas', 'window.open("http://www.salemhigh.com/newstaff/thomas/index.htm")', 'js:', subBlank, 22);
addItem('Mrs. Walker', 'window.open("http://www.salemhigh.com/newstaff/walker/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Wolfe', 'window.open("http://www.salemhigh.com/newstaff/Wolfe/index.htm")', 'js:', subBlank, 22);
addItem('Mr. Ziaja', 'window.open("http://www.salemhigh.com/newstaff/ziaja/index.htm")', 'js:', subBlank, 22);}

addMenuBorder(pMenu, window.subBlank,
 null, '#666666', 1, '#CCCCDD', 2);

addDropShadow(pMenu, window.subM,
 [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]);
addDropShadow(pMenu, window.subBlank,
 [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]);


if (navigator.userAgent.indexOf('rv:0.')==-1 && !(isOp&&!document.documentElement))
{
 pMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)');
 pMenu.hideMenu = new Function('mN','menuAnim(this, mN, -10)');
}

function menuAnim(menuObj, menuName, dir)
{
 var mD = menuObj.menu[menuName][0];
 if (!mD.timer) mD.timer = 0;
 if (!mD.counter) mD.counter = 0;
 with (mD)
 {
  clearTimeout(timer);
  if (!lyr || !lyr.ref) return;
  if (!visNow && dir>0) dir = 0-dir;
  if (dir>0) lyr.vis('visible');
  lyr.sty.zIndex = 1001 + dir;

  lyr.clip(0, 0, menuW+2, (menuH+2)*Math.pow(Math.sin(Math.PI*counter/200),0.75) );

  counter += dir;
  if (counter>100) counter = 100;
  else if (counter<0) { counter = 0; lyr.vis('hidden') }
  else timer = setTimeout(menuObj.myName+'.'+(dir>0?'show':'hide')+'Menu("'+menuName+'")', 40);
 }
}

function addMenuBorder(mObj, iS, alpha, bordCol, bordW, backCol, backW)
{
 for (var mN in mObj.menu)
 {
  var mR=mObj.menu[mN], dS='<div style="position:absolute; background:';
  if (mR[0].itemSty != iS) continue;
  for (var mI=1; mI<mR.length; mI++)
  {
   mR[mI].iX += bordW+backW;
   mR[mI].iY += bordW+backW;
  }
  mW = mR[0].menuW += 2*(bordW+backW);
  mH = mR[0].menuH += 2*(bordW+backW);

  if (isNS4) mR[0].extraHTML += '<layer bgcolor="'+bordCol+'" left="0" top="0" width="'+mW+
   '" height="'+mH+'" z-index="980"><layer bgcolor="'+backCol+'" left="'+bordW+'" top="'+
   bordW+'" width="'+(mW-2*bordW)+'" height="'+(mH-2*bordW)+'" z-index="990"></layer></layer>';
  else mR[0].extraHTML += dS+bordCol+'; left:0px; top:0px; width:'+mW+'px; height:'+mH+
   'px; z-index:980; '+(alpha!=null?'filter:alpha(opacity='+alpha+'); -moz-opacity:'+(alpha/100):'')+
   '">'+dS+backCol+'; left:'+bordW+'px; top:'+bordW+'px; width:'+(mW-2*bordW)+'px; height:'+
   (mH-2*bordW)+'px; z-index:990"></div></div>';
 }
}

function addDropShadow(mObj, iS)
{
 for (var mN in mObj.menu)
 {
  var a=arguments, mD=mObj.menu[mN][0], addW=addH=0;
  if (mD.itemSty != iS) continue;
  for (var shad=2; shad<a.length; shad++)
  {
   var s = a[shad];
   if (isNS4) mD.extraHTML += '<layer bgcolor="'+s[1]+'" left="'+s[2]+'" top="'+s[3]+'" width="'+
    (mD.menuW+s[4])+'" height="'+(mD.menuH+s[5])+'" z-index="'+(arguments.length-shad)+'"></layer>';
   else mD.extraHTML += '<div style="position:absolute; background:'+s[1]+'; left:'+s[2]+
    'px; top:'+s[3]+'px; width:'+(mD.menuW+s[4])+'px; height:'+(mD.menuH+s[5])+'px; z-index:'+
    (a.length-shad)+'; '+(s[0]!=null?'filter:alpha(opacity='+s[0]+'); -moz-opacity:'+(s[0]/100):'')+
    '"></div>';
   addW=Math.max(addW, s[2]+s[4]);
   addH=Math.max(addH, s[3]+s[5]);
  }
  mD.menuW+=addW; mD.menuH+=addH;
 }
}