function removelinks()
{
	document.getElementById('morelinks').innerHTML = "";
}

function showparades()
{
	document.getElementById('morelinks').innerHTML = '<a href="NPAP.html">NPAP</a> | <a href="SYF.html">SYF</a> | <a href="NDP.html">NDP</a>';
}

function showceremonies()
{
	document.getElementById('morelinks').innerHTML = '<a href="officersday.html">NPCC Officer\'s Day</a> | <a href="badgeday.html">SPF-NPCC Badge Presentation Ceremony</a>';
}

function showcompetitions()
{
	document.getElementById('morelinks').innerHTML = '<a href="22r.html">.22 Revolver</a> | <a href="38r.html">.38 Revolver</a> | <a href="campcraft.html">Campcraft</a> | <a href="interareaproj.html">Inter Area Project</a> | <a href="interunitquiz.html">Inter Unit Quiz</a>';
}

function showevents()
{
	document.getElementById('headtext').innerHTML = '<table border=0 cellpadding=12 width=90%><tr align=center valign=top><td><a href="events.html"><img src="images/header_ourevents2.jpg" height=60></a><td><a href="calendar.html"><img src="Images/calendar.jpg" height=40 width=60><br>Calendar</a><td><a href="parades.html"><img src="images/010610website/NPCC_AnnualParade_2010-300.jpg" height=40 width=60><br>Parades</a><td><a href="ceremonies.html"><img src="images/010610website/DSC_1612.JPG" height=40 width=60><br>Ceremonies</a><td><a href="competitions.html"><img src="images/010610website/CampCraft2010-093.jpg" height=40 width=60><br>Competitions</a>';
	//document.getElementById('headtext').innerHTML = '<img src="images/header_ourevents.jpg" height=40><br><a href="calendar.html" onmouseover="removelinks();">Calendar</a> | <a href="parades.html" onmouseover="showparades();">Parades</a> | <a href="ceremonies.html" onmouseover="showceremonies();">Ceremonies</a> | <a href="competitions.html" onmouseover="showcompetitions();">Competitions</a><div id="morelinks"></div>';
	//document.getElementById('headtext').innerHTML = "<p>Events --> Calendar, Parades, Ceremonies, Competitions";
}

function showaboutthecorps()
{
	document.getElementById('headtext').innerHTML = '<table border=0 cellpadding=12 width=90%><tr align=center valign=top><td><a href="aboutthecorps.html"><img src="images/header_aboutthecorps2.jpg" height=60></a><td><a href="mission.html"><img src="images/010610website/mission.jpg" height=40 width=60><br>Mission & Vision</a><td><a href="song.html"><img src="images/010610website/song.jpg" height=40 width=60><br>Song & Pledge</a><td><a href="history.html"><img src="images/newphotos/History/NO.1/1st PCC Annual Parade 1966 - Minitster of Edn, Mr Ong Pang Boon inspecting the one of the PCC parades Police Trg Sch.JPG" height=40 width=60><br>History</a>';
}

function showorgstructure()
{
	document.getElementById('headtext').innerHTML = '<table border=0 cellpadding=12 width=90%><tr align=center valign=top><td><a href="npccorgstructure.html"><img src="images/header_ourpeople2.jpg" height=60></a><td><a href="council.html"><img src="images/010610website/council.jpg" height=40 width=60><br>Our Council</a><td><a href="headoffice.html"><img src="images/20100310_org-charttn.jpg" height=40 width=60><br>Our Staff</a><td><a href="ac.html"><img src="images/010610website/NPCC_AC_InAug-043.jpg" height=40 width=60><br>Our Assistant Commandants</a><td><a href="contacts.html"><img src="images/telephone.JPG" height=40 width=60><br>Contact Us</a>';
}

function showtraining()
{
	document.getElementById('headtext').innerHTML = '<table border=0 cellpadding=12 width=90%><tr align=center valign=top><td><a href="ourtrainings.html"><img src="images/header_ourtraining2.jpg" height=60></a><td><a href="training.html"><img src="images/010610website/trainingpolicy.jpg" height=40 width=60><br>Training Framework</a><td><a href="courses.html"><img src="images/010610website/courses.jpg" height=40 width=60><br>Courses</a><td><a href="uopaguidelines.html"><img src="images/010610website/badges.jpg" height=40 width=60><br>UOPA</a><td><a href="maritimetraining.html"><img src="images/010610website/DSC02772.JPG" height=40 width=60><br>Maritime Training</a><td><a href="campresilience.html"><img src="images/campsite/tentage01.jpg" height=40 width=60><br>Camp Resilience</a>';
}

function showbos()
{
	document.getElementById('headtext').innerHTML = '<table border=0 cellpadding=12 width=90%><tr align=center valign=top><td><a href="beyondourshores.html"><img src="images/header_beyondourshores2.jpg" height=60></a><td width=125><a href="hkjpc.html"><img src="images/010610website/Picture2.jpg" height=40 width=60><br>Hong Kong & Macau OEV</a><td width=125><a href="rmp.html"><img src="images/010610website/Malaysia 1.jpg" height=40 width=60><br>Malaysia OEV</a><td width=125><a href="macau.html"><img src="images/010610website/Picture5.jpg" height=40 width=60><br>Macau SAR</a>';
}

function showcip()
{
	document.getElementById('headtext').innerHTML = '<br><a href="cip.html"><img src="images/header_cip2.jpg" height=50></a>';
}

function showhome()
{
	document.getElementById('headtext').innerHTML = '<br><img src="images/header_home.jpg" height=50>';	
}

function showeread()
{
	document.getElementById('headtext').innerHTML = '<table border=0 cellpadding=12 width=90%><tr align=center valign=top><td><a href="eread.html"><img src="images/header_eread.jpg" height=60></a><td><a href="magazines.html"><img src="images/010610website/magazine.jpg" height=40 width=60><br>Magazines</a><td><a href="eports.html"><img src="images/010610website/eport.jpg" height=40 width=60><br>E-Ports</a><td><a href="annualreport.html"><img src="images/010610website/annualreport.jpg" height=40 width=60><br>Annual Report</a>';
}

function showjoinus()
{
	document.getElementById('headtext').innerHTML = '<br><a href="joinus.html"><img src="images/header_joinus.jpg" height=50></a>';
}

function showlinks()
{
	document.getElementById('headtext').innerHTML = '<br><a href="links.html"><img src="images/links&downloads.jpg" height=50></a>';
}

function showframework()
{
	document.getElementById('morelinks').innerHTML = '<a href="profbadges.html">Proficiency Badges</a> | <a href="ranks.html">Ranks</a> | <a href="advancement.html">Route of Advancement</a>';
}

