var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708403&x=448',
		'title': '',
		'imageId': '66708403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708416&x=448',
		'title': '',
		'imageId': '66708416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708421&x=448',
		'title': '',
		'imageId': '66708421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708415&x=448',
		'title': 'LEATHER SEATS',
		'imageId': '66708415',
		'alt' : 'LEATHER SEATS',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708417&x=448',
		'title': '',
		'imageId': '66708417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708412&x=448',
		'title': '',
		'imageId': '66708412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708420&x=448',
		'title': 'ODOMETER READS - 62024 MILES',
		'imageId': '66708420',
		'alt' : 'ODOMETER READS - 62024 MILES',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708404&x=448',
		'title': '',
		'imageId': '66708404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708406&x=448',
		'title': '',
		'imageId': '66708406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708409&x=448',
		'title': '',
		'imageId': '66708409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708419&x=448',
		'title': '',
		'imageId': '66708419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708407&x=448',
		'title': '',
		'imageId': '66708407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708410&x=448',
		'title': '',
		'imageId': '66708410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708418&x=448',
		'title': '',
		'imageId': '66708418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708413&x=448',
		'title': '',
		'imageId': '66708413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708414&x=448',
		'title': '',
		'imageId': '66708414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872772&docid=66708408&x=448',
		'title': '',
		'imageId': '66708408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3872772';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
