<!--
var rExp = /(\w{2,9})\|?(\d{0,5})/;

var cookie301 = getCookie('301');
var cookieqs = getCookie('query_string');
var tracking_code = window.location.search;
tracking_code = tracking_code.substring(1,tracking_code.length);
var ioll_url = '<img src="http://www.datablade.com/cgi-bin/image.cgi?';

var set_cookies = false;

// 301 cookie
if (cookie301) {

	set_cookies = true;
	tracking_code = cookie301;
	
	// delete 301 cookie.
	var expiresAt = new Date();
	expiresAt.setFullYear(expiresAt.getFullYear() - 1);
	document.cookie ="301=; expires=" + expiresAt.toGMTString() +"; path=/";	

// this is to catch old school tracking via query string (shouldnt be needed)
} else if(tracking_code.length>1 && tracking_code != 'undefined'){
		set_cookies = true;
} 

if (!set_cookies && !getCookie('src_cd')) {
	tracking_code='01433057';
	
	set_cookies=true;
}

if (set_cookies) {
	
	
	
	//DATABLADE COOKIE
	var merchant_id_c2 = 'IC1';
	var merchant_id_cu = 'CUC';
	var merchant_id_d8 = 'D8C';
	
	if(window.location.search.indexOf("&np") != -1){
		var postionOfnp = window.location.search.indexOf("&np");
		tracking_code = tracking_code.substring(0,postionOfnp -1);		
	}
		
	tracking_code = new String(tracking_code);
	// hbx 
	// NO OMNITURE YET
	var result = tracking_code.match(rExp);
	if (result != null) {
			// s.campaign=tracking_code;
			// s.campaign=s.getValOnce(s.campaign,'s_campaign',0);
	}
	//tracking_code = escape(tracking_code);
	forc2 = ioll_url+merchant_id_c2 + '|' + tracking_code 
	+ '" width="1" height="1" border="0" alt="">';
	forcu = ioll_url+merchant_id_cu + '|' + tracking_code 
	+ '" width="1" height="1" border="0" alt="">';
	ford8 = ioll_url+merchant_id_d8 + '|' + tracking_code 
	+ '" width="1" height="1" border="0" alt="">';

	
	
	document.write(forc2);document.write(forcu);document.write(ford8);

	// Our cookie
	var expiresAt = new Date();
	expiresAt.setFullYear(expiresAt.getFullYear() + 1);
	document.cookie ="src_cd="+tracking_code+ "; expires=" + expiresAt.toGMTString() +"; path=/";	
	

}


function getCookie(Name) {   	

	var search = Name + "="   

	if (document.cookie.length > 0) { 
	
	// if there are any cookies      
	offset = document.cookie.indexOf(search)       

	if (offset != -1) { 
		// if cookie exists          
		offset += search.length          
		// set index of beginning of value         
		end = document.cookie.indexOf(";", offset)          
		// set index of end of cookie value         
		if (end == -1)             
			end = document.cookie.length         
			return unescape(document.cookie.substring(offset, end))      
		}    
	}
}
//-->	

