
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="/res/whoweare/1.html">Project Profile</a>'
menu1[1]='<a href="/res/whoweare/2.html">Land Exchange</a>'
menu1[2]='<a href="/res/whoweare/3.html">How We Manage</a>'
menu1[3]='<a href="/res/whoweare/13.html">MARRCO</a>'
menu1[4]='<a href="/res/whoweare/4.html">FAQs</a>'
menu1[5]='<a href="/res/whoweare/5.html">Career Opportunities</a>'
menu1[6]='<a href="/res/whoweare/6.html">Contact Us</a>'
menu1[7]='<a href="/res/whoweare/1000.html">Privacy Policy</a>'

//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="/res/ourapproach/9.html">Openness and Accountability</a>'
menu2[1]='<a href="/res/ourapproach/10.html">Sustainable Development</a>'
menu2[2]='<a href="/res/ourapproach/11.html">Safety First</a>'
menu2[3]='<a href="/res/ourapproach/81.html">Health, Safety and Environmental Policy</a>'

//Contents for menu 3, and so on
var menu3=new Array()
menu3[0]='<a href="/res/ourcommunities/62.html">Community Interaction</a>'
menu3[1]='<a href="/res/ourcommunities/37.html">How Communities View Us</a>'
menu3[2]='<a href="/res/ourcommunities/38.html">Partnering for Success</a>'
menu3[3]='<a href="/res/ourcommunities/39.html">Emphasis on Education</a>'
menu3[4]='<a href="/res/ourcommunities/49.html">Corporate Philanthropy and Partnerships</a>'
menu3[5]='<a href="/res/ourcommunities/50.html">About Superior</a>'
menu3[6]='<a href="/res/ourcommunities/51.html">Living History Program</a>'

//Contents for menu 4, and so on
var menu4=new Array()
menu4[0]='<a href="/res/environment/52.html">Environmental Assessment Process</a>'
menu4[1]='<a href="/res/environment/53.html">ISO 14001 Certification</a>'
menu4[2]='<a href="/res/environment/54.html">Mine Site Reclamation</a>'
menu4[3]='<a href="/res/environment/55.html">Water Management</a>'
menu4[4]='<a href="/res/environment/82.html">Securing Water for RCM\'s Future</a>'
menu4[5]='<a href="/res/environment/80.html">The Resolution Project Mining Approach</a>'

//Contents for menu 5, and so on
var menu5=new Array()
menu5[0]='<a href="/res/doingbusinesswithus/7.html">Doing Business With Us</a>'
menu5[1]='<a href="/res/doingbusinesswithus/8.html">Contractor Contributions</a>'
menu5[2]='<a href="/res/doingbusinesswithus/57.html">Contractor Requirements</a>'

//Contents for menu 6, and so on
var menu6=new Array()
menu6[0]='<a href="/res/mediacenter/12.html">News Releases/Alerts</a>'
menu6[2]='<a href="/res/mediacenter/61.html">Archives</a>'
menu6[3]='<a href="/res/mediacenter/18.html">Speakers Forum</a>'
menu6[4]='<a href="/res/mediacenter/19.html">Management Biographies</a>'
menu6[5]='<a href="/res/mediacenter/60.html">Multimedia</a>'
menu6[6]='<a href="/res/mediacenter/21.html">Media Kit</a>'
menu6[8]='<a href="/res/mediacenter/26.html">Industry Links</a>'
menu6[9]='<a href="/res/mediacenter/27.html">Reports</a>'
menu6[10]='<a href="/res/mediacenter/30.html">Newsletters</a>'

//Contents for menu 7, and so on
var menu7=new Array()
menu7[0]='<a href="/res/whoweare/6.html">Contact Us</a>'

//Contents for menu 25
var menu25=new Array()
menu25[0]='<a href="204.html">Achievements</a>'
menu25[1]='<a href="205.html">Challenges</a>'

//Contents for menu 26
var menu26=new Array()
menu26[0]='<a href="206.html">The Resolution Project</a>'
menu26[1]='<a href="207.html">Rio Tinto Group</a>'
menu26[2]='<a href="208.html">Project Status</a>'
menu26[3]='<a href="209.html">How We Operate</a>'
menu26[4]='<a href="210.html">Resolution Project Development Steps</a>'

//Contents for menu 27
var menu27=new Array()
menu27[0]='<a href="211.html">Sustainable Business Development</a>'
menu27[1]='<a href="212.html">Project Planning</a>'
menu27[2]='<a href="213.html">Employee Training</a>'
menu27[3]='<a href="214.html">Health, Safety and Environment (HSE) Systems</a>'
menu27[4]='<a href="215.html">Support of SD Policies and Regulatory Compliance</a>'
menu27[5]='<a href="216.html">Government Affairs</a>'
 
//Contents for menu28
var menu28=new Array()
menu28[0]='<a href="219.html">Safety First</a>'
menu28[1]='<a href="220.html">Saftey Programs</a>'
menu28[2]='<a href="221.html">Workforce Profile</a>'
menu28[3]='<a href="222.html">2007 Workforce Demographics</a>'
menu28[4]='<a href="223.html">Employee Survey</a>'
menu28[5]='<a href="224.html">Community Data</a>'
menu28[6]='<a href="225.html">Social Well-Being</a>'
menu28[7]='<a href="226.html">Consulting with Stakeholders</a>'
menu28[8]='<a href="227.html">Attitudes Toward the Mine: 2007 Copper Triangle Stakeholders Survey</a>'
menu28[9]='<a href="228.html">Result Highlights</a>'
menu28[10]='<a href="229.html">Environment Is Top Concern of Those Surveyed</a>'
menu28[11]='<a href="230.html">Other Concerns and Complaints</a>'
menu28[12]='<a href="231.html">Philanthropy and Community Investment</a>'
menu28[13]='<a href="232.html">Community Engagement</a>'
menu28[14]='<a href="233.html">Engaging with RCM Stakeholders - 2007</a>'

//Contents for menu29
var menu29=new Array()
menu29[0]='<a href="234.html">2007 Highlights</a>'
menu29[1]='<a href="235.html">Hiring Locally</a>'
menu29[2]='<a href="236.html">Corporate Philanthropy</a>'

//Contents for menu30
var menu30=new Array()
menu30[0]='<a href="238.html">Graphic Order of Block Caving</a>'
menu30[1]='<a href="239.html">Care and Concern for the Environment at the Center of All Projects</a>'
menu30[2]='<a href="240.html">Mining Approach</a>'
menu30[3]='<a href="241.html">ISO 14001:2004 Certification Achieved</a>'
menu30[4]='<a href="242.html">Rehabilitation Process</a>'
menu30[5]='<a href="243.html">2007 Environmental Incidents</a>'
menu30[6]='<a href="244.html">Tailirngs Management</a>'
menu30[7]='<a href="245.html">Water Management</a>'
menu30[8]='<a href="246.html">MARRCO Railroad Endures</a>'
menu30[9]='<a href="247.html">Environmental Impact Study</a>'
menu30[10]='<a href="248.html">Environmental Partnerships</a>'
menu30[11]='<a href="249.html">Environmental Highlirghts</a>'
menu30[12]='<a href="250.html">Land Exchange of Critical Importance</a>'

//Contents for menu31
var menu31=new Array()
menu31[0]='<a href="217.html">Our Scorecard against 2007 Targets</a>'
menu31[1]='<a href="218.html">Resolution Copper: 2008 Sustainable Development Targets</a>'

		
var menuwidth='auto' //default menu width
var menubgcolor='black'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////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:'+menuwidth+';background-color:'+menubgcolor+'" 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="-500px"
if (menuwidth!=""){
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 < 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 up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
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")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"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)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu