str=' <style type="text/css"> <!-- .myoffer{ background-color: #FFFFFF; } a.myoffer { font-family: Arial; font-size:10pt; font-weight: bold; text-decoration: underline; color: #0000FF; } a.myoffer:hover{ text-decoration: underline; color: #0000FF; } a.myoffer:visited{ text-decoration: none; color: #0000FF; } --> </style> <table cellpadding=5 class=myoffer><tr><td align=center width=100><a href=http://exat.ru/touronline/tour.php?tpid=3977727393_8&client_id=3v3b0b3cc5e0287ce026098bdadacffca0248ca69e5c23f752 target=_blank class=myoffer><img src="http://exat.ru/srcimg/pCSM003382.jpg" width=100 height=100 title="" border=0 hspace=0></a><br></td><td><a href=http://exat.ru/touronline/tour.php?tpid=3977727393_8&client_id=3v3b0b3cc5e0287ce026098bdadacffca0248ca69e5c23f752 target=_blank class=myoffer>Åãèïåò / Õóðãàäà $ 529 â DBL, c 2012.03.05 íà 8 äíåé<br>îòåëü «FESTIVAL RIVIERA RESORTS FRONT» 5*</a></td></tr><tr><td align=center width=100><a href=http://exat.ru/touronline/tour.php?tpid=1648225467_8&client_id=3v3b0b3cc5e0287ce026098bdadacffca0248ca69e5c23f752 target=_blank class=myoffer><img src="http://exat.ru/srcimg/MG1-42-15302000.jpg" width=100 height=100 title="" border=0 hspace=0></a><br></td><td><a href=http://exat.ru/touronline/tour.php?tpid=1648225467_8&client_id=3v3b0b3cc5e0287ce026098bdadacffca0248ca69e5c23f752 target=_blank class=myoffer>ÎÀÝ / Øàðäæà $ 587 â DBL, c 2012.02.28 íà 8 äíåé<br>îòåëü «CENTRO SHARJAH» 3*</a></td></tr></table>';document.write(str);

function gaCounter(){
				var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
			ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	
	this.ids={
		'common': 	'UA-9478516-24',
		'local': 	'UA-9478516-12'
			};
	this.user_id = '14594'
	if(!this.ids['local'] || this.ids['local'].substring(0,2)=='{'+'{')
		this.ids['local']=this.ids['default'];
	var matches=document.location.host.match(/(\.?)([^\.]+)\.([a-z]+)$/);//(.)(exat).(ru)
	if(matches && matches[1]){
			this.host=matches[0];
	}
	
	this.initCounter('local');
	this.initCounter('common');
}

gaCounter.prototype.addOrganic = function() {
	}

gaCounter.prototype.trackPageviews = function(event_source /*SearchResultContext*/, event_type /*view|click*/, banner_id /*hott.ru-egypt*/) {
	var url='/gaTrackPageview/'+event_source+'/'+event_type+'/id/'+banner_id+'/';
	this.trackPageview('local', url);
	this.trackPageview('common', url);
}
gaCounter.prototype.trackPageview = function(name, url) {
	this.customVar(name, 3, 'user_id', '14594', 3);

   
   if(url==undefined)
	  _gaq.push(['exat'+name+'._trackPageview']);
	else
	  _gaq.push(['exat'+name+'._trackPageview',url]);
}

gaCounter.prototype.trackEvents= function(category, action, id){
	this.trackEvent('local', category, action, id);
	this.trackEvent('common', category, action, id);
}
gaCounter.prototype.trackEvent= function(countertype, category, action, id){
	_gaq.push(['exat'+countertype+'._trackEvent', category, action, id]);
}

gaCounter.prototype.customVars= function(index, name, value, opt_scope){
	this.customVar('local', index, name, value, opt_scope);
	this.customVar('common', index, name, value, opt_scope);
}
gaCounter.prototype.customVar= function(countertype, index, name, value, opt_scope){
	_gaq.push(['exat'+countertype+'._setCustomVar', index, name, value, opt_scope]);
}

gaCounter.prototype.initCounter = function(name,url) {
	var id=this.ids[name];
	_gaq.push(['exat'+name+'._setAccount', id]);
	this.addOrganic(name);
	if(this.host){
	_gaq.push(['exat'+name+'._setDomainName', this.host]);
	}

		
	
		this.trackPageview(name, url);
}


var _gaq = _gaq || [];
var gaCounters= gaCounters || new gaCounter();




