//<![CDATA[

function detectDate() {

	// 14 декабря, пятница

	var cur = new Date();

	var monthes = ["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"];

	var weekdays = ["", "понедельник","вторник","среда","четверг","пятница","суббота","воскресенье"];

	var out = cur.getDate() + " ";

	out += monthes[cur.getMonth()];

// + ", ";

//	out += weekdays[cur.getDay()];

	return out;

}





var torg_pos=1;

function torg_cell(inc)

	{

		torg_pos+=inc;

		if(torg_pos<1) torg_pos++;

		if(!document.getElementById('trgcl_t'+(torg_pos+2))) torg_pos--;

		var tlc_on=document.getElementById('trg_left_ctrl_on');

		var tlc_off=document.getElementById('trg_left_ctrl_off');

		var trc_on=document.getElementById('trg_right_ctrl_on');

		var trc_off=document.getElementById('trg_right_ctrl_off');



		if(!document.getElementById('trgcl_t'+(torg_pos-1))) {tlc_on.className="off"; tlc_off.className="";}

		else {tlc_on.className=""; tlc_off.className="off";}

		if(!document.getElementById('trgcl_t'+(torg_pos+3))) {trc_on.className="off"; trc_off.className="";}

		else {trc_on.className=""; trc_off.className="off";}

		for(var i=1;;i++)

		{

			var o_t=document.getElementById('trgcl_t'+i);

			var o_m=document.getElementById('trgcl_m'+i);

			var o_b=document.getElementById('trgcl_b'+i);

			if(!o_t) break;

			if(i>=torg_pos && i<=torg_pos+2) {o_t.className="c"; o_m.className="c"; o_b.className="c";}

			else {o_t.className="c off"; o_m.className="c off"; o_b.className="c off";}

		}

		return false;

	}





var PMoveObjects = {};

function getPMove(id) {

	if (typeof(PMoveObjects[id]) == "undefined") {

		PMoveObjects[id] = new PMove(id);

	}

	return PMoveObjects[id];

}



function PMove(id) {

	this.id = id;

	this.previewWidth = false;

	this.previewHeight = false;

	this.marginLeft = false;

	this.scriptURL = "";

	this.initFlag = 0;

	

	this._container = "cont_";

	this._leftAngle = "left_";

	this._rightAngle = "right_";

	

	this.defaultArray = [];

	this.curPos = 0;

	this.isRight = 0;

	this.isLeft = 0;

	this.extra = 4;

	

	this.container = null;

	this.leftAngle = null;

	this.rightAngle = null;

	

	this.init = function(w, h, m, e, u, d) {

		var ua = navigator.userAgent.toLowerCase();

		if (ua.indexOf("netscape") != -1) {

			var NNversion = parseFloat(ua.substring(ua.indexOf("netscape") + 9, ua.length));

			if (NNversion < 8) return;

		}

		if (ua.indexOf("gecko") != -1 && ua.indexOf("netscape") == -1 && ua.indexOf("firefox") == -1) {

			var mozVersion = parseFloat(ua.substring(ua.indexOf("rv:") + 3, ua.length));

			if (mozVersion <= 1.5) return;

		}

		if (ua.indexOf("gecko") != -1 && ua.indexOf("firefox") != -1) {

			var ffVersion = parseFloat(ua.substring(ua.indexOf("firefox/") + 8, ua.length));

			if (ffVersion >= 3) return;

		}

		if (ua.indexOf("khtml") != -1) return;

		if (

			typeof w == "undefined" ||

			typeof h == "undefined" ||

			typeof m == "undefined" ||

			typeof u == "undefined" ||

			typeof d == "undefined"

		) return;

		

		this.previewWidth = w;

		this.previewHeight = h;

		this.marginLeft = m;

		this.extra = e;

		this.scriptURL = u;

		this.defaultArray = d;

		

		this.container = this.gebi(this._container + this.id);

		if (this.container == null) {

			// Error. Do nothing

			return;

		}

		this.leftAngle = this.gebi(this._leftAngle + this.id);

		if (this.leftAngle == null) {

			// Error. Do nothing

			return;

		}

		this.rightAngle = this.gebi(this._rightAngle + this.id);

		if (this.rightAngle == null) {

			// Error. Do nothing

			return;

		}

		if (this.defaultArray.length > 1) {

			var html = "";

			for (var i = 0; i < this.defaultArray.length; i++) {

				this.newImg(this.defaultArray[i][1]);

				html += "<a href=\"" + this.defaultArray[i][0] + "\"><img src=\"" + this.defaultArray[i][1] + "\"" + (this.previewWidth ? " width=\"" + this.previewWidth + "\"" : "") + (this.previewHeight ? " height=\"" + this.previewHeight + "\"" : "") + " alt=\"\" /></a>";

			}

			this.container.innerHTML = html;

			this.drawAngles();

			this.initFlag = 1;

		} else {

			// Error. Do nothing

			return;

		}

	}

}



PMove.prototype = {

	// ----------- Default -----------

	gebi : function(id) {

		return document.getElementById(id);

	},

	newImg : function(path) {

		var image = new Image();

		image.src = path;

		return image;

	},

	// ----------- Funcs -----------

	showNext : function(side) {

		if (side == "right") this.curPos++;

		else this.curPos--;

		if (this.curPos < 0) this.curPos = 0;

		

		this.container.style.marginLeft = ((-1) * this.curPos * (this.previewWidth + this.marginLeft)) + "px";

		this.drawAngles();

		return false;

	},

	drawAngles : function() {

		this.define();

		var i = a = img = 0, node, nodes = {};

		for (i = 0; i < this.leftAngle.childNodes.length; i++) {

			node = this.leftAngle.childNodes[i];

			if (node.nodeType != 1) continue;

			nodes[node.nodeName.toLowerCase()] = node;

		}

		if (typeof nodes["a"] != "undefined" && typeof nodes["img"] != "undefined") {

			nodes["a"].style.display = this.isLeft ? "" : "none";

			nodes["img"].style.display = this.isLeft ? "none" : "";

			if (!this.initFlag) nodes["img"].style.backgroundColor = "#D9D9D9";

		}

		for (i = 0; i < this.rightAngle.childNodes.length; i++) {

			node = this.rightAngle.childNodes[i];

			if (node.nodeType != 1) continue;

			nodes[node.nodeName.toLowerCase()] = node;

		}

		if (typeof nodes["a"] != "undefined" && typeof nodes["img"] != "undefined") {

			nodes["a"].style.display = this.isRight ? "" : "none";

			nodes["img"].style.display = this.isRight ? "none" : "";

			if (!this.initFlag) nodes["img"].style.backgroundColor = "#D9D9D9";

		}

		this.loadPreview();

	},

	define : function() {

		this.isLeft = this.curPos ? true : false;

		this.isRight = this.curPos + this.extra < this.defaultArray.length ? true : false;

	},

	loadPreview : function() {

  	if (this.defaultArray.length - this.curPos < this.extra * 2) {

      // * 2

      var len = this.defaultArray.length;

       for (i = 0; i < len; i++) {

        this.defaultArray[len + i] = this.defaultArray[i];

        this.container.innerHTML += "<a href=\"" + this.defaultArray[i][0] + "\"><img src=\"" + this.defaultArray[i][1] + "\"" + (this.previewWidth ? " width=\"" + this.previewWidth + "\"" : "") + (this.previewHeight ? " height=\"" + this.previewHeight + "\"" : "") + " alt=\"\" /></a>";

      }

    }

		/*if (this.defaultArray.length - this.curPos < this.extra * 2) {

			var _this = this;

			setAjaxRequest(

				"GET", 

				this.scriptURL + "?rand=" + Math.random(), 

				"rand=" + Math.random(), 

				function() {

					var ans = this.req.responseText;

					ans = ans.split("||");

					if (ans.length == 2) {

						_this.newImg(ans[1]);

						_this.defaultArray.push([ans[0], ans[1]]);

						_this.container.innerHTML += "<a href=\"" + ans[0] + "\"><img src=\"" + ans[1] + "\"" + (_this.previewWidth ? " width=\"" + _this.previewWidth + "\"" : "") + (_this.previewHeight ? " height=\"" + _this.previewHeight + "\"" : "") + " alt=\"\" /></a>";

						_this.drawAngles();

					}

				}, 

				function() {

					// Error. Do nothing.

				}, 

				0, 0

			);

		}*/

	}

}

//]]>

var geneva_pos=1;

function geneva_cell(inc) {
geneva_pos+=inc;
if(geneva_pos<1) geneva_pos++;
var tlc_on=document.getElementById('geneva_left_ctrl_on');
var tlc_off=document.getElementById('geneva_left_ctrl_off');
var trc_on=document.getElementById('geneva_right_ctrl_on');
var trc_off=document.getElementById('geneva_right_ctrl_off');

if(!document.getElementById('geneva_cl_m'+(geneva_pos-1))) {tlc_on.className="off"; tlc_off.className="";}
else {tlc_on.className=""; tlc_off.className="off";}

if(!document.getElementById('geneva_cl_m'+(geneva_pos+3))) {trc_on.className="off"; trc_off.className="";}
else {trc_on.className=""; trc_off.className="off";}

for(var i=1;;i++) {
var o_m=document.getElementById('geneva_cl_m'+i);
var o_b=document.getElementById('geneva_cl_b'+i);
if(!o_m) break;

if(i>=geneva_pos && i<=geneva_pos+2) {
o_m.className="c";
o_b.className="c";
} else {
o_m.className="c off";
o_b.className="c off";
}
}
return false;
} 

var geneva_pos = 1;

function geneva_cell_2(inc) {
geneva_pos += inc;
if (geneva_pos < 1) geneva_pos++;
var tlc_on = document.getElementById('geneva_left_ctrl_on');
var tlc_off = document.getElementById('geneva_left_ctrl_off');
var trc_on = document.getElementById('geneva_right_ctrl_on');
var trc_off = document.getElementById('geneva_right_ctrl_off');

if (!document.getElementById('geneva_cl_m'+(geneva_pos-1))) {
tlc_on.className = "off";
tlc_off.className = "";
} else {
tlc_on.className = "";
tlc_off.className = "off";
}

if (!document.getElementById('geneva_cl_m'+(geneva_pos+1))) {
trc_on.className = "off";
trc_off.className = "";
} else {
trc_on.className = "";
trc_off.className = "off";
}

for (var i=1; ; i++) {
var o_m = document.getElementById('geneva_cl_m'+i);
if (!o_m) break;

if (i == geneva_pos)
o_m.className = "";
else
o_m.className = "off";
}
return false;
} 





















/* ______________ код для линейки превью на главной морде v2 ______________*/
// Сокращаем запись document.getElementById
function gebi(obj) { return document.getElementById(obj); }

var PMoveObjects_photo_new = {};
function getPMove_photo_new(id) {
	if (typeof(PMoveObjects_photo_new[id]) == "undefined") {
		PMoveObjects_photo_new[id] = new PMove_photo_new(id);
	}
	return PMoveObjects_photo_new[id];
}

function PMove_photo_new(id) {
	this.id = id;
	this.previewWidth = false;
	this.previewHeight = false;
	this.containerWidth = 0;
	this.containerWidthMin = 300;
	this.previewCount  = 0;
	
	this.marginLeft = false;
	this.scriptURL = "";
	this.xmlEnable = false;
	this.initFlag = 0;
	this.nameItemEnable = false;
	
	this._container = "cont_";
	this._leftAngle = "left_";
	this._rightAngle = "right_";
	
	this.defaultArray = [];
	this.casheImages = [];
	this.curPos = 0;
	this.isRight = 0;
	this.isLeft = 0;
	
	this.container = null;
	this.leftAngle = null;
	this.rightAngle = null;
	
	// Scroll
	this.initTimeout = 200;
	this.stepTimeout = 200;
	this.stepDirection = "";

	this.init = function(w, h, m, e, u, d) {
		if (
			typeof w == "undefined" ||
			typeof h == "undefined" ||
			typeof m == "undefined" ||
			typeof u == "undefined" ||
			typeof d == "undefined"
		) return;
		this.previewWidth = w;
		this.previewHeight = h;
		this.marginLeft = m;
		this.scriptURL = u;
		this.defaultArray = d;
		this.container = this.gebi(this._container + this.id);
		if (this.container == null) {
			// Error. Do nothing
			return;
		}
		this.leftAngle = this.gebi(this._leftAngle + this.id);
		if (this.leftAngle == null) {
			// Error. Do nothing
			return;
		}
		this.rightAngle = this.gebi(this._rightAngle + this.id);
		if (this.rightAngle == null) {
			// Error. Do nothing
			return;
		}
		if (this.defaultArray.length >= 1) {
			// Mix preview
			this.mixPreview();
			// Draw preview & angles
			this.drawPreview();
			this.drawAngles();
			// Add rezize-event handler
			var id = this.id;
			this.addHandler(
				window,
				"resize",
				function() {
					try {getPMove_photo_new(id).drawPreview();} catch(e) {}
				}
			);
			this.addHandler(
				document, 
				"mouseup", 
				function() {getPMove_photo_new(id).mouseUpHandler()}
			);
			this.addHandler(this.leftAngle, "mousedown", function(evt) {
				evt = evt || window.event;
				if (evt.preventDefault) evt.preventDefault();
			});
			this.addHandler(this.rightAngle, "mousedown", function(evt) {
				evt = evt || window.event;
				if (evt.preventDefault) evt.preventDefault();
			});
			this.addHandler(this.leftAngle, "dragstart", function() {return false;});
			this.addHandler(this.rightAngle, "dragstart", function() {return false;});
			this.initFlag = 1;
		} else {
			// Error. Do nothing
			return;
		}
	}
}

var stepTimer = {};
PMove_photo_new.prototype = {
	// ----------- Default -----------
	gebi : function(id) {
		return document.getElementById(id);
	},
	newImg : function(path) {
		var image = new Image();
		image.src = path;
		return image;
	},
	addHandler : function(object, event, handler, useCapture) { 
		if (object.addEventListener) { 
			object.addEventListener(event, handler, useCapture ? useCapture : false); 
		} else if (object.attachEvent) { 
			object.attachEvent('on' + event, handler); 
		} 
	},
	screenSize : function() { 
		var w, h;
		w = (window.innerWidth ? window.innerWidth : (document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.offsetWidth)); 
		h = (window.innerHeight ? window.innerHeight : (document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.offsetHeight)); 
		return {w:w, h:h}; 
	},
	// ----------- Funcs -----------
	scrollInit : function(order) {
		if (this.xmlEnable) this.ajaxLoad();
		this.stepDirection = order;
		var id = this.id;
		if (stepTimer[id] == null || typeof stepTimer[id] == "undefined")
		stepTimer[id] = setInterval("getPMove_photo_new('" + id + "').scrollRepeat()", 100);
	},
	scrollRepeat : function() {
		this.showNext(this.stepDirection);
		var id = this.id;
		if (typeof stepTimer[id] == "undefined" || stepTimer[id] != null) {
			clearInterval(stepTimer[id]);
			stepTimer[id] = null;
			stepTimer[id] = setInterval("getPMove_photo_new('" + id + "').scrollRepeat()", this.stepTimeout);
		}
	},
	mouseUpHandler : function() {
		var id = this.id;
		if (typeof stepTimer[id] == "undefined" || stepTimer[id] == null) return;
		clearInterval(stepTimer[id]);
		stepTimer[id] = null;
		this.showNext(this.stepDirection);
	},
	mixPreview : function() {
		if (this.defaultArray.length > 1) {
			var randKey = 0;
			var bufer = [];
			for (i = 0; i <= 3; i++) {
				randKey = parseInt(Math.random() * this.defaultArray.length);
				if (typeof this.defaultArray[i] == "undefined") continue;
				bufer = this.defaultArray[i];
				this.defaultArray[i] = this.defaultArray[randKey];
				this.defaultArray[randKey] = bufer;
			}
		}
	},
	drawNameItem : function(valueNameItem, urlNameItem) {
		if (this.nameItemEnable) {
			var nameItem = '' +
				'<div class="nameItem">' +
					'<div><span></span></div>' +
					'<div class="bodyNameItem"><a href="' + urlNameItem + '" title="' + valueNameItem + '">' + valueNameItem + '</a></div>' +
					'<div><span></span></div>' +
				'</div>';
		} else {
			var nameItem = '';
		}
		return nameItem;
	},
	drawPreview : function() {
		this.containerWidthDetect();
		var html = [];
		try {
			html[html.length] = '<table><tr>';
			var j;
			for (i = 0; i < this.previewCount; i++) {
				j = (this.curPos + i) % this.defaultArray.length;
				this.casheImages[j] = this.newImg(this.defaultArray[j][1]);

				if (!(document.all && !window.opera && parseInt(/msie\s([^;]+)/i.exec(navigator.appVersion)[1]) <= 6)) {
					var watermark_src = 'http://img.mail.ru/r/watermark_80.png';
				} else {
					var watermark_src = 'http://img.mail.ru/0.gif';
				}

				// nazvaniya klipov pod prev'yu v golubyh boksah
				//var bodyNameItem = '' + this.drawNameItem(this.defaultArray[j][2], this.defaultArray[j][0]);
				var nameItem = (this.nameItemEnable && (this.defaultArray[j][2] != undefined)) ? this.defaultArray[j][2] : '';
				if (this.id == 'video') {
					var preview_unit = '<td><div class="first"><img id="preview_' + this.id + i + '_Id" class="preview_video" src="' + this.defaultArray[j][1] + '"' + (this.previewWidth ? ' width="' + this.previewWidth + '"' : '') + (this.previewHeight ? ' height="' + this.previewHeight + '"' : '') + ' alt="" /><div class="second"><a href="' + this.defaultArray[j][0] + '" title="' + nameItem + '"><img src="' + watermark_src + '" width="80" height="60" alt="' + nameItem + '" class="watermark" /></a></div></div></td>';
					// nazvaniya klipov pod prev'yu v golubyh boksah
					//</div>' + bodyNameItem + '</div></td>
				}
				else if(this.id=='blogs') {
					var preview_unit = '<td><a href="' + this.defaultArray[j][0] + '"';
					if(typeof this.defaultArray[j][2] == "object") {
						for(var k in this.defaultArray[j][2]) {
							if(this.defaultArray[j][2].hasOwnProperty(k)) preview_unit += ' '+k+'="'+this.defaultArray[j][2][k]+'"';
						}
					}
					preview_unit += '><img id="preview_' + this.id + i + '_Id" src="' + this.defaultArray[j][1] + '"' + (this.previewWidth ? ' width="' + this.previewWidth + '"' : '') + (this.previewHeight ? ' height="' + this.previewHeight + '"' : '') + ' alt="" /></a></td>';

				}
				else {
					var preview_unit = '<td><a href="' + this.defaultArray[j][0] + '" title="' + nameItem + '"><img id="preview_' + this.id + i + '_Id" src="' + this.defaultArray[j][1] + '"' + (this.previewWidth ? ' width="' + this.previewWidth + '"' : '') + (this.previewHeight ? ' height="' + this.previewHeight + '"' : '') + ' alt="' + nameItem + '" /></a></td>';
				}
				html[html.length] = preview_unit;
			}
			html[html.length] = '</tr></table>';
			html = html.join('');
		} catch (e) {
			// Error. Do nothing
			alert("Error");
			return;
		}
		this.container.innerHTML = html;
	},
	showPreview : function() {
		var j;
		for (i = 0; i < this.previewCount; i++)
		{
			var itemMain = this.gebi('preview_' + this.id + i + '_Id');

			j = (this.curPos + i) % this.defaultArray.length;
			itemMain.src = this.defaultArray[j][1];

			if (this.id == 'video') {
				itemMain.nextSibling.firstChild.href = this.defaultArray[j][0];
				if (this.nameItemEnable) {
					var nameItem = (this.nameItemEnable && (this.defaultArray[j][2] != undefined)) ? this.defaultArray[j][2] : '';
					itemMain.nextSibling.firstChild.title = nameItem;
					itemMain.nextSibling.firstChild.firstChild.alt = nameItem;
					/* nazvaniya klipov pod prev'yu v golubyh boksah
					itemMain.nextSibling.nextSibling.childNodes[1].firstChild.href = this.defaultArray[j][0];
					itemMain.nextSibling.nextSibling.childNodes[1].firstChild.title = this.defaultArray[j][2];
					itemMain.nextSibling.nextSibling.childNodes[1].firstChild.innerHTML = this.defaultArray[j][2];
					*/
				}
			}
			else if(this.id=='blogs') {
				itemMain.parentNode.href = this.defaultArray[j][0];
				if(typeof this.defaultArray[j][2] == "object") {
					for(var k in this.defaultArray[j][2]) {
						if(this.defaultArray[j][2].hasOwnProperty(k) && this.defaultArray[j][2][k]!='' && this.defaultArray[j][2][k].match(/^return/))
								eval("itemMain.parentNode."+k+"= function (event) { "+this.defaultArray[j][2][k]+" }");
						}
				}

			}
			else {itemMain.parentNode.href = this.defaultArray[j][0];}
		}
	},
	containerWidthDetect : function() {
		this.containerWidth = this.screenSize().w * 0.9 * 0.26;
		this.containerWidth = this.containerWidth < this.containerWidthMin ? this.containerWidthMin : this.containerWidth;
		this.previewCount = parseInt(this.containerWidth / (this.previewWidth + this.marginLeft));
	},
	showNext : function(side) {
		if (side == "right") this.curPos++;
		else this.curPos--;
		if (this.curPos < 0) this.curPos = this.defaultArray.length - 1;
		if (this.curPos > this.defaultArray.length - 1) this.curPos = 0;
		this.showPreview();
		this.drawAngles();
		if (side == "left" && !this.isLeft) {
			clearInterval(stepTimer[this.id]);
			stepTimer[this.id] = null;
		}
		return false;
	},
	drawAngles : function() {
		this.define();
		var i = a = img = 0, node, nodes = {};
		for (i = 0; i < this.leftAngle.childNodes.length; i++) {
			node = this.leftAngle.childNodes[i];
			if (node.nodeType != 1) continue;
			nodes[node.nodeName.toLowerCase()] = node;
		}
		if (typeof nodes["a"] != "undefined" && typeof nodes["img"] != "undefined") {
			nodes["a"].style.display = this.isLeft ? "" : "none";
			nodes["img"].style.display = this.isLeft ? "none" : "";
			if (!this.initFlag) nodes["img"].style.backgroundColor = "#D9D9D9";
		}
		for (i = 0; i < this.rightAngle.childNodes.length; i++) {
			node = this.rightAngle.childNodes[i];
			if (node.nodeType != 1) continue;
			nodes[node.nodeName.toLowerCase()] = node;
		}
		if (typeof nodes["a"] != "undefined" && typeof nodes["img"] != "undefined") {
			nodes["a"].style.display = this.isRight ? "" : "none";
			nodes["img"].style.display = this.isRight ? "none" : "";
			if (!this.initFlag) nodes["img"].style.backgroundColor = "#D9D9D9";
		}
		//this.loadPreview();
	},
	define : function() {
		/*
		//this.isLeft = this.curPos ? true : false;
		this.isLeft = true;
		this.isRight = true;
		*/
		this.isLeft = this.curPos ? true : false;
		this.isRight = true;
	},
	loadPreview : function() {
		if (this.casheImages.length != this.defaultArray.length) {
			for (i = 0; i < this.previewCount * 2; i++) {
				j = (this.curPos + i) % this.defaultArray.length;
				if (typeof this.casheImages[j] == "undefined") this.casheImages[j] = this.newImg(this.defaultArray[j][1]);
			}
		}
	},
	ajaxLoad : function() {
		var _this = this;
		this.scriptURL = (this.scriptURL.indexOf('http://') == -1) ? ('http://' + window.location.hostname + this.scriptURL) : this.scriptURL;
		//this.scriptURL = 'http://' + 'mail.ru' + this.scriptURL;//window.location.hostname
		//alert(this.nameItemEnable);
		ajax_call_static(
			this.scriptURL,
			function(arr) {
				var item = new Array();
				var str = '';
				if (arr.length) {
					for (var i = 0; i < arr.length; i++) {
						if (arr[i]["PhotoName"] != 'undefined') {
							try
							{// if contain &#8470;, for conversion to №
								var result = arr[i]["PhotoName"].match(/&#\d+;/g);
								if (result != null) {
									for (var j = 0; j < result.length; j++) {
										result[j] = result[j].replace(/[&#;]/g, '');
										arr[i]["PhotoName"] = arr[i]["PhotoName"].replace(/&#\d+;/g, String.fromCharCode(result[j]));
									}
								}
							} catch(e) {}

							item = [arr[i]["url"], arr[i]["prevurl"], arr[i]["PhotoName"]];//
						}
						else item = [arr[i]["url"], arr[i]["prevurl"]];

						_this.defaultArray[_this.defaultArray.length] = item;
					}
				}
			}
		);
		this.xmlEnable = false;
	}
}

/* ______________ код для линейки превью на главной морде v2 ______________*/

/* Учёт кликов по стрелочкам полосок */
function AccountingClicks(id) {
	var img = new Image();
	img.src = 'http://r.mail.ru/d' + id + '_1.gif?' + parseInt(Math.random()*100000);
}
