The Construct Wales website aims to be accessible to level 1 of the W3C guidelines, but if you have problems accessing parts of our site please contact us at victoria.north@citb.co.uk
\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.");
}
}
//-->