function Is() {
agent = navigator.userAgent.toLowerCase();
this.major = parseInt(navigator.appVersion);
this.minor = parseFloat(navigator.appVersion);


// NETSCAPE SNIFFS 


this.ns = ((agent.indexOf('mozilla')!=-1) && (agent.indexOf('spoofer')==-1)
&& (agent.indexOf('compatible') == -1) && (agent.indexOf('opera')==-1)
&& (agent.indexOf('webtv')==-1));
this.ns2 = (this.ns && (this._major == 2));
this.ns3 = (this.ns && (this.major == 3));
this.ns4 = (this.ns && (this.major == 4));
this.ns40 = (this.ns && (this.major == 4) && (agent.indexOf('4.0 ')!=-1));
this.ns401 = (this.ns && (this.major == 4) && (agent.indexOf('4.01')!=-1));
this.ns02 = (this.ns && (this.major == 4) && (agent.indexOf('4.02')!=-1));
this.ns03 = (this.ns && (this.major == 4) && (agent.indexOf('4.03')!=-1));
this.ns04 = (this.ns && (this.major == 4) && (agent.indexOf('4.04')!=-1));
this.ns05 = (this.ns && (this.major == 4) && (agent.indexOf('4.05')!=-1));
this.ns06 = (this.ns && (this.major == 4) && (agent.indexOf('4.06')!=-1));
this.ns07 = (this.ns && (this.major == 4) && (agent.indexOf('4.07')!=-1));
this.ns08 = (this.ns && (this.major == 4) && (agent.indexOf('4.08')!=-1));
this.ns450 = (this.ns && (this.major == 4) && (agent.indexOf('4.50')!=-1));
this.ns451 = (this.ns && (this.major == 4) && (agent.indexOf('4.51')!=-1));
this.ns46 = (this.ns && (this.major == 4) && (agent.indexOf('4.6')!=-1));
this.ns461 = (this.ns && (this.major == 4) && (agent.indexOf('4.61')!=-1));
this.ns47 = (this.ns && (this.major == 4) && (agent.indexOf('4.7')!=-1));
this.ns472 = (this.ns && (this.major == 4) && (agent.indexOf('4.72')!=-1));
this.ns473 = (this.ns && (this.major == 4) && (agent.indexOf('4.73')!=-1));
this.ns474 = (this.ns && (this.major == 4) && (agent.indexOf('4.74')!=-1));
this.ns475 = (this.ns && (this.major == 4) && (agent.indexOf('4.75')!=-1));
this.ns476 = (this.ns && (this.major == 4) && (agent.indexOf('4.76')!=-1));
this.ns48 = (this.ns && (this.major == 4) && (agent.indexOf('4.8')!=-1));
this.ns6 = (this.ns && (this.major == 6));
this.ns7 = (this.ns && (this.major == 7));
this.ns7up = (this.ns && (this.major >= 6));


//MOZILLA-SPECIFIC CHECK 


this.ns6pr1 = (this.ns && (this.major == 5)&&(agent.indexOf('6.0b1')!=-1)); 
this.ns6pr2 = (this.ns && (this.major == 5)&&(agent.indexOf('6.0b2')!=-1)); 
this.ns6pr3 = (this.ns && (this.major == 5)&&(agent.indexOf('6.0b3')!=-1)); 
this.ns6gold = (this.ns && (this.major == 5) && (agent.indexOf('netscape')!=-1) && !this.ns6pr1 && !this.ns6pr2 && !this.ns6pr3);
this.moz = (this.ns && (this.major >= 5) && (agent.indexOf('netscape')==-1));
if(this.ns6){
if (agent.indexOf('; m')!=-1){
MSnumStart = agent.indexOf('; m') + 3;
MSnumEnd = MSnumStart +2;
MSnum = agent.substring(MSnumStart, MSnumEnd);
mozmile = Number(MSnum);
}
else{mozmile = 'cannot obtain milestone number';}
}
else{mozmile = 'not a mozilla or netscape user agent';}
this.mozBased = (agent.indexOf('gecko')!=-1); 
if(this.mozBased){
GeckoBuildIDStart = agent.indexOf('gecko') + 6;
GeckoBuildIDEnd = GeckoBuildIDStart + 8;
GeckoBuildIDnum = agent.substring(GeckoBuildIDStart, GeckoBuildIDEnd);
GeckoBuildID = Number(GeckoBuildIDnum);
}
else{GeckoBuildID = 'cannot obtain gecko build #';}


//MSIE CHECK 


this.ie = ((agent.indexOf("msie") != -1)&& (agent.indexOf('opera')==-1));
this.winie = (this.win && this.ie);
this.ie3 = (this.ie && (this.major < 4) && !this.ie6);
this.ie4 = (this.ie && (this.major == 4) && (agent.indexOf("msie 4")!=-1) );
this.ie401 = (this.ie && (this.major == 4) && (agent.indexOf("msie 4.01")!=-1) );
this.ie4up = (this.ie && (this.major >= 4));
this.ie5 = (this.ie && (this.major == 4) && (agent.indexOf("msie 5")!=-1) );
this.ie51 = (this.ie && (this.major == 4) && (agent.indexOf("msie 5.01")!=-1) );
this.ie55 = (this.ie && (this.major == 4) && (agent.indexOf("msie 5.5")!=-1) ); 
this.ie5up = (this.ie && !this.ie3 && !this.ie4);
this.ie6 = (this.ie && (agent.indexOf("msie 6.0")!=-1) );
this.ie7 = (this.ie && (agent.indexOf("msie 7.0")!=-1) ); 
this.ie8 = (this.ie && (agent.indexOf("msie 8.0")!=-1) ); 
this.ie9 = (this.ie && (agent.indexOf("msie 9.0")!=-1) ); 

// AOL CHECKS 


this.aol = (agent.indexOf("aol") != -1);
this.aolandie3 = (this.aol && this.ie3); 
this.aolandie4 = (this.aol && this.ie4); 
this.aolandie5 = (this.aol && this.ie5);
this.aol3 = (agent.indexOf("aol 3") != -1);
this.aol4 = (agent.indexOf("aol 4") != -1);
this.aol5 = (agent.indexOf("aol 5") != -1);
this.aol6 = (agent.indexOf("aol 6") != -1);
this.aol7 = (agent.indexOf("aol 7") != -1);
this.aol8 = (agent.indexOf("aol 8") != -1);


//MAC CHECK 


this.mac = (agent.indexOf("mac")!=-1); 
this.mac68k = (this.mac && ((agent.indexOf("68k")!=-1) ||
(agent.indexOf("68000")!=-1)));
this.macppc = (this.mac && ((agent.indexOf("ppc")!=-1) ||
(agent.indexOf("powerpc")!=-1)));
//MAC MSIE CHECK
this.macie = (this.mac && this.ie); 
this.macie4 = (this.mac && (agent.indexOf("msie 4")!=-1));
this.macie401 = (this.mac && (agent.indexOf("msie 4.01")!=-1));
this.macie45 = (this.mac && (agent.indexOf("msie 4.5")!=-1));
this.macie5 = (this.mac && (agent.indexOf("msie 5.0")!=-1));
this.macie6 = (this.mac && (agent.indexOf("msie 6.0")!=-1));
// MAC SAFARI
this.safari = (this.mac && (agent.indexOf("safari")!=-1));


//OPERA CHECK 


this.opera = (agent.indexOf("opera") != -1);
this.opera3 = (this.opera && (agent.indexOf(") 3.0") != -1));
this.opera321 = (this.opera && (agent.indexOf(") 3.21") != -1));
this.opera351 = (this.opera && (agent.indexOf(") 3.51") != -1));
this.opera360 = (agent.indexOf("opera 3.60") != -1);
this.opera361 = (agent.indexOf("opera 3.61") != -1);
this.opera362 = (agent.indexOf("opera 3.62") != -1);
this.opera4 = (agent.indexOf("opera 4") != -1);
this.opera5 = (agent.indexOf("opera 5") != -1);
this.opera51 = (agent.indexOf("opera 5.1") != -1);
this.opera52 = (agent.indexOf("opera 5.2") != -1);
this.opera6 = (agent.indexOf("opera 6") != -1);
this.opera7 = (agent.indexOf("opera 7") != -1);


//WEB TV CHECK 


this.webtv = (agent.indexOf("webtv") != -1);
this.webtv12 = this.webtv && (agent.indexOf("1.2") != -1);
this.webtv22 = this.webtv && (agent.indexOf("2.2") != -1);


//WINDOWS CHECK 


this.win = ( (agent.indexOf("win")!=-1) || (agent.indexOf("16bit")!=-1) );
this.win95 = ((agent.indexOf("win95")!=-1) || (agent.indexOf("windows 95")!=-1));
this.win16 = ((agent.indexOf("win16")!=-1) ||
(agent.indexOf("16bit")!=-1) || (agent.indexOf("windows 3.1")!=-1) ||
(agent.indexOf("windows 16-bit")!=-1) );
this.win31 = ((agent.indexOf("windows 3.1")!=-1) || (agent.indexOf("win16")!=-1) ||
(agent.indexOf("windows 16-bit")!=-1));
this.win98 = ((agent.indexOf("win98")!=-1) || (agent.indexOf("windows 98")!=-1)); 
this.winnt = ((agent.indexOf("winnt")!=-1) || (agent.indexOf("windows nt")!=-1));
this.winnt4 = (agent.indexOf("windows nt 4.0")!=-1);
this.winnt5 = (agent.indexOf("windows nt 5.0")!=-1); 
this.winnt6 = (agent.indexOf("windows nt 6.0")!=-1);
this.win2pro = (agent.indexOf("win2000pro")!=-1);
this.win21 = (agent.indexOf("windows 2001")!=-1);
this.wince = (agent.indexOf("windows ce")!=-1); 
this.winxp = (agent.indexOf("windows xp")!=-1);
}

var is = new Is(); 


//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 1

//Menu properties
oCMenu.pxBetween=0
oCMenu.fromLeft=0
oCMenu.fromTop=178

if (is.ie5) {
 oCMenu.fromTop=193
}
if (is.ie6) {
 oCMenu.fromTop=193
}
if (is.ie7) {
 oCMenu.fromTop=193
}
if (is.ie8) {
 oCMenu.fromTop=186
}
if (is.safari) {
 oCMenu.fromTop=186
}
if (is.moz) {
 oCMenu.fromTop=186
}


oCMenu.rows=1
oCMenu.menuPlacement="center"

oCMenu.offlineRoot=" "
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1
oCMenu.wait=0500
oCMenu.fillImg="images/blank_dot.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth=150
oCMenu.barHeight="menu"
oCMenu.barClass="clBar"
oCMenu.barX=
oCMenu.barY=21
oCMenu.barBorderX=0
oCMenu.barBorderY=1
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=250
oCMenu.level[0].height=43
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=-1
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="bottom"


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
//oCMenu.level[1].width=oCMenu.level[0].width-2
oCMenu.level[1].width=250
oCMenu.level[1].height=17
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right"
//oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=250
oCMenu.level[2].height=17
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/

// MATT
/********************************
This is where you make or add your nav elments

As you can see with top1 i show you how to load an image as the main parent navigational element
As you can see with top1 there is no sub nav

As you can see with top3 it is an image as the main parent navigational element
As you can see with top3 it has 7 child navigational elements

As you can see with top7 it has an email URL and text instead of an image

The last item in each makeMenu function is a number (i.e. 160,28) that number is the width/height that you want the
main parent navigational element to be... this is important when you use images for the main parent
navigational element and more importantly for top/down nav bars

and so forth

********************************/
oCMenu.makeMenu('top1','','<img src=images/nav01.gif>','index.php','','81','43')

oCMenu.makeMenu('top2','','<img src=images/nav02.gif>','http://www.ozpt.com/seminars.html','','86','43')
 oCMenu.makeMenu('sub01','top2','Find a COMT','http://www.ozpt.com/COMTgrads.html')
 oCMenu.makeMenu('sub020','top2','COMT Recertification Requirements','http://www.ozpt.com/comt_reqs.html')
 oCMenu.makeMenu('sub02','top2','SYMPOSIUM','http://www.ozpt.com/symposium.php')
 oCMenu.makeMenu('sub03','top2','COURSE SCHEDULE','http://www.ozpt.com/schedule.php')
 oCMenu.makeMenu('sub04','top2','Register for Courses','https://www.ozpt.com/registration.php')
 oCMenu.makeMenu('sub05','top2','Host a Course','http://www.ozpt.com/host_a_course.html')
 oCMenu.makeMenu('sub06','top2','Faculty','http://www.ozpt.com/faculty.html')
 oCMenu.makeMenu('sub07','top2','MT-1 Basic Peripheral','http://www.ozpt.com/course_info.php?id=MT-1')
 oCMenu.makeMenu('sub08','top2','MT-2 Basic Spinal','http://www.ozpt.com/course_info.php?id=MT-2')
 oCMenu.makeMenu('sub09','top2','MT-3 Intermediate Spinal','http://www.ozpt.com/course_info.php?id=MT-3')
 oCMenu.makeMenu('sub10','top2','MT-ST Stabilization Training','http://www.ozpt.com/course_info.php?id=MT-ST')
 oCMenu.makeMenu('sub11','top2','MT-O Orthopedic Diagnostic Examination','http://www.ozpt.com/course_info.php?id=MT-O')
 oCMenu.makeMenu('sub12','top2','MT-4 Differential Assessment','http://www.ozpt.com/course_info.php?id=MT-4')
 oCMenu.makeMenu('sub13','top2','MT-5 Certification','http://www.ozpt.com/course_info.php?id=MT-5')
 oCMenu.makeMenu('sub14','top2','MT-R Review Course','http://www.ozpt.com/course_info.php?id=MT-R')
 oCMenu.makeMenu('sub15','top2','MT-A Cadaver Anatomy','http://www.ozpt.com/course_info.php?id=MT-A')
 oCMenu.makeMenu('sub16','top2','MT-M Spinal and Peripheral Manipulation','http://www.ozpt.com/course_info.php?id=MT-M')
 oCMenu.makeMenu('sub17','top2','New SIJ-Pelvis','http://www.ozpt.com/course_info.php?id=MT-S')
 oCMenu.makeMenu('sub18','top2','Geriatric Man Therapy','http://www.ozpt.com/course_info.php?id=MT-G')
 oCMenu.makeMenu('sub19','top2','Mentorship','http://www.ozpt.com/mentorship.html')
 oCMenu.makeMenu('sub20','top2','Clinical Reasoning Award','http://www.ozpt.com/clinical_reason.html')


oCMenu.makeMenu('top3','','<img src=images/nav03.gif>','http://www.ozpt.com/research.html','','95','43')
 oCMenu.makeMenu('sub29','top3','Clinical Updates','http://www.ozpt.com/res1.html')
 oCMenu.makeMenu('sub30','top3','Journal Updates','http://www.ozpt.com/res2.html')
 oCMenu.makeMenu('sub31','top3','Web Resources','http://www.ozpt.com/web_resources.html')
 oCMenu.makeMenu('sub32','top3','ABS Annual Conference','http://www.ozpt.com/abs.html')

oCMenu.makeMenu('top4','','<img src=images/nav04.gif>','http://www.ozpt.com/clsites.html','','121','43')
 oCMenu.makeMenu('sub35','top4','Mattituck','http://www.ozpt.com/csct.html')

oCMenu.makeMenu('top5','','<img src=images/nav05.gif>','http://www.ozpt.com/about.html','','84','43')
 oCMenu.makeMenu('sub36','top5','Geoff Maitland','http://www.ozpt.com/memorial.html')
 oCMenu.makeMenu('sub37','top5','Chris Showalter','http://www.ozpt.com/press-release-oct-2009.html')

oCMenu.makeMenu('top6','','<img src=images/nav06.gif>','http://www.ozpt.com/contact.html','','79','43')

oCMenu.makeMenu('top7','','<img src=images/nav07.gif>','http://www.ozpt.com/','','190','43')

//Leave this line - it constructs the menu
oCMenu.construct()



// EMAIL ANTISPAM
var user = "meghan";
var domain = "ozpt";
var suffix = "com";
function jemailg(userb, domainb, suffixb){
	document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '" title=contact>general information</a>');
}


// EMAIL ANTISPAM
var userw = "sablelion";
var domainw = "aol";
var suffixw = "com";
function jemailw(userb, domainb, suffixb){
	document.write('<a href="' + 'mailto:' + userw + '@' + domainw + '.' + suffixw + '" title=contact>webmaster</a>');
}


// NOTE
document.write('<div style="position:absolute; top:440px; left:30%; margin-left: -70px " align="center"><table width="750" align="center"><tr><td><a href="docs/maps_brochure.pdf" style="text-decoration:none;"><b style="font-weight:bold; font-size:11px; color:red; text-decoration:none;">');
document.write('PRINT A COPY OF OUR CURRENT BROCHURE');
document.write('</b></a> <img src=../images/icon_pdf.gif hspace=2 alt=pdf format></td></tr></table></div>');
