function ShowMiter(a,c,b){a=a.innerHTML.split(" ");var d=0;b="Wall length <font size='2' color='Red'>"+b+"</font>";b+="<br />Start ";b+=document.getElementById("rblType_0").checked?" Stretcher Match":" Square ended";b+="<br />go "+a[d]+" stretchers";if(a.length>2){d++;b+="<br />then a ";b+=a[d]=="Q"?" Quarter":"Three Quarter"}d++;b+="<br />then a  "+a[d]+" cut";a=c.clientX;c=c.clientY+document.body.scrollTop;document.getElementById("divTell").style.left=a-50+"px";document.getElementById("divTell").style.top=
c+10+"px";document.getElementById("divTell").innerHTML="<font size='1'>"+b+"</font>"}function HideMiter(){document.getElementById("divTell").style.left="-1000px"}
function DrawBlock(){var a=document.getElementById("cnvsBlock");if(a.getContext){var c=a.width,b=c/(400/series);a.setAttribute("height",b);a=a.getContext("2d");a.fillStyle="#d3d3d3";a.strokeStyle="#000";a.fillRect(0,0,c,b);a.strokeRect(0,0,c,b);c=400/c;a.beginPath();a.moveTo(front/c,0);a.lineTo(back/c,b);a.stroke();a.fillStyle="#000";a.font="14px Verdana";a.fillText(front,2,16);a.fillText(back,2,b-4)}};