var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936972&docid=68019615&x=4859',
		'title': '',
		'imageId': '68019615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936972&docid=68019528&x=4859',
		'title': '',
		'imageId': '68019528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936972&docid=68019537&x=4859',
		'title': '',
		'imageId': '68019537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936972&docid=68019605&x=4859',
		'title': '',
		'imageId': '68019605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936972&docid=68019543&x=4859',
		'title': '',
		'imageId': '68019543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936972&docid=68019561&x=4859',
		'title': '',
		'imageId': '68019561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936972&docid=68019558&x=4859',
		'title': '',
		'imageId': '68019558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936972&docid=68019552&x=4859',
		'title': '',
		'imageId': '68019552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936972&docid=68019564&x=4859',
		'title': '',
		'imageId': '68019564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936972&docid=68019601&x=4859',
		'title': '',
		'imageId': '68019601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936972&docid=68019597&x=4859',
		'title': '',
		'imageId': '68019597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936972';

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