var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946051&x=820',
		'title': '',
		'imageId': '68946051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946061&x=820',
		'title': '',
		'imageId': '68946061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946052&x=820',
		'title': '',
		'imageId': '68946052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946062&x=820',
		'title': '',
		'imageId': '68946062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946058&x=820',
		'title': '',
		'imageId': '68946058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946057&x=820',
		'title': '',
		'imageId': '68946057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946059&x=820',
		'title': '',
		'imageId': '68946059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946056&x=820',
		'title': '',
		'imageId': '68946056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946055&x=820',
		'title': '',
		'imageId': '68946055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946053&x=820',
		'title': '',
		'imageId': '68946053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946060&x=820',
		'title': '',
		'imageId': '68946060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974407&docid=68946054&x=820',
		'title': '',
		'imageId': '68946054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974407';

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";
	})
}
