function P7_TMenu(b,og) { //v2.5 by Project Seven Development(PVII)
 if(og==9){return;}
 var i,s,c,k,j,tN,hh;if(document.getElementById){
 if(b.parentNode && b.parentNode.childNodes){tN=b.parentNode.childNodes;}else{return;}
 for(i=0;i<tN.length;i++){if(tN[i].tagName=="DIV"){s=tN[i].style.display;
 hh=(s=="block")?"none":"block";if(og==1){hh="block";}tN[i].style.display=hh;}}
 c=b.firstChild;if(c.data){k=c.data;j=k.charAt(0);if(j=='+'){k='-'+k.substring(1,k.length);
 }else if(j=='-'){k='+'+k.substring(1,k.length);}c.data=k;}if(b.className=='mmhidep7plusmark'){
 b.className='mmhidep7minusmark';}else if(b.className=='mmhidep7minusmark'){b.className='mmhidep7plusmark';}}
}

function P7_setTMenu(){ //v2.5 by Project Seven Development(PVII)
 var i,d='',h='<style type=\"text/css\">';if(document.getElementById){
 var tA=navigator.userAgent.toLowerCase();if(window.opera){
 if(tA.indexOf("opera 5")>-1 || tA.indexOf("opera 6")>-1){return;}}
 for(i=1;i<20;i++){d+='div ';h+="\n#p7TMnav div "+d+"{display:none;}";}
 document.write(h+"\n</style>");}
}
P7_setTMenu();

function P7_TMopen(){ //v2.5 by Project Seven Development(PVII)
 var i,x,d,hr,ha,ef,a,ag;if(document.getElementById){d=document.getElementById('p7TMnav');
 if(d){hr=window.location.href;ha=d.getElementsByTagName("A");if(ha&&ha.length){
 for(i=0;i<ha.length;i++){if(ha[i].href){if(hr.indexOf(ha[i].href)>-1){
 if(ha[i].onclick&&ha[i].onclick.toString().indexOf("P7_TMenu")>-1){a=ha[i].parentNode;
 }else{ha[i].className="mmhidep7currentmark";a=ha[i].parentNode.parentNode;}while(a){
 if(a.firstChild && a.firstChild.tagName=="A"){if(a.firstChild.onclick){
 ag=a.firstChild.onclick.toString();if(ag&&ag.indexOf("P7_TMenu")>-1){
 P7_TMenu(a.firstChild,1);}}}a=a.parentNode;}}}}}}}
}

function P7_TMall(a){ //v2.5 by Project Seven Development(PVII)
 var i,x,ha,s,tN;if(document.getElementById){ha=document.getElementsByTagName("A");
 for(i=0;i<ha.length;i++){if(ha[i].onclick){ag=ha[i].onclick.toString();
 if(ag&&ag.indexOf("P7_TMenu")>-1){if(ha[i].parentNode && ha[i].parentNode.childNodes){
 tN=ha[i].parentNode.childNodes;}else{break;}for(x=0;x<tN.length;x++){
 if(tN[x].tagName=="DIV"){s=tN[x].style.display;if(a==0&&s!='block'){P7_TMenu(ha[i]);
 }else if(a==1&&s=='block'){P7_TMenu(ha[i]);}break;}}}}}}
}

function P7_TMclass(){ //v2.5 by Project Seven Development(PVII)
 var i,x,d,tN,ag;if(document.getElementById){d=document.getElementById('p7TMnav');
 if(d){tN=d.getElementsByTagName("A");if(tN&&tN.length){for(i=0;i<tN.length;i++){
 ag=(tN[i].onclick)?tN[i].onclick.toString():false;if(ag&&ag.indexOf("P7_TMenu")>-1){
 tN[i].className='mmhidep7plusmark';}else{tN[i].className='mmhidep7defmark';}}}}}
}

function P7_TMfolder(){ //v1.0 by PVII-www.projectseven.com
 //describe the folder name, link text pairs
 var bb=new Array('about00','About PSP',
				  'aboutWelcome','Welcome',
				  'aboutWhoAreWe','Who Are We?',
				  'aboutCommittees', 'Committees',
				  'aboutJoinUs', 'Join Us!',
				  'contactUs', 'Contact Us',
				  'pubFacts','Learn More',
				  'pubPresentations', 'Presentations:', // WORKING
				  'commLanding', 'Public Policy', // Special landing page
				  'commPR','Press Releases',
				  'commComm','Communications',
				  'commPub','Publishing',
				  'commPSP', 'PSP...Links',
				  'eventsAnnual','Annual',
				  'eventsEd','Educational',
				  'eventsArchive','Archive of',
				  'eventsInterest','Events of',
				  'bulletins','Bulletins',
				  'jobOpenings','Job Openings',
				  'glossary','Issues Glossary',
				  'relSitesResources','Resources',
				  'relSitesPub','Publications',
				  'relSites','Related Sites',
				  'Miscellaneous','Divisions & Committees',
				  'Archicves','Press Archive by Date',
				  'Awards','AAP Awards',
				  'Board','Board of Directors,',
				  'conf_Calendar','Calendar',
				  'Conf_Pub','Publications',
				  'Copy','Rights & Permissions',
				  'CopyCommittee','Copyright',
				  'CopyEdCommittee','Copyright',
				  'CopyKey','Key Issues',
				  'CopyRightsPermComittee','Copyright',
				  'divers_YPG','Young to Publishing',
				  'DivisionsCommittees','Divisions & Committees',
				  'GovAbout','About Government Affairs',
				  'GovCourtPorceed','AAP On the Hill / Issues',
				  'GovOnTheHill','AAP On the Hill / Issues',
				  'HigherEd_About','About AAP Higher ',
				  'higherEd_Access','Accessibility',
				  'HigherEd_Comm','Committee ',
				  'HigherEd_Innovate','Higher Education',
				  'HigherEd_Resource','Resources ',
				  'intCopyNews2','In the News2',
				  'intCopyProtect','About International ',
				  'inFree','About International',
				  'IntFree_Miscellaneous','Committee  ',
				  'Member','Becoming a Member',
				  'Press_Issues','Press Archive by Issue',
				  'PSPCommittees','Committee   ',
				  'Publications','Publications',
				  'SDCommittees','Committees ',
				  'folder4','text4');
 var i,x,d,jj,hr,a,ha,m=false;
 if(document.getElementById){d=document.getElementById('p7TMnav');
 hr=window.location.href;if(d){for(x=0;x<bb.length;x+=2){
 jj="/"+bb[x]+"/";if(hr.indexOf(jj)>-1){m=true;break;}}
 if(m){ha=d.getElementsByTagName("A");if(ha&&ha.length){
 for(i=0;i<ha.length;i++){if(ha[i].firstChild&&ha[i].firstChild.data){
 if(ha[i].firstChild.data==bb[x+1]){
 if(ha[i].onclick&&ha[i].onclick.toString().indexOf("P7_TMenu")>-1){
 a=ha[i].parentNode;}else{a=ha[i].parentNode.parentNode;
 ha[i].className="mmhidep7currentmark";}while(a){
 if(a.tagName&&a.tagName=="DIV"&&a.firstChild&&a.firstChild.tagName=="A"){
 P7_TMenu(a.firstChild,1);}a=a.parentNode;}}}}}}}}
 }




