function OpenCertDetails() 
{ 
  thewindow = window.open('https://www.ewebcart.com/sslverify/', 'anew', config='height=580,width=500,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes'); 
}

function bookmark(){
txt = "Bookmark this Page";
url = document.location;
who = document.title;
ver = navigator.appName
num = parseInt(navigator.appVersion)
if ((ver == "Microsoft Internet Explorer")&&(num >= 4)) {
   document.write('<A HREF="javascript:window.external.AddFavorite(url,who);"  ');
   document.write('onMouseOver=" window.status=')
   document.write("txt; return true ")
   document.write('"onMouseOut=" window.status=')
   document.write("' '; return true ")
   document.write('">'+ txt + '</')
   document.write('a>')
}else{
   txt += "  (Ctrl+D)"
   document.write(txt)
} 
}

function sendme(cnt,titl,pric){
if(document.getElementById && document.all) {a = document.getElementById('tset').elements;}
else{a = document.forms['tset'].elements;}
//a = document.forms["tset"].elements;
k=0;str="";
for (i=0;i<a.length;i++){if(a[i].type=='checkbox'&&a[i].checked==true){k++;str+=a[i].value + "<br>";}}
if(k>cnt){alert("You are only allowed "+cnt+" choices.n You have "+k+".n  Please adjust."); return false}
if(k<cnt && !confirm("You are allowed up to "+cnt+" choices.n You only have "+k+".n  Are you sure this is all you want to add?")){return false;}
fm = '<html>Adding to Cart...<form action="http://www.ewebcart.com/cgi-bin/cart.pl" method="POST" name="tform">';
fm +='<input type="hidden" name="merchant" value="12645">';
fm +='<input type="hidden" name="add" value="Add to Cart">';
fm +='<input type="hidden" name="description" value="'+str+'">';
fm +='<input type="hidden" name="name" value="-'+titl+'-[#MAXQTY:1#]">';
fm +='<input type="hidden" name="price" value="'+pric+'">';
fm +='<input type="hidden" name="quantity" value="1">';
fm +='</form></html>';
document.write(fm);document.forms["tform"].submit();
return false;
}

