function magic(url) {
	switch(url) {
		// articles
		case "http://delta.bg/": return("http://delta.bg/members/aff.php?aff=022"); break;
		case "http://www.qhoster.bg/": return("http://www.qhoster.bg/clients/aff.php?aff=019"); break;
		case "http://www.awardspace.com/": return("http://www.awardspace.com/?aid=MTkyMzI2MjIxOTI2MjY="); break;
		case "http://www.icn.bg/": return("https://my.icn.bg/offerings.html?referer=cloxy"); break;
		case "http://www.jump.bg/": return("http://www.jump.bg/aff.php?aff=012"); break;
		case "http://www.hostgator.com/": return("http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=cloxy"); break;
		// no articles
		case "http://ineahost.com/": return("http://ineahost.com/support/aff.php?aff=042"); break;
		case "http://www.powerhost.bg/": return("http://billing.powerhost.bg/aff.php?aff=009"); break;
		case "http://hostsean.com/": return("http://hostsean.com/members/aff.php?aff=084"); break;
		case "http://www.fcolor.bg/": return("http://www.fcolor.bg/accounts/aff.php?aff=010"); break;
		case "http://www.cloud.bg/": return("http://www.cloud.bg/whmcs/aff.php?aff=034"); break;
		case "http://www.dom.bg/": return("http://cloxy.dom.bg/"); break;
		case "http://host.click.bg/": return("http://host.click.bg/index.php?saref=9sa179"); break;
		// EN
		case "http://www.bluehost.com/": return("http://www.bluehost.com/track/cloxy"); break;
		case "http://www.dreamhost.com/": return("http://www.dreamhost.com/r.cgi?1083119"); break;
		case "http://www.namecheap.com/": return("http://www.namecheap.com/?aff=17685"); break;
		// default
		default: return(url); break;
	}
}

