var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931536&docid=68158401&x=5941',
		'title': '',
		'imageId': '68158401',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931536&docid=68158407&x=5941',
		'title': '',
		'imageId': '68158407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931536&docid=68158409&x=5941',
		'title': '',
		'imageId': '68158409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931536&docid=68158402&x=5941',
		'title': '',
		'imageId': '68158402',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931536&docid=68158406&x=5941',
		'title': '',
		'imageId': '68158406',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931536&docid=68158400&x=5941',
		'title': '',
		'imageId': '68158400',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931536&docid=68158404&x=5941',
		'title': '',
		'imageId': '68158404',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931536&docid=68158403&x=5941',
		'title': '',
		'imageId': '68158403',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931536&docid=68158405&x=5941',
		'title': '',
		'imageId': '68158405',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931536&docid=68158408&x=5941',
		'title': '',
		'imageId': '68158408',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931536&docid=68158431&x=5941',
		'title': '',
		'imageId': '68158431',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931536';

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