var domainsTocurrencies = {
'site.ru': 'RUB',
'site.kz': 'KZT'
}
var currencyCode = domainsTocurrencies[window.location.hostname];
var cookieCounter = Cookies.get('disable_banner');
if (cookieCounter && cookieCounter < 3) {
/* Показываем блок */
cookieCounter++;
Cookies.set('disable_banner', cookieCounter, { expires: 365 });
} else {
Cookies.set('disable_banner', 0, { expires: 365 });
}
<script type='text/javascript'>
<?php
$arr = Array ( [0] => 1305 [1] => 1306 [2] => 1307 );
echo "var pr = " . json_encode($arr) . ";";
?>
</script>
var myTable = $('#mytable').tableRange(7, 11)
myTable.removeSelection()
, например