 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=3835115503_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-MN002089.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=3835115503_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Салоники       <span class="price">658€</span>       в double room standard, c&nbsp;19.02.2012 на &nbsp;8 дней, отель  <span>«Фортуна»</span>&nbsp; 5*    '; document.write(str);

 str=' </a>   </td> </tr>																																																											 <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=1593650526_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-15207218.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=1593650526_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Касторья       <span class="price">837€</span>       в DOUBLE room, c&nbsp;19.02.2012 на &nbsp;8 дней, отель  <span>«GIORGIO INN»</span>&nbsp; 3*     </a>'; document.write(str);

 str='   </td> </tr>																																																											 <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=281114868_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/Hotels/3v90baa5fa9112410b95b0c6bb3823243fc841759e6694b8bf/7297.jpg?W=100?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=281114868_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Неи-Пори Катерини       <span class="price">833€</span>       в Standard, c&nbsp;19.02.2012 на &nbsp;8 дней, отель  <span>«LITO»</span>&nbsp; 2*     </a>  '; document.write(str);

 str=' </td> </tr>																																																											 <tr>   <td valign="top" align="center" width="100">     <a target="_blank" class="myoffer" href="http://exat.ru/touronline/tour.php?tpid=1425384984_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">'; document.write(str);

 str='       <img border="0" src="http://exat.ru/htdocs/myaccount/img/e.gif" style="background-image:url(http://exat.ru/Hotels/3v90baa5fa9112410b428e134250699973c841759e6694b8bf/1149230237.jpg?W=100?H=100&W=100&CW=100&CH=50);height:50px;width:100px;repeat:no-repeat; ">     </a>   </td>    <td'; document.write(str);

 str=' valign="top">     <a target="_blank" class="myoffer" href="http://exat.ru/touronline/tour.php?tpid=1425384984_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Неа Каликратия       <span class="price">821€</span>       в double room standard,'; document.write(str);

 str=' c&nbsp;19.02.2012 на &nbsp;8 дней, отель  <span>«MALLAS»</span>&nbsp; 2*     </a>   </td> </tr>																																																											 <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=1425383260_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/Hotels/3v90baa5fa9112410bf5231df1c71d1680c841759e6694b8bf/gr_ha_iri[1].jpg?W=100?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=1425383260_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Неа Каликратия       <span class="price">821€</span>       в double room standard, c&nbsp;19.02.2012 на &nbsp;8 дней, отель  <span>«IRIS»</span>&nbsp; 2* '; document.write(str);

 str='    </a>   </td> </tr>																																																											 <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=1425339006_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/Hotels/3v90baa5fa9112410b99ece4e0b963a42a613250116b395e95/g1267384533974.jpg?W=100?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=1425339006_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Неа Каликратия       <span class="price">821€</span>       в double room standard, c&nbsp;19.02.2012 на &nbsp;8 дней, отель  <span>«AQUA'; document.write(str);

 str=' MARE»</span>&nbsp; 2*     </a>   </td> </tr>																																																											 <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=281027624_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-15305889.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=281027624_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Паралия-Катерини       <span class="price">819€</span>       в NotDef, c&nbsp;19.02.2012 на &nbsp;8 дней, отель  <span>«AVRA KATERINI»</span>&nbsp; 3*    '; document.write(str);

 str=' </a>   </td> </tr>																																																											 <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=905977784_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/Hotels/3v90baa5fa9112410bd5ce14fc285a65b6613250116b395e95/g1224878071677.jpg?W=100?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=905977784_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / п-ов Ситония       <span class="price">808€</span>       в Double Room Golf view, c&nbsp;19.02.2012 на &nbsp;8 дней, отель  <span>«PORTO CARRAS'; document.write(str);

 str=' SITHONIA»</span>&nbsp; 4*     </a>   </td> </tr>																																																											 <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=936157653_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/Hotels/3v90baa5fa9112410b6fa5dce3c1603091613250116b395e95/g1256918001620.jpg?W=100?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=936157653_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Касторья       <span class="price">180€</span>       в _, c&nbsp;19.02.2012 на &nbsp;8 дней, отель  <span>«LIMNEON CRYSTAL»</span>&nbsp; 4*     </a>  '; document.write(str);

 str=' </td> </tr>																																																											 <tr>   <td valign="top" align="center" width="100">     <a target="_blank" class="myoffer" href="http://exat.ru/touronline/tour.php?tpid=3891862738_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">'; document.write(str);

 str='       <img border="0" src="http://exat.ru/htdocs/myaccount/img/e.gif" style="background-image:url(http://exat.ru/Hotels/3v90baa5fa9112410b3d0ba182618954a0c841759e6694b8bf/hmykpapool3[1].jpg?W=100?H=100&W=100&CW=100&CH=50);height:50px;width:100px;repeat:no-repeat; ">     </a>   </td>    <td'; document.write(str);

 str=' valign="top">     <a target="_blank" class="myoffer" href="http://exat.ru/touronline/tour.php?tpid=3891862738_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Неа Каликратия       <span class="price">773€</span>       в DOUBLE room, c&nbsp;19.02.2012 на'; document.write(str);

 str=' &nbsp;8 дней, отель  <span>«MYKONOS PARADISE»</span>&nbsp; 3+*     </a>   </td> </tr>																																																											 <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=1425217410_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/Hotels/3v90baa5fa9112410b5b9b36694491507cc841759e6694b8bf/1[4].jpg?W=100?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=1425217410_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / п-ов Кассандра       <span class="price">773€</span>       в DOUBLE room, c&nbsp;19.02.2012 на &nbsp;8 дней, отель  <span>«ALKYONIS'; document.write(str);

 str=' APARTMENT»</span>&nbsp; 2+*     </a>   </td> </tr>																																																											 <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=1401175236_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/Hotels/3v90baa5fa9112410ba04d903db6a55486613250116b395e95/1266841639.jpg?W=100?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=1401175236_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Неа Каликратия       <span class="price">781€</span>       в double room standard, c&nbsp;19.02.2012 на &nbsp;8 дней, отель  <span>«ATLANTIS»</span>&nbsp;'; document.write(str);

 str=' 2*     </a>   </td> </tr>																																																											 <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=3756471412_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/Hotels/3v90baa5fa9112410ba7e51b8e4ee01f2bc841759e6694b8bf/27998_b2[1].jpg?W=100?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=3756471412_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Афины       <span class="price">822€</span>       в Standard, c&nbsp;11.03.2012 на &nbsp;8 дней, отель  <span>«CANDIA»</span>&nbsp; 3*     </a>   </td>'; document.write(str);

 str=' </tr>																																																											 <tr>   <td valign="top" align="center" width="100">     <a target="_blank" class="myoffer" href="http://exat.ru/touronline/tour.php?tpid=3756471472_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">      '; document.write(str);

 str=' <img border="0" src="http://exat.ru/htdocs/myaccount/img/e.gif" style="background-image:url(http://exat.ru/Hotels/3v90baa5fa9112410b79031d70342588e8c841759e6694b8bf/ionis1[1].jpg?W=100?H=100&W=100&CW=100&CH=50);height:50px;width:100px;repeat:no-repeat; ">     </a>   </td>    <td'; document.write(str);

 str=' valign="top">     <a target="_blank" class="myoffer" href="http://exat.ru/touronline/tour.php?tpid=3756471472_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Афины       <span class="price">834€</span>       в Standard, c&nbsp;11.03.2012 на &nbsp;8'; document.write(str);

 str=' дней, отель  <span>«IONIS»</span>&nbsp; 3*     </a>   </td> </tr>																																																											 <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=3756292300_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/Hotels/3v90baa5fa9112410b307fc394095ec016c841759e6694b8bf/madasview[1].jpg?W=100?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=3756292300_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Лутраки       <span class="price">785€</span>       в STANDARD ROOM, c&nbsp;01.04.2012 на &nbsp;8 дней, отель  <span>«MANTAS»</span>&nbsp; 3*     </a>  '; document.write(str);

 str=' </td> </tr>																																																											 <tr>   <td valign="top" align="center" width="100">     <a target="_blank" class="myoffer" href="http://exat.ru/touronline/tour.php?tpid=3756292190_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">'; document.write(str);

 str='       <img border="0" src="http://exat.ru/htdocs/myaccount/img/e.gif" style="background-image:url(http://exat.ru/Hotels/3v90baa5fa9112410b01c8760090f6e720613250116b395e95/1124127865.jpg?W=100?H=100&W=100&CW=100&CH=50);height:50px;width:100px;repeat:no-repeat; ">     </a>   </td>    <td'; document.write(str);

 str=' valign="top">     <a target="_blank" class="myoffer" href="http://exat.ru/touronline/tour.php?tpid=3756292190_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Лутраки       <span class="price">779€</span>       в STANDARD ROOM, c&nbsp;01.04.2012 на'; document.write(str);

 str=' &nbsp;8 дней, отель  <span>«MARKO»</span>&nbsp; 2*     </a>   </td> </tr>																																																											 <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=850800553_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-RW001077.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=850800553_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Пиерия       <span class="price">796€</span>       в _, c&nbsp;01.04.2012 на &nbsp;8 дней, отель  <span>«LOUIZA»</span>&nbsp; 2*     </a>   </td>'; document.write(str);

 str=' </tr>																																																											 <tr>   <td valign="top" align="center" width="100">     <a target="_blank" class="myoffer" href="http://exat.ru/touronline/tour.php?tpid=3756327611_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">      '; document.write(str);

 str=' <img border="0" src="http://exat.ru/htdocs/myaccount/img/e.gif" style="background-image:url(http://exat.ru//srcimg/MG1-42-15307582.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=3756327611_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Лутраки       <span class="price">803€</span>       в STANDARD ROOM, c&nbsp;01.04.2012 на &nbsp;8 дней, отель  <span>«ILION»</span>&nbsp; 3*     </a>  '; document.write(str);

 str=' </td> </tr>																																																											 <tr>   <td valign="top" align="center" width="100">     <a target="_blank" class="myoffer" href="http://exat.ru/touronline/tour.php?tpid=3756327749_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">'; document.write(str);

 str='       <img border="0" src="http://exat.ru/htdocs/myaccount/img/e.gif" style="background-image:url(http://exat.ru//srcimg/MG1-42-16062633.jpg??H=100&W=100&CW=100&CH=50);height:50px;width:100px;repeat:no-repeat; ">     </a>   </td>    <td valign="top">     <a target="_blank"'; document.write(str);

 str=' class="myoffer" href="http://exat.ru/touronline/tour.php?tpid=3756327749_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Лутраки       <span class="price">756€</span>       в STANDARD ROOM, c&nbsp;01.04.2012 на &nbsp;8 дней, отель '; document.write(str);

 str=' <span>«POSSIDONION»</span>&nbsp; 4*     </a>   </td> </tr>																																																											 <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=3756327541_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/Hotels/3v90baa5fa9112410bb8c5f896782cd2afc841759e6694b8bf/recep[1].jpg?W=100?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=3756327541_0&amp;client_id=3v90baa5fa9112410b26098bdadacffca03020a5ff7d0f6cdb">       Греция / Лутраки       <span class="price">803€</span>       в STANDARD ROOM, c&nbsp;01.04.2012 на &nbsp;8 дней, отель  <span>«BAKOS»</span>&nbsp; 3*     </a>  '; document.write(str);

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




