function trackConversion(client_id, pot_conversion_sale, pot_conversion_email, pot_conversion_zip, pot_conversion_country, pot_conversion_name){// EDIT THIS VARIABLE TO POINT TO THE CORRECT URL FOR YOUR SERVERtracker = 'http://www.scopeolab.com/tracker/tracker.php';// define some defaults -------------------------------------// if 'img', returns a visible image, // if 'debug', echo all data sent,// otherwise return javascript that does nothing!//show='debug'; show='img'; // get the user agent name ----------------------------------v = navigator.appName;// get the screen resolution --------------------------------c=0;if (v != "Netscape") {c = screen.colorDepth;}else {c = screen.pixelDepth;}resolution = window.screen.width + 'x' +                 window.screen.height + 'x' +                 c + 'bit';// get the document's title ---------------------------------t=escape(document.URL);//if(document.title) {t = escape(document.title);}// get the document's referrer -------------------------------f = escape(document.referrer);// getting data ready to send -------------------------------r = tracker +   '?' +   'show=' + show + '&' +  'document=' + t + '&' +  'client_id=' + client_id + '&' +  'referer=' + f;// add any conversion detailif(typeof(pot_conversion_sale)!="undefined"){	r = r+'&'+'sale='+pot_conversion_sale;}if(typeof(pot_conversion_email)!="undefined"){	r = r+'&'+'email='+escape(pot_conversion_email);}if(typeof(pot_conversion_zip)!="undefined"){	r = r+'&'+'zip='+escape(pot_conversion_zip);}if(typeof(pot_conversion_country)!="undefined"){	r = r+'&'+'country='+escape(pot_conversion_country);}if(typeof(pot_conversion_name)!="undefined"){	r = r+'&'+'name='+escape(pot_conversion_name);}if (show=='img') { // calling phpOpenTracker to return an image	rand = Math.round(1000*Math.random());	r = r+'&'+'b='+rand;  //force the page to load the IMG	document.open();	document.write('<img src="'+r+'" alt="" width="1" height="1" border="0">');	document.close();} else { // calling phpOpenTracker to return JavaScript 	r = r+'&document_url='+ escape(document.URL);	document.open();	document.write('<script language="JavaScript" type="text/javascript" src="'+r+'" />');	document.close();}}
