var moveLine = {
	mainElement: null,
	collectionPathImg: new Array(),
	collectionElements: new Array(),
	cloneBlocks: new Array(),
	widthSection: null,
	initElement: function (elem, arr) {
		this.mainElement = elem;
		this.collectionPathImg = arr;
		if ( !this.mainElement || !this.collectionPathImg){
			alert('moveLine ERROR');
		}else{
			this.moveBlock();
		}
	},
	moveBlock: function (){
		$(moveLine.mainElement).css("left", "0px");
		$(moveLine.mainElement).animate({left: "-1000px"}, 50000, 'linear', moveLine.moveBlock);
	}
}

var moveLineh = {
	mainElement: null,
	collectionPathImg: new Array(),
	collectionElements: new Array(),
	cloneBlocks: new Array(),
	widthSection: null,
	initElement: function (elem, arr) {
		this.mainElement = elem;
		this.collectionPathImg = arr;
		if ( !this.mainElement || !this.collectionPathImg){
			alert('moveLine ERROR');
		}else{
			this.moveBlock();
		}
	},
	moveBlock: function (){
		$(moveLine.mainElement).css("left", "0px");
		$(moveLine.mainElement).animate({left: "-1000px"}, 20000, 'linear', moveLine.moveBlock);
	}
}

var movePrice = {
	mainElement: null,
	collectionPathImg: new Array(),
	collectionElements: new Array(),
	cloneBlocks: new Array(),
	widthSection: null,
	initElement: function (elem, arr) {
		this.mainElement = elem;
		this.collectionPathImg = arr;
		if ( !this.mainElement || !this.collectionPathImg){
			alert('moveLine ERROR');
		}else{
			this.moveBlock();
		}
	},
	moveBlock: function (){
		$(movePrice.mainElement).css("left", "0px");
		$(movePrice.mainElement).animate({left: "-2136px"}, 30000, 'linear', movePrice.moveBlock);
	}
}

$(document).ready(function(){
	$('dl.toggleDl dd').hide();
	$('dl.toggleDl dt strong').click(function(){$(this).parent().next('dd').toggle('fast')});
});