// au-eng.js // These are the page configuration parameters var configRemovePwCLogo = 0 var configRemoveLPN = 0 var configRemoveCountryLogo = 0 var configRemoveLangSelector = 0 var configRemoveGreyBar = 0 var configRemoveSiteNav = 0 var configRemoveQuickSearch = 0 var configRemoveTopNav = 0 // This file is generated automatically by a database in the PwC website. // Begin arrays var domain='http://www.pwc.com' var domain_imagessl='http://www.pwc.com' var tranImgPath='http://www.pwc.com/images/ui/tran.gif' var sections=['home',''] var clickPathItems=['Home', 'Services', 'Industries', 'Publications', 'Careers', 'About us', 'About us', 'News centre', 'Alumni', 'PwC Foundation', ''] var clickPathURLs=['/au/eng/main/home/index.html', '/extweb/aboutus.nsf/docid/27CD76CF95D3D470CA256EB4000DD365', '/au/eng/about/ind/index.html', '/au/eng/ins-sol/publications/index.html', 'http://careers.au.pwc.com', '/Extweb/aboutus.nsf/docid/C97DB96FB5B74833CA25701C001D883D', '/extweb/aboutus.nsf/docid/A06D1CB9EBDABB79CA256FFC0013529B', '/au/eng/about/press-rm/index.html', '/au/eng/svcs/onlinesolutions/alumni', '/au/eng/foundation/index.html', ''] var clickPathPaths=['home', 'svcs', 'ind', 'publ', 'careers', 'about', 'about', 'press-rm', 'alumni', 'foundation', ''] var languageIdentifiers=['eng'] var languageNames=['English'] var languageURLs=['/extweb/home.nsf/docid/1CDDF96D6BA83827CA257046004E2E8F'] var pulldownItemNames=['Select from...', 'Home', 'Services', 'Industries', 'Publications', 'Careers', 'About us', 'Annual Review', 'News centre', 'Alumni', 'PwC Foundation', '  ___________________________  '] var pulldownIndentLevels=[0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0] var pulldownURLs=['', '/au/eng/main/home/index.html', '/extweb/aboutus.nsf/docid/27CD76CF95D3D470CA256EB4000DD365', '/au/eng/about/ind/index.html', '/au/eng/ins-sol/publications/index.html', 'http://careers.au.pwc.com', '/Extweb/aboutus.nsf/docid/C97DB96FB5B74833CA25701C001D883D', '/extweb/aboutus.nsf/docid/A06D1CB9EBDABB79CA256FFC0013529B', '/au/eng/about/press-rm/index.html', '/au/eng/svcs/onlinesolutions/alumni', '/au/eng/foundation/index.html', ''] var footerLinks=['Privacy Policy', 'Legal Disclaimer', 'About Site Provider', 'Email Webmaster'] var footerURLs=['/au/eng/main/privacy/index.html', '/gx/eng/main/legal/index.html', '/extweb/home.nsf/docid/E3A9A72D703554B485256D280067EC45', 'mailto:contact.australia@pwc.com'] var LPNLineAmt="1" // Begin Portal Footer Section.... This section sets up Footer Variables to support the Portal Footer Links. // If a page on our site is called from the portal it can pass a parameter in the query string ['pf=ext' or 'pf=int'] // if this parameter is set then the page is displayed with the appropriate Portal Footer links.... // If the TopNav document does not contain Portal Footer links then the normal links are displayed. var footerLinksPortalExt=[] var footerURLsPortalExt=[] var footerLinksPortalInt=[] var footerURLsPortalInt=[] if(location.search.search("pf=ext")!=-1 && footerLinksPortalExt.length>0){ footerLinks=footerLinksPortalExt footerURLs=footerURLsPortalExt }else if(location.search.search("pf=int")!=-1 && footerLinksPortalInt.length>0){ footerLinks=footerLinksPortalInt footerURLs=footerURLsPortalInt } var clickpath='' var re1 = /^http:/i var re2 = /^mailto:/i var re3 = /^javascript:/i // --- BEGIN FUNCTIONS --- // Loop through all the entries in the sections array and add its proper text and URL to the clickpath t=0 for(j=0; j'+clickPathItems[i]+'' i=clickPathPaths.length } } } } // This function generates the language list in the topNav section of the document. // If there is only 1 language it is not displayed. If there are 3 or less languages for the current document the links are displayed as text. // If there are more than three languages, they are displayed in a dropdown list. function generateLanguageList(){ if (languageIdentifiers.length>3){ document.write('
') document.write('
'); }else if(languageIdentifiers.length>1){ for(i=0; i'+languageNames[i]+'') } } } // This function changes navigates the browser to the selected language. function langSelected(i){ if(!(languageURLs[i].search(re1) != -1) & !(languageURLs[i].search(re2) != -1) & !(languageURLs[i].search(re3) != -1)) { languageURLs[i]=domain+languageURLs[i] } window.top.location.href=languageURLs[i] } // This function calls langSelected to navigate the browser to the selected language page based on the selected index. function pageSelected() { selectedIndex=document.langSelectorForm.langSelector.selectedIndex langSelected(selectedIndex) } // This function is used to generate the Site Navigation dropdown menu. When a user changes the dropdown it jumps to the new page. // Also, it indents links based on the LinkLevel indicated. (If this value is set to greater than 3 the link does not show up in the dropdown) function generateSectionPulldown(){ document.write('') } // This function is used to write the footer links. If an @ symbol is found we do not prepend the domain to this URL if one is passed in the domain variable--This is because we assume the link to be a mailto if an @ symbol is found. function writeFooterLinks(){ var out = "" out += "
.  PricewaterhouseCoopers refers to the network of
" out+="" out+="" out+="
member firms of PricewaterhouseCoopers International Limited, each of which is
a separate and independent legal entity. All rights reserved.
" out+="" for (i=0; i'+footerLinks[i]+'\n' } } out += "" document.write(out) } /* BEGIN NEW COPYRIGHT FUNCTIONS */ function writeDisclaimer(year){ if(!year){ year="2009" } document.write("© "+year+" PricewaterhouseCoopers. All rights reserved. PricewaterhouseCoopers refers to the network of member firms of PricewaterhouseCoopers International Limited, each of which is a separate and independent legal entity.") } function writeFooterLinksNew(){ for (i=0; i'+footerLinks[i]+'') } } } function writeFooter(year){ document.write("
") document.write("
") writeDisclaimer(year) document.write("
") writeFooterLinksNew() document.write("
") } /* END NEW COPYRIGHT FUNCTIONS */ // This function is used to jump to the URL of the entry selected in a dropdown menu. function go(){ formOb=document.selecter selectOb=formOb.sectionPullDown selectedIndex=selectOb.selectedIndex destinationURL = pulldownURLs[selectedIndex] if ((destinationURL!=null) && (destinationURL!='') && (destinationURL!='-')){ window.top.location.href = destinationURL } } // This function opens the print window function openPrintWin() { PopUp=window.open("http://" +location.hostname+"/servlet/printFormat?url=" + location,"","menubar=yes,menubars=yes,toolbars=yes,toolbar=yes,scrollbars=yes,resizable=yes"); } function printWin(){ window.openPrintWin(0); } // The next two functions open popup windows function PwC_popup(strURL, strHeight, strWidth, strTop, strLeft, strLabel ) { document.write(""+strLabel+""); } function PwC_popupOpen(strURL, strHeight, strWidth, strTop, strLeft, strCookieDuration ) { var host = window.location.hostname; // strCookieCuration is an optional parameter if ( strCookieDuration && (host=="www.pwc.com" || host=="pwc.com" || host=="www.pwcglobal.com" || host=="pwcglobal.com") ) { // If this is being called from a page on the live site, we check to see if a cookie exists var allcookies = window.document.cookie; // alert(allcookies); var cookieName = "PwCPopupLaunch&" + strURL + "&" + window.location.pathname; var pos = allcookies.indexOf(cookieName + "="); var value; if (pos != -1) { var start = pos + cookieName.length + 1; var end = allcookies.indexOf(";", start); if (end == -1) end = allcookies.length; value = allcookies.substring(start, end); } else {value="0"}; if (value != "0") {return false}; // now we know the cookie either does not exist or is '0' (which means ignore), so we will set the cookie var cookieDuration = parseFloat(strCookieDuration); if (isNaN(cookieDuration)) {return false}; var expDate = new Date(); expDate.setTime(expDate.getTime() + (cookieDuration * 86400000)) window.document.cookie = cookieName + "=" + cookieDuration + ";expires=" + expDate.toGMTString(); }; if (isNaN(strTop)) { strTop=0 }; if (isNaN(strLeft)) { strLeft=0 }; window.open(strURL, "", "left=" + strLeft + ", top=" + strTop + ", height=" + strHeight + ", width=" + strWidth + ", toolbar=no, location=no, status=no, scrollbars=yes, resizable=yes"); } function rotatingImage(colourScheme, size){ var whichImage = Math.round((Math.random()*100)/(100/brandImages.length-1)); while(whichImage > brandImages.length-1){ whichImage = Math.round((Math.random()*100)/(100/brandImages.length)); } if(rotatingImage.arguments.length > 1 && size.toLowerCase() == "tall"){ sizePath = "tall";} else{ sizePath = "reg";} document.write("
"); }