<!--
//Contents for menu 1
var menu1=new Array() // National News
menu1[0]='<p>A direct link to some of Australia’s and the World’s most important and influential media outlets. Visit the PS News<br /><p class=standout>NATIONAL NEWS PAGE</p>after you’ve chosen your preferred edition of PS News.</p>'

var menu2=new Array() // Cartoon
menu2[0]='<p>Enjoy a good belly laugh at the latest PS News <p class=standout>CARTOON</p> drawn by former Treasurer in the ACT Government, Ted Quinlan.</p><p>Click on the Cartoon button after you’ve chosen your preferred edition of PS News.</p>'

var menu3=new Array() // Talking Point
menu3[0]='<p>Issues of topical importance to the Public Service are explored in the weekly PS News <p class=standout>TALKING POINT</p></p><p>Take a look at the latest issue of interest after you’ve chosen your preferred edition of PS News.</p>'

var menu4=new Array() // Conferences
menu4[0]='<p>The very latest in conferences, meetings and seminars of interest to the Public Service are in the PS News <p class=standout>CONFERENCE PLANNING GUIDE</p></p><p>Visit this week’s selection after you’ve chosen your preferred edition of PS News.</p>'

var menu5=new Array() // Careers Centre
menu5[0]='<p>Some of the more interesting Public Service jobs around the nation, with links to <b>every</b> PS vacancy in the country. Visit the PS News <p class=standout>CAREERS CENTRE</p> after you’ve chosen your preferred edition of PS News.</p>'

var menu6=new Array() // Personal Development
menu6[0]='<p>Valuable advice and guidance on becoming a better Public Servant.</p><p>Read the advice of experts in the PS News <p class=standout>PERSONAL DEVELOPMENT</p> section after you’ve chosen your preferred edition of PS News.</p>'
		
var menu7=new Array() // Out of Hours
menu7[0]='<p>Welcome relief from the pressures of the workplace - travel, wining, dining, motoring and more. Get away with PS News by visiting our <p class=standout>OUT-OF-HOURS</p> section after you’ve chosen your preferred edition of PS News.</p>'

var menu8=new Array() // PS Shop
menu8[0]='<p>The one-stop shop for businesses who prefer to deal with Public Servants.</p><p>Take advantage of  exclusive offers and special deals by visiting the <p class=standout>PS SHOP</p> after you’ve chosen your preferred edition of PS News.</p>'

var menu9=new Array() // Archives
menu9[0]='<p>Hundreds of PS News stories kept in their original condition.</p><p>For an informative trip through recent history visit the PS News <p class=standout>ARCHIVES</p> after you’ve chosen your preferred edition of PS News.</p>'

var menu10=new Array() // Contact Us
menu10[0]='<p>Feel free to contact PS News with your thoughts, comments and enquiries by using this button after you’ve chosen your preferred edition.</p>'

var menu11=new Array() // Subscribe
menu11[0]='<p>We welcome subscriptions for our free weekly updates of all the latest PS News.</p><p>Just subscribe via this button after you’ve chosen your preferred edition.</p>'

var menu12=new Array() // Advertise
menu12[0]='<p>Bringing the Public Service and its reputable suppliers together is an important task for PS News so find out more about advertising by using this button after you’ve chosen your preferred edition.</p>'

var menu13=new Array() // Search
menu13[0]='<p>Use our powerful search engine to open up the vaults of information stored in the PS News archive or other pages  by using this button after you’ve chosen your preferred edition.</p>'


var menu14=new Array() // International
menu14[0]='<p>A weekly collection of news stories from Public Services around the world.</p><p>Be sure to click on <i><b>International</b></i> after you’ve chosen your preferred edition of PS News.</p>'

var menu15=new Array() // Upcoming
menu15[0]='<p>ON THE DRAWING BOARD - New editions of PS News are planned. Watch this space...</p>'

var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=20 //horizontal offset of menu from default location. (0-5 is a good value)
/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden; width:160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}

function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
//-->