Here where it gets interesting...there seems to be no line 75
(Full source code below)
Here is the URL where you can see the page: http://harrisftp.com/mazda/coupons/service.php
<html>
<head>
<style type="text/css">
@media print {
.noprint { display: none; }
.printme { display: block; }
}
#tireRotation {
width: 650px;
}
#oilChange {
width: 650px;
}
.script-errors {
width: 650px;
font-family: Verdana, Geneva, sans-serif;
font-size: 11px;
}
</style>
<script type="text/javascript">
function printDiv( byId )
{
// this loop could use getElementByClassName if not using MSIE8 and below
var divall = document.getElementsByTagName("div");
for ( var d = 0; d < divall.length; ++d )
{
var div = divall[d];
div.className = div.className.replace("printme","noprint");
}
// now, turn "on" only one div for printing:
var div = document.getElementById( byId );
div.className = div.className.replace("noprint","printme");
window.print( );
}
</script>
</head>
<body>
<div class="script-errors"><span style="font-weight:bold">Please note:</span> Some versions of Internet Explorer may give script errors when trying to print. You should still be able to print - just ignore this error please. (Otherwise, please use Firefox, Chrome, Safari or Opera)</div>
<!--script errors-->
<div id="tireRotation" class="noprint">
<p><img src="service/tire-rotation.jpg" width="650" height="500">
<span style="font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#F00; font-weight:bold;">Please print this coupon and present prior to service.</span><br /><br />
<input type="button" value="Print Coupon" onClick="printDiv('tireRotation');"/>
</p>
<p> </p>
</div>
<div id="oilChange" class="noprint">
<p><img src="service/oil-change.jpg" width="650" height="500"><span style="font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#F00; font-weight:bold;">Please print this coupon and present prior to service.</span><br /><br />
<input type="button" value="Print Coupon" onClick="printDiv('oilChange');"/>
</p>
<p> </p>
</div>
</body>
</html>