function adClickLayer(link, adtype, id) {
	//alert('adClickLayer = '+adtype+' / id = '+id+' / '+link);
	
	if (adtype!='' && typeof adtype!='undefined') {
		adClick(adtype,id);
	}
	
	if (link!='' && typeof link!='undefined') {
		try {
			if (clickout_layer && jQuery){
				jQuery(document).ready(function () {
					clickout_layer.setReady();
				});
				clickout_layer.show(link);
			}
			return true;
		} catch(e)
		{
			return false;
		}
	}
}

function clickTracker(adtype) {
    if (document.getElementById('ClickTrackerIframe')!=undefined) {
        document.getElementById('ClickTrackerIframe').src = '<{$HOME_URL}>'+'clicktracker/'+adtype;
    }
    return true;
}