/******************** PRINT FUNCTION **************************/

var gAutoPrint = true; // Tells whether to automatically call the print function
function printSpecial()
{
if (document.getElementById != null)
{
var html = '<HTML>\n<HEAD>\n';
if (document.getElementsByTagName != null)
{
var headTags = document.getElementsByTagName("head");
if (headTags.length > 0)
html += headTags[0].innerHTML;
}
html += '\n</HEAD>\n<BODY onload="javascript:window.print()" class="print">\n';

var printReadyElem = document.getElementById("printReady");
if (printReadyElem != null)
{
html += '<table width="972" border="0" cellspacing="0" cellpadding="0">';
html += '<tr valign="top">'; 
html += '  <td><img src="images/imagearea-01.jpg" alt="" name="header" width="972" height="158" border="0" id="header" /></td>';
html += '</tr>';
html += '  <td>'; 
html += '  <div class="Print_Content">';
html += printReadyElem.innerHTML;
html += '  </div>';
html += '  </td>';
html += '</tr>'; 
html += '<tr valign="top">';
html += '  <td><div class="Print_Footer">';
html += '    <div id="Column1" style="margin: 0px; padding-right: 10px; width: 220px; float: left;">';
html += '      <p><strong>Address:</strong><br />';
html += '      10 Yandalla Street<br />';
html += '      Tea Gardens NSW 2324</p>';
html += '    </div>';
html += '    <div id="Column2" style="margin: 0px; padding-right: 10px; width: 220px; float: left;">';
html += '      <p><strong>Phone:</strong> (02) 4997 9775<br />';
html += '          <strong>Email:</strong> <a href="mailto:sales@ozkithomes.com.au">sales@ozkithomes.com.au</a><br />';
html += '          <strong>Web:</strong> <a href="http://www.ozkithomes.com.au" target="_parent">www.ozkithomes.com.au</a></p>';
html += '      </div>';
html += '    <div class="clear"></div>';
html += '  </div>';
html += '  </td>';
html += '</tr>';
html += '</table>';

html = html.replace('<H3>', '<font face=\"verdana\" size=\"2\"><b>');
html = html.replace('</H3>', '</b></font>');
html = html.replace('<SPAN class=productName>', '<font face=\"verdana\" size=\"2\"><b>');
html = html.replace('class=headingarea', '');
html = html.replace('<IMG src=\"../../images/printer.gif\" align=middle border=0>PRINT THIS PAGE', '');
html = html.replace('<IMG src=\"../images/printer.gif\" align=middle border=0>PRINT THIS PAGE', '');
html = html.replace('class=PRINT', '')
html = html.replace('FAQ', '')
html = html.replace('WHERE TO BUY', '')
html = html.replace('COMPARE PRODUCT', '')

}
else
{
alert("Could not find the printReady function");
return;
}
html += '\n</BODY>\n</HTML>';
var printWin = window.open("","printSpecial");
printWin.document.open();
printWin.document.write(html);
printWin.document.close();
if (gAutoPrint)
printWin.print();
}
else
{
alert("The print ready feature is only available if you are using an browser. Please update your browser.");
}
}

/*****************************************************************************************************/<!-- 
 -->