
function urchin_download(url) {
	var Type;
	
	// remove '/' from the begning of url
	if (url.substr(0, 1) == '/')
		url = url.substr(1, (url.length - 1));
	
	// get filetype
	Type = url.substr((url.length - 3), 3);
	Type = Type.toUpperCase();
	
	// add filetype before url
	url = '/_' + Type + '/' + url;
	
	// activate tracker
	urchinTracker(url);
}

function urchin_btn(url) {
	// remove '/' from the begning of url
	if (url.substr(0, 1) == '/')
		url = url.substr(1, (url.length - 1));

	// add type to url
	url = '/_FORM/' + url;

	// activate tracker
	urchinTracker(url);
}

