var cd; function getCdc(ac){ var pos = ac.indexOf("cdc="); if(pos != -1){ var start = pos + 4; var end = ac.indexOf(";", start); if(end == -1) end = ac.length; var cv= ac.substring(start, end); cv = unescape(cv); } if (cv == null){ cv = 'NONE'; } return cv; } cd = getCdc(document.cookie); //alert(cd); // www.clickdetective.net if(location.search != ""){ if(location.search.match("[c][d][=]")){ document.write('