function actinicAdd(sku, qty) {
var base = '/cgi-bin/ca000000.pl?SID=9&PAGE=PRODUCT&Q_';
var url = base + sku + '=' + qty;

function connect() {
	//window.alert('connecting to ' + url);
	http.open("GET", url, true);
	http.onreadystatechange = getHttpRes;
	http.send(null);
}

function getHttpRes() {
	if (http.readyState == 4) { 
		res = http.responseText;
		//window.alert('Product added.');
	}
}

function getXHTTP() {
	var xhttp;
	try {   
	// The following "try" blocks get the XMLHTTP object for various browsers…
		xhttp = new ActiveXObject("Msxml2.XMLHTTP");
	} catch (e) {
     	try {
        	xhttp = new ActiveXObject("Microsoft.XMLHTTP");
	} catch (e2) {
 	 // This block handles Mozilla/Firefox browsers...
	try {
	      	xhttp = new XMLHttpRequest();
	} catch (e3) {
	   	xhttp = false;
	}
      	}
    }	
  return xhttp; // Return the XMLHTTP object
}
var http = getXHTTP(); // This executes when the page first loads.
connect();
}