\n'; var content=''; if (document.getElementsByTagName != null) { var headTags = document.getElementsByTagName("head"); if (headTags.length > 0 && mode=="") html += headTags[0].innerHTML; } html += '\n\n\n'; var printReadyElem = document.getElementById("PrintContent"); if (printReadyElem != null) { content += printReadyElem.innerHTML; } else { alert("Could not find the printReady section in the HTML"); return; } var re = new RegExp ('Print this report', 'gi') ; content = content.replace(re, '') ; var ree = new RegExp ('View in Excel', 'gi') ; content = content.replace(ree, '') ; //Opera 6.04 fix, doesn't work so display error if (is_opera6) { alert("Sorry, the print ready feature is only available in modern browsers."); } else if(mode=="Excel"){ var re2 = new RegExp ('', 'gi') ; content = content.replace(re2, '') ; document.exportForm.excelContent.value=content document.exportForm.submit() } else{ html += content + '\n\n'; var printWin = window.open("","printSpecial"); printWin.document.open(); printWin.document.write(html); printWin.document.close(); if (gAutoPrint) printWin.print(); } } else { alert("Sorry, the print ready feature is only available in modern browsers."); } } //-->
Construct Wales
Diary Our Partners Case Studies Fact Sheets Contact Us
English
Cymraeg
Print Page
Objective 1 Terms & Conditions Privacy Policy Accessibility Site Map