 str=' <style>   .myoffer{     background: none repeat scroll 0 0 transparent !important;     color: #6C2604;     width: 670px;   }       a.myoffer:hover {     color:#64000D;   }      .price{     color:red;     font-size:18px   } </style>     <div> <table cellpadding="5" class="myoffer">   	<tr><td'; document.write(str);

 str=' valign=top><!-- basetable --> 	 			    		    		    			    			    		    		    		      			</td><td class=data> 			<h2 class="myofferh2class"><font color="black">  </font></h2><div style="clear:both"></div> 					 																 																								 																																'; document.write(str);

 str=' 																													 										<table style="margin-bottom: 5px;"><tbody> 																																																											 <tr>   <td valign="top" align="center" width="100">     <a target="_blank" class="myoffer"'; document.write(str);

 str=' href="http://exat.ru/touronline/tour.php?tpid=1566182945_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       <img border="0" src="http://exat.ru/htdocs/myaccount/img/e.gif"'; document.write(str);

 str=' style="background-image:url(http://exat.ru//srcimg/MG1-42-15310112.jpg??H=100&W=100&CW=100&CH=50);height:50px;width:100px;repeat:no-repeat; ">     </a>   </td>    <td valign="top">     <a target="_blank" class="myoffer"'; document.write(str);

 str=' href="http://exat.ru/touronline/tour.php?tpid=1566182945_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Ìàëüäèâû / Àòîëëû       <span class="price">2704$</span>       â SUPERIOR ROOM, c&nbsp;12.02.2012 íà &nbsp;11 äíåé, îòåëü  <span>«BEEHIVE NALAHIYA»</span>&nbsp; 4*'; document.write(str);

 str='     </a>   </td> </tr>																						</tbody></table> 										</div> 																										 																																					 																											 																	 						</td></tr> </table>'; document.write(str);

 str=' </div>'; 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 = '77734'
	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', '77734', 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();




