function sizeunitdisplayfunc() { if (rechole==1) { if (SIunit==0) { document.write( "

"+ "2.3) Select the dimension of the hole (round to the closest 1/2\") :"+ "

"+ ""+ ""+ ""+ ""+ ""+ ""); } else { document.write( "

"+ "2.3) Select the dimension of the hole (round to the closest cm) :"+ "

"+ "
Width (in)Height (in)
"+ ""+ ""+ ""+ ""+ ""); } } else { if (SIunit==0) { document.write( "

"+ "2.3) Select the dimension of the hole (round to the closest 1/2\") :"+ "

"+ "
Width (cm)Height (cm)
"+ ""+ ""+ ""+ ""+ ""); } else { document.write( "

"+ "2.3) Select the dimension of the hole (round to the closest cm) :"+ "

"+ "
Diameter (in)
"+ ""+ ""+ ""+ ""+ ""); } } } document.write("3/8\""+ "
"+ "1/2\""+ "
"+ "5/8\""); document.write("0.95 cm"+ "
"+ "1.27 cm"+ "
"+ "1.59 cm"); window.location.reload(); document.getElementById('id').nextSibling; document.getElementById('id').previousSibling; .prependChild(), .appendChild(), .innerHTML, document.getElementById("wall_thick1_id").text="3/8\""; document.getElementById("wall_thick2_id").text="1/2\""; document.getElementById("wall_thick3_id").text="5/8\""; alert(document.getElementById("wall_thick1_id").nextSibling.innerHTML); document.getElementById("wall_thick1_id").text="0.95 cm"; document.getElementById("wall_thick2_id").text="1.27 cm"; document.getElementById("wall_thick3_id").text="1.59 cm"; alert(document.getElementById("wall_thick1_id").nextSibling.innerHTML); function useSIrecholedimCookies() { SIunit=parseInt(getCookieValue("SIunitCok")); if (SIunit==1) { document.getElementById("unit_imperial_id").checked=false; document.getElementById("unit_metric_id").checked=true; } else { document.getElementById("unit_imperial_id").checked=true; document.getElementById("unit_metric_id").checked=false; } rechole=parseInt(getCookieValue("recholeCok")); if (rechole) { document.getElementById("rec_hole_id").checked=true; document.getElementById("cir_hole_id").checked=false; } else { document.getElementById("rec_hole_id").checked=false; document.getElementById("cir_hole_id").checked=true; } widthcm=parseFloat(getCookieValue("widthcmCok")); heightcm=parseFloat(getCookieValue("heightcmCok")); } //set enables for bracket orientation BRKorientenablefunc(); function BRKorientenablefunc() { //bracket is too small to have offset if ((widthcm>8) || (heightcm>8)) { select_plate_form_nm.bracket_offset_nm.disabled=true; } } "Hole Height :" var feat_loca = new Array(); //feature diameter array feat_loca[0]=-1; feat_loca[1]=-1; feat_loca[2]=-1; feat_loca[3]=-1; feat_loca[i]=parseInt(getCookieValue("feat_loca"+i+"Cok")); if (feat_loca[i]==0) select_plate_form_nm.curr_feat1_loca.value="middle top"; else if (feat_loca[i]==1) select_plate_form_nm.curr_feat1_loca.value="middle middle"; else if (feat_loca[i]==2) select_plate_form_nm.curr_feat1_loca.value="middle bottom"; else if (feat_loca[i]==3) select_plate_form_nm.curr_feat1_loca.value="left top"; else if (feat_loca[i]==4) select_plate_form_nm.curr_feat1_loca.value="left middle"; else if (feat_loca[i]==5) select_plate_form_nm.curr_feat1_loca.value="left bottom"; else if (feat_loca[i]==6) select_plate_form_nm.curr_feat1_loca.value="right top"; else if (feat_loca[i]==7) select_plate_form_nm.curr_feat1_loca.value="right middle"; else if (feat_loca[i]==8) select_plate_form_nm.curr_feat1_loca.value="right bottom"; else select_plate_form_nm.curr_feat1_loca.value=""; feat_loca[i]=parseInt(getCookieValue("feat_loca"+i+"Cok")); if (feat_loca[i]==0) select_plate_form_nm.curr_feat2_loca.value="middle top"; else if (feat_loca[i]==1) select_plate_form_nm.curr_feat2_loca.value="middle middle"; else if (feat_loca[i]==2) select_plate_form_nm.curr_feat2_loca.value="middle bottom"; else if (feat_loca[i]==3) select_plate_form_nm.curr_feat2_loca.value="left top"; else if (feat_loca[i]==4) select_plate_form_nm.curr_feat2_loca.value="left middle"; else if (feat_loca[i]==5) select_plate_form_nm.curr_feat2_loca.value="left bottom"; else if (feat_loca[i]==6) select_plate_form_nm.curr_feat2_loca.value="right top"; else if (feat_loca[i]==7) select_plate_form_nm.curr_feat2_loca.value="right middle"; else if (feat_loca[i]==8) select_plate_form_nm.curr_feat2_loca.value="right bottom"; else select_plate_form_nm.curr_feat2_loca.value=""; feat_loca[i]=parseInt(getCookieValue("feat_loca"+i+"Cok")); if (feat_loca[i]==0) select_plate_form_nm.curr_feat3_loca.value="middle top"; else if (feat_loca[i]==1) select_plate_form_nm.curr_feat3_loca.value="middle middle"; else if (feat_loca[i]==2) select_plate_form_nm.curr_feat3_loca.value="middle bottom"; else if (feat_loca[i]==3) select_plate_form_nm.curr_feat3_loca.value="left top"; else if (feat_loca[i]==4) select_plate_form_nm.curr_feat3_loca.value="left middle"; else if (feat_loca[i]==5) select_plate_form_nm.curr_feat3_loca.value="left bottom"; else if (feat_loca[i]==6) select_plate_form_nm.curr_feat3_loca.value="right top"; else if (feat_loca[i]==7) select_plate_form_nm.curr_feat3_loca.value="right middle"; else if (feat_loca[i]==8) select_plate_form_nm.curr_feat3_loca.value="right bottom"; else select_plate_form_nm.curr_feat3_loca.value=""; feat_loca[i]=parseInt(getCookieValue("feat_loca"+i+"Cok")); if (feat_loca[i]==0) select_plate_form_nm.curr_feat4_loca.value="middle top"; else if (feat_loca[i]==1) select_plate_form_nm.curr_feat4_loca.value="middle middle"; else if (feat_loca[i]==2) select_plate_form_nm.curr_feat4_loca.value="middle bottom"; else if (feat_loca[i]==3) select_plate_form_nm.curr_feat4_loca.value="left top"; else if (feat_loca[i]==4) select_plate_form_nm.curr_feat4_loca.value="left middle"; else if (feat_loca[i]==5) select_plate_form_nm.curr_feat4_loca.value="left bottom"; else if (feat_loca[i]==6) select_plate_form_nm.curr_feat4_loca.value="right top"; else if (feat_loca[i]==7) select_plate_form_nm.curr_feat4_loca.value="right middle"; else if (feat_loca[i]==8) select_plate_form_nm.curr_feat4_loca.value="right bottom"; else select_plate_form_nm.curr_feat4_loca.value=""; feat_loca[i]=parseInt(getCookieValue("feat_loca"+i+"Cok")); select_plate_form_nm.feat_locat_nm.selectedIndex=feat_loca[i]; feat_loca[i]=select_plate_form_nm.feat_locat_nm.selectedIndex; setCookie("feat_loca"+i+"Cok",feat_loca[i],ExpDate,"","/",""); if (feat_loca[i]==0) select_plate_form_nm.curr_feat1_loca.value="middle top"; else if (feat_loca[i]==1) select_plate_form_nm.curr_feat1_loca.value="middle middle"; else if (feat_loca[i]==2) select_plate_form_nm.curr_feat1_loca.value="middle bottom"; else if (feat_loca[i]==3) select_plate_form_nm.curr_feat1_loca.value="left top"; else if (feat_loca[i]==4) select_plate_form_nm.curr_feat1_loca.value="left middle"; else if (feat_loca[i]==5) select_plate_form_nm.curr_feat1_loca.value="left bottom"; else if (feat_loca[i]==6) select_plate_form_nm.curr_feat1_loca.value="right top"; else if (feat_loca[i]==7) select_plate_form_nm.curr_feat1_loca.value="right middle"; else if (feat_loca[i]==8) select_plate_form_nm.curr_feat1_loca.value="right bottom"; else select_plate_form_nm.curr_feat1_loca.value=""; if (feat_loca[i]==0) select_plate_form_nm.curr_feat2_loca.value="middle top"; else if (feat_loca[i]==1) select_plate_form_nm.curr_feat2_loca.value="middle middle"; else if (feat_loca[i]==2) select_plate_form_nm.curr_feat2_loca.value="middle bottom"; else if (feat_loca[i]==3) select_plate_form_nm.curr_feat2_loca.value="left top"; else if (feat_loca[i]==4) select_plate_form_nm.curr_feat2_loca.value="left middle"; else if (feat_loca[i]==5) select_plate_form_nm.curr_feat2_loca.value="left bottom"; else if (feat_loca[i]==6) select_plate_form_nm.curr_feat2_loca.value="right top"; else if (feat_loca[i]==7) select_plate_form_nm.curr_feat2_loca.value="right middle"; else if (feat_loca[i]==8) select_plate_form_nm.curr_feat2_loca.value="right bottom"; else select_plate_form_nm.curr_feat2_loca.value=""; if (feat_loca[i]==0) select_plate_form_nm.curr_feat3_loca.value="middle top"; else if (feat_loca[i]==1) select_plate_form_nm.curr_feat3_loca.value="middle middle"; else if (feat_loca[i]==2) select_plate_form_nm.curr_feat3_loca.value="middle bottom"; else if (feat_loca[i]==3) select_plate_form_nm.curr_feat3_loca.value="left top"; else if (feat_loca[i]==4) select_plate_form_nm.curr_feat3_loca.value="left middle"; else if (feat_loca[i]==5) select_plate_form_nm.curr_feat3_loca.value="left bottom"; else if (feat_loca[i]==6) select_plate_form_nm.curr_feat3_loca.value="right top"; else if (feat_loca[i]==7) select_plate_form_nm.curr_feat3_loca.value="right middle"; else if (feat_loca[i]==8) select_plate_form_nm.curr_feat3_loca.value="right bottom"; else select_plate_form_nm.curr_feat3_loca.value=""; if (feat_loca[i]==0) select_plate_form_nm.curr_feat4_loca.value="middle top"; else if (feat_loca[i]==1) select_plate_form_nm.curr_feat4_loca.value="middle middle"; else if (feat_loca[i]==2) select_plate_form_nm.curr_feat4_loca.value="middle bottom"; else if (feat_loca[i]==3) select_plate_form_nm.curr_feat4_loca.value="left top"; else if (feat_loca[i]==4) select_plate_form_nm.curr_feat4_loca.value="left middle"; else if (feat_loca[i]==5) select_plate_form_nm.curr_feat4_loca.value="left bottom"; else if (feat_loca[i]==6) select_plate_form_nm.curr_feat4_loca.value="right top"; else if (feat_loca[i]==7) select_plate_form_nm.curr_feat4_loca.value="right middle"; else if (feat_loca[i]==8) select_plate_form_nm.curr_feat4_loca.value="right bottom"; else select_plate_form_nm.curr_feat4_loca.value=""; feat_loca[i]=-1; setCookie("feat_loca"+i+"Cok",feat_loca[i],ExpDate,"","/",""); select_plate_form_nm.curr_feat1_loca.value=""; select_plate_form_nm.curr_feat2_loca.value=""; select_plate_form_nm.curr_feat3_loca.value=""; select_plate_form_nm.curr_feat4_loca.value=""; select_plate_form_nm.feat_locat_nm.selectedIndex=-1; try { if (getCookieValue("feat_loca0Cok")==null) throw "feat_loca[0] cookie not set"; } catch (exception) { var ExpDate = new Date (); ExpDate.setTime (ExpDate.getTime() + (1*60*60*1000)); //cookie has 1 hour duration setCookie("feat_loca0Cok",feat_loca[0],ExpDate,"","/",""); } try { if (getCookieValue("feat_loca1Cok")==null) throw "feat_loca[1] cookie not set"; } catch (exception) { var ExpDate = new Date (); ExpDate.setTime (ExpDate.getTime() + (1*60*60*1000)); //cookie has 1 hour duration setCookie("feat_loca1Cok",feat_loca[1],ExpDate,"","/",""); } try { if (getCookieValue("feat_loca2Cok")==null) throw "feat_loca[2] cookie not set"; } catch (exception) { var ExpDate = new Date (); ExpDate.setTime (ExpDate.getTime() + (1*60*60*1000)); //cookie has 1 hour duration setCookie("feat_loca2Cok",feat_loca[2],ExpDate,"","/",""); } try { if (getCookieValue("feat_loca3Cok")==null) throw "feat_loca[3] cookie not set"; } catch (exception) { var ExpDate = new Date (); ExpDate.setTime (ExpDate.getTime() + (1*60*60*1000)); //cookie has 1 hour duration setCookie("feat_loca3Cok",feat_loca[3],ExpDate,"","/",""); } #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //$cost2=$_POST['cur_price_nm']; //echo '
'.':'."$cost".'$'; //echo "alert('$cost2');"; # display The RoutCad_select_plate.html again echo "alert('$method');"; if (empty($cost)) {echo 'alert("empty is true");';} else {echo 'alert("empty is false");';} //echo 'alert("'."$cost".'");'; if (empty($_POST['cur_price_nm'])) {echo 'alert("cur_price_nm empty");';} else { echo 'alert("'.$_POST['cur_price_nm'].'");'; } echo 'alert("width hole = '.$width.'");'; echo 'alert("width hole = '.$cost.'");'; //$_GET['cur_price_nm']=$cost; //echo 'window.location="./RoutCad_select_plate.php";'; if (!$widthvalid) {echo 'alert("width invalid");';} else {echo 'alert("width valid");';} if (!$heightvalid) {echo 'alert("height invalid");';} else {echo 'alert("height valid");';}     Finish Shopping   Finish Shopping return typeof ((window.pageYOffset!='undefined') && (window.pageYOffset!="0")) ? window.pageYOffset: document.documentElement.scrollTop? document.documentElement.scrollTop: document.body.scrollTop? document.body.scrollTop:0; alert(" result 21 :"+ScrollPos); //test ScrollMet=posMethod(); alert("method "+ScrollMet); if ((window.pageYOffset=='undefined') || (window.pageYOffset==0)) alert("condition undefined or 0"); else alert("condition false"); //test alert(test()); //if ((window.pageYOffset!=null) && (window.pageYOffset!="0")) ScrollPos=window.pageYOffset; //else if ((document.documentElement.scrollTop!=null) && (document.documentElement.scrollTop!="0")) ScrollPos=document.documentElement.scrollTop; //else if ((document.body.scrollTop!=null) && (document.body.scrollTop!="0")) ScrollPos=document.body.scrollTop; //else ScrollPos=1000; //This function return the method use for determining the scroll position "Browser Dependant" function posMethod() { return typeof ((window.pageYOffset!='undefined') && (window.pageYOffset!="0")) ? 1: (document.documentElement.scrollTop)? 2: document.body.scrollTop? 3:0; } ScrollMet=posMethod(); switch(ScrollMet) { case 1 : window.pageYOffset=parseInt(ScrollPos); break; case 2 : document.documentElement.scrollTop=parseInt(ScrollPos); break; case 3 : document.body.scrollTop=parseInt(ScrollPos); break; default : break; // no method found } //test remove fast ScrollPos=posTop(); alert("position d"+document.documentElement.scrollTop); //alert("position b"+document.body.scrollTop); ScrollMet=posMethod(); alert("method "+ScrollMet); window.scrollBy(0,250); //test remove fast var ScrollMet=0; //window scroll method "browser dependant" if ($Px[3]<$Pmx) {$Py[3]=tan($theta)*($Px[3]+(($d-$widthcm)/2));} else {$Py[3]=tan($beta)*(($widthcm-$Px[3])+(($d-$widthcm)/2));} $nx=($heightcm/2)/sin($beta); #distance from bottom left to Py[4] $Px[4]=$nx-(($L-$d)/2); if ($Px[4]<$Pmx) {$Py[4]=tan($theta)*($Px[4]+(($d-$widthcm)/2));} else {$Py[4]=tan($beta)*(($widthcm-$Px[4])+(($d-$widthcm)/2));} $Px[5]=$Px[1]; if ($Px[5]<$Pmx) {$Py[5]=tan($theta)*($Px[5]+(($d-$widthcm)/2));} else {$Py[5]=tan($beta)*(($widthcm-$Px[5])+(($d-$widthcm)/2));} #re-arrange feature from biggest to smallest #if ($featuretype[0]==1) { $wcm_req=$wcm_req_rca[$featurediamcm[0]]; $hcm_req=$hcm_req_rca[$featurediamcm[0]]; #} $Pix=$Px[1]; $Piy=$Py[1]; #feature coners $Pcx[0]=$Pix; $Pcy[0]=$Piy; $Pcx[1]=$Pix+$wcm_req; $Pcy[1]=$Piy+0; if (($Pcx[1]>=$Px[1]) && ($Pcx[1]<=$Px[2])) {$Pcx_valid[1]=TRUE;} else {$Pcx_valid[1]=FALSE;} if ($Pcx[1]<$Pmx) {$Pytmp=tan($theta)*($Pcx[1]+(($d-$widthcm)/2));} else {$Pytmp=tan($beta)*(($widthcm-$Pcx[1])+(($d-$widthcm)/2));} if (($Pcy[1]>=0) && ($Pcy[1]<=$Pytmp)) {$Pcy_valid[1]=TRUE;} else {$Pcy_valid[1]=FALSE;} $Pcx[2]=$Pix+$wcm_req; $Pcy[2]=$Piy+$hcm_req; $Pcx[3]=$Pix+0; $Pcy[3]=$Piy+$hcm_req; /*height:250px;*/ /*padding-top:0px;*/ /*width:181px;*/ /*height:104px;*/ /*background-image:url("./process_pics/preview.jpg");*/ /*background-repeat:no-repeat;*/ /*border:1px solid black;*/ /*margin-top:0px;*/ /*vertical-align:0px;*/ /*padding-top:0px;*/ /*vertical-align:0px;*/ /*height:250px;*/ border:1px solid red; border:1px solid pink;
Current Selection and Preview #select_preview { /*padding-left:10px;*/ /*border:1px solid black;*/ margin-top:0px; padding-top:0px; width:400px; height:300px; background-image:url("./process_pics/measure.jpg"); /*background-repeat:no-repeat;*/ } /* #select_preview_img { margin-left:10px; border:2px solid blue; } */ if (rechole==1) { if (widthcm>heightcm) { //scale using width } else if (widthcmImportant Info :Terms and Conditions

Important Info :License Agreement for RoutBot® Software

Important Info :Licence Agreement for RoutCAD® Software

Diameter (cm)
Country Shipping Cost Click to Select
Canada $20.00 CND
U.S.A. (Continental) $30.00 CND
Mexico $60.00 CND
Europe (France, Germany, England, ...) $80.00 CND
Asia (China, Hong-Kong, ...) $100.00 CND
South America and the Caribean $70.00 CND
Africa (South Africa, Benin ...) $90.00 CND

The shipping and handling charges depends on the location the item is to be shipped to. The items are shipped via Federal Express (ground) or Canada Post. The following shipping and handing charges are approximate :


The shipping and handling charges can vary, due to fuel cost etc., to have the exact shipping and handling charges for your location please contact us.

#measure_instruction_a { font-weight:bold; text-align:center; margin-top:5px; margin-bottom:0px; } #measure_instruction_a a { color:blue; /*color:black;*/ /*text-decoration:none;*/ padding-left:4px; padding-right:4px; padding-bottom:4px; } #measure_instruction_a a:hover{ color:white; background-color:blue; } RoutCad® Custom PVC Wall and Cealing Cover Plates, Mailboxes, Bathroom Signs, Letters, Numbers, and Flexible Gates for Kids (wood) .select_feature_button { /*color:blue; vertical-align:top;*/ } $mx=$holsiznormbrk*cos($theta); #median distance were the equation for y change $my=$holsiznormbrk*sin($theta); $Pmx=$mx-(($d-$holsizparabrk)/2); $Pmy=$my; $Px[3]=$holsizparabrk-((($holsiznormbrk/2)/tan($beta))+(($L-$d)/2)); $Py[3]=$holsiznormbrk/2; $Px[4]=(($holsiznormbrk/2)/tan($theta))+(($L-$d)/2); $Py[4]=$holsiznormbrk/2; } else if ($holsizparabrk==$holsiznormbrk) { $Px[0]=0; #origin x $Py[0]=0; #origin y $Px[1]=($L-$d)/2; $Py[1]=0; $Px[2]=$holsizparabrk-(($L-$d)/2); $Py[2]=0; $theta=3.14159/4; #angle between d (diagonal) and h (heightcm) $beta=3.14159-(3.14159/2)-$theta; #angle between d (diagonal) and w (widthcm) $h=(($holsizparabrk-($L-$d))/2)*tan($theta); $Px[3]=$holsizparabrk-(($h/tan($beta))+(($L-$d)/2)); $Py[3]=$h; $Px[4]=($h/tan($theta))+(($L-$d)/2); $Py[4]=$h; if ($bracket_along_width) { #when the bracket is longer than the diagonal an insertion gap is required if (($L-$d)>0.0) {$reqgap=$L-$d;} else {$reqgap=0.0;} $Px[0]=0; #origin x $Py[0]=0; #origin y $Px[1]=$reqgap/2; $Py[1]=0; $Px[2]=$holsizparabrk; $Py[2]=0; $costheta=(($holsiznormbrk*$holsiznormbrk)+($d*$d)-($holsizparabrk*$holsizparabrk))/(2.0*$holsiznormbrk*$d); #angle [rad] between d (diagonal) and h (heightcm) $theta=acos($costheta); #angle [rad] between d (diagonal) and w (widthcm) $beta=3.14159265359-(3.14159265359/2.0)-$theta; $mx=$holsiznormbrk*cos($theta); #orthogonal distance from top left hole corner $my=$holsiznormbrk*sin($theta); #to bottom left hole corner $Pmx=$mx-(($d-$holsizparabrk)/2.0); #Pm point relative to axis origin $Pmy=$my; #note : mx , my, Px , Py are calculated but not used $Px[3]=$Px[2]; $Py[3]=($holsizparabrk+(($d-$holsizparabrk)/2)-($reqgap/2))*tan($theta); $Px[4]=$Px[1]; $Py[4]=((($d-$holsizparabrk)/2)-($reqgap/2))*tan($theta); $test=2; #for test remove fast $areafeatcoef=($Py[4]-$Py[1])/($Py[3]-$Py[2]); } else { #when the bracket is longer than the diagonal an insertion gap is required if (($L-$d)>0.0) {$reqgap=$L-$d;} else {$reqgap=0.0;} $Px[0]=0; #origin x $Py[0]=0; #origin y $Px[1]=$reqgap/2.0; $Py[1]=0; $Px[2]=$holsiznormbrk-($reqgap/2.0); $Py[2]=0; $costheta=(($holsiznormbrk*$holsiznormbrk)+($d*$d)-($holsizparabrk*$holsizparabrk))/(2.0*$holsiznormbrk*$d); #angle [rad] between d (diagonal) and h (heightcm) $theta=acos($costheta); #angle [rad] between d (diagonal) and w (widthcm) $beta=3.14159265359-(3.14159265359/2.0)-$theta; $mx=$holsiznormbrk*cos($theta); #orthogonal distance from top left hole corner $my=$holsiznormbrk*sin($theta); #to bottom left hole corner $Pmx=$mx-(($d-$holsiznormbrk)/2.0); #Pm point relative to axis origin $Pmy=$my; #note : mx , my, Px , Py are calculated but not used $Px[3]=$Px[2]-(($holsizparabrk/2.0)/tan($beta)); $Py[3]=$holsizparabrk/2.0; $Px[4]=$Px[1]+(($holsizparabrk/2.0)/tan($theta)); $Py[4]=$holsizparabrk/2.0; $test=1; #for test remove fast $areafeatcoef=($Px[3]-$Px[4])/($holsiznormbrk-$reqgap); } } else if ($holsizparabrk<$holsiznormbrk) { #area above bracket $a_abv=$holsizparabrk+(1.125*2.54)-(1.125*2.54); $b_abv=($holsiznormbrk+(1.125*2.54)-(1.125+0.125)*2.54)/2-0; #area bellow bracket $a_blw=$holsizparabrk+(1.125*2.54)-(1.125*2.54); $b_blw=($holsiznormbrk+(1.125*2.54)-(1.125+0.125)*2.54)/2-0; #if ($bracket_along_width) {$L=$holsizparabrk+(1.375*2.54);} #else {$L=$holsiznormbrk+(1.375*2.54);} #when this section is executed -> something went wrong #note : normally this should not occur #$formvalid=FALSE; #validity flag for the entire form $test=5; if ($tempf>(($holsiznormbrk/2.0)-(tan($theta)*$ins_sty))) { $Px[5]=((($holsiznormbrk/2.0)-(tan($theta)*$ins_sty)-$Py[6])/tan($theta))+$Px[6]; $Py[5]=($holsiznormbrk/2.0)-(tan($theta)*$ins_sty); $Py[4]=($holsiznormbrk/2.0)-(tan($theta)*$ins_sty); //alert("loc_scale_fact "+loc_scale_fact); //dwgobj.beginPath(); /* dwgobj.beginPath(); dwgobj.arc(90,52,50,0,2*Math.PI); dwgobj.strokeStyle="white"; dwgobj.lineWidth=4; dwgobj.stroke(); dwgobj.fillStyle="white"; dwgobj.fill(); */ loc_Px[0]=loc_Px[0]-loc_brkoff_dist; loc_Px[1]=loc_Px[1]-loc_brkoff_dist; //feature required area for the 2nd biggest feature $feat_req_area=featreqarea($featuretype[$featmaxindex[1]],$featurediamcm[$featmaxindex[1]],$wcm_req_rca,$hcm_req_rca,$wcm_req_array,$hcm_req_array); //cm^2 area calculated for 2nd biggest feature $feat_area[1]=$feat_req_area[0]*$feat_req_area[1]; //mid distance of biggest feature $feat_mid[1]=$feat_mid[0]+($feat_req_area[0]/2.0); #feature is placed bellow or above bracket #default locattion is bellow bracket (true) $featlocbelbrk[0]=true; $featlocbelbrk[1]=true; $featlocbelbrk[2]=true; $featlocbelbrk[3]=true; //remove faste \|/ //var rca5_plug_hld=document.getElementById("feat1img"); //rca5_plug_hld.style.position="relative"; //rca5_plug_hld.style.position="absolute"; //rca5_plug_hld.style.pixelLeft=0; //rca5_plug_hld.style.pixelTop=0; //get the handle associated with the feature //var phone_hld=document.getElementById("phone_plug"); //rca5_plug_hld.style.position="relative"; //phone_hld.src="./preview_pics/feat_none.jpg"; //test //phone_hld.style.width="1px"; //test //phone_hld.style.height="1px"; //test //phone_hld.style.position="absolute"; //phone_hld.style.pixelLeft=50; //phone_hld.style.pixelTop=50; //remove fast /|\ var totnumitemdsp; totnumitemdsp = GetCookie("totnumitemCok"); if ( totnumitemdsp == null ) totnumitemdsp = 0; //alert(numitem); () fields[0] = database.substring( 0, Token0 ); // Product ID fields[1] = database.substring( Token0+1, Token1 ); // Quantity fields[2] = database.substring( Token1+1, Token2 ); // Price fields[3] = database.substring( Token2+1, Token3 ); // Product Name/Description fields[4] = database.substring( Token3+1, Token4 ); // Shipping Cost #shopping_kart_div { background-color:white; padding-top:1px; padding-bottom:5px; padding-left:10px; } # 1/8" (0.3175cm) or 1/4" (0.635cm) #base cost for medium cover plate rect/square #base cost for medium cover plate circular #cost per surface area for medium cover plate #cost for offset bracket for medium cover plate #base cost for large cover plate rect/square #base cost for large cover plate circular #cost per surface area for large cover plate #cost for offset bracket for large cover plate #test remove fast #echo 'alert("'.$featuretype[3].'");'; #echo 'alert("'.$featinvalid[3].'");'; #echo 'alert("'.$featurediamcm[3].'");'; #for test remove fast #echo 'alert("category : '.$category.'");'; #echo 'alert("test : '.$test.'");'; #echo 'alert("Px[1] : '.$Px[1].'");'; #echo 'alert("Py[1] : '.$Py[1].'");'; #echo 'alert("Px[2] : '.$Px[2].'");'; #echo 'alert("Py[2] : '.$Py[2].'");'; #echo 'alert("Px[3] : '.$Px[3].'");'; #echo 'alert("Py[3] : '.$Py[3].'");'; #echo 'alert("Px[4] : '.$Px[4].'");'; #echo 'alert("Py[4] : '.$Py[4].'");'; #echo 'alert("Px[5] : '.$Px[5].'");'; #echo 'alert("Py[5] : '.$Py[5].'");'; #echo 'alert("Px[6] : '.$Px[6].'");'; #echo 'alert("Py[6] : '.$Py[6].'");'; #echo 'alert("area avail coef : '.$areafeatcoef.'");'; #echo 'alert("theta : '.$theta.'");'; #echo 'alert("beta : '.$beta.'");'; $reqgap=0.0; $areafeatcoef=0.0; if ($featuretype[0]!='none') { $test_req[0]=0.0; $test_req[1]=0.0; $test_req=featreqarea($featuretype[$featmaxindex[0]],$featurediamcm[$featmaxindex[0]],$wcm_req_rca,$hcm_req_rca,$wcm_req_array,$hcm_req_array); #echo 'alert("required area (x,y) : ('.$test_req[0].' , '.$test_req[1].')");'; } #if ($inarea) echo 'alert("in area");'; #else echo 'alert("not in area");'; #echo 'alert("bracket length (in) : '.$L.'");'; #echo 'alert("feature area : '.$featmaxarea.'");'; #echo 'alert("feat_req_area[1] : '.$feat_req_area[1].'");'; #echo 'alert("feature 2nd max area index : '.$featmaxindex[2].'");'; #echo 'alert("holecat= '.$category.'");'; $L=$L/2.54; #echo 'alert("insertion angle in (deg) : '.$insang.'");'; #for test, display form values /* echo 'alert("2.1) hole shape = '.$hole_shape.'");'; echo 'alert("2.2) unit used = '.$unit.'");'; */ #echo 'alert("2.3) hole width = '.$widthcm.'");'; #echo 'alert("2.3) hole height = '.$heightcm.'");'; /* echo 'alert("2.4) wall thick = '.$wall_thick.'");'; echo 'alert("2.5) bracket along width = '.$bracket_along_width.'");'; echo 'alert("2.5) bracket along height = '.$bracket_along_height.'");'; echo 'alert("2.5) bracket offset = '.$bracket_offset.'");'; echo 'alert("2.6) feature 3 type = '.$featuretype[3].'");'; echo 'alert("2.6) feature 3 diam = '.$featurediamcm[3].'");'; */ #header("Location: RoutCad_contact_us.html"); #$dir_name = "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/wwwroot"; #$dir_name = "C:/Program Files"; #$dir = opendir($dir_name); #$file_list = '
    '; #while ($file_name = readdir($dir)) { # if (($file_name != ".") && ($file_name != "..")) { # $file_list .= '
  • '.$file_name.'
  • '; #} # #} #$file_list .= '
'; #closedir($dir); #echo $file_list; $msgcomp=$msg.$to.$mailheaders; echo 'alert("'.$file_list.'");';

You need a newer browser
for this display to work. e.g.
www.googlechrome.com


#select_spanalt { width:200px; height:150px; text-align:center; border:1px solid black; background-image:url("./preview_pics/VIEW_2D_BACKGROUND.gif"); background-repeat:no-repeat; }