
function CountClick(sid)
{
  	image = new Image();
    image.src = "http://www.affiliatebestprograms.com/affiliate-directory/functions.php?act=count&sid=" + sid;
    
}



function plus_minus( plusmin, divid, ctotal, tpid ){
	
 
	
  getfile_url = 'http://www.affiliatebestprograms.com/affiliate-directory/functions.php?act=plus_minus&pm=' + escape(plusmin) + '&divid=' + divid + '&ctotal=' + ctotal;
  //alert(getfile_url);
  // Do Ajax
  ajax_do (getfile_url);
  
}

function ajax_do (url) {

// Create new JS element
var jsel = document.createElement('SCRIPT');
jsel.type = 'text/javascript';
jsel.src = url;

// Append JS element 
document.body.appendChild (jsel);
}
			

