function add2cart(PN, P21PN, speed, torque, voltage, duty, func){
document.codeform.id.value = PN;
document.codeform.weight.value = eval(P21PN+".weight");
document.codeform.price.value = eval(P21PN+".price");
var infotext = " Enclosure: Weatherproof NEMA 4/4X diecast aluminum alloy base
"+
" Electrical Connection: internal screw terminal strip with 1/2" NPT conduit port entry with cable gland
"+
" Output Torque: "+torque+"
"+
" Function: 90° (quarter turn) "+func +"
"+
" Limit Switches: 1
"+
" Voltage: "+voltage+"
"+
" Duty Cycle: "+duty+"
"+
" Speed: "+speed+"
"
;
document.codeform.info.value = infotext;
document.codeform.submit('add');
}
function add2cart2(PN, P21PN, bore, stem, fits){
document.codeform2.id.value = PN;
document.codeform2.weight.value = eval(P21PN+".weight");
document.codeform2.price.value = eval(P21PN+".price");
var infotext = "Bore Size: "+bore+"
"+
"Stem Size: "+stem+"
"+
"Fits Actuators: "+fits;
document.codeform2.info.value = infotext;
document.codeform2.submit('add');
}
function add2cart3(PN, P21PN, outer, inner, fits){
document.codeform3.id.value = PN;
document.codeform3.weight.value = eval(P21PN+".weight");
document.codeform3.price.value = eval(P21PN+".price");
var infotext = "Outer Width: "+outer+"
"+
"Inner Width: "+inner+"
"+
"Fits Insert: "+fits;
document.codeform3.info.value = infotext;
document.codeform3.submit('add');
}