var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932277&docid=68183119&x=4432',
		'title': '',
		'imageId': '68183119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932277&docid=68183117&x=4432',
		'title': '',
		'imageId': '68183117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932277&docid=68183116&x=4432',
		'title': '',
		'imageId': '68183116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932277&docid=68183121&x=4432',
		'title': '',
		'imageId': '68183121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932277&docid=68183120&x=4432',
		'title': '',
		'imageId': '68183120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932277&docid=68183122&x=4432',
		'title': '',
		'imageId': '68183122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932277&docid=68183118&x=4432',
		'title': '',
		'imageId': '68183118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932277&docid=68183125&x=4432',
		'title': '',
		'imageId': '68183125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932277&docid=68183124&x=4432',
		'title': '',
		'imageId': '68183124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932277&docid=68183123&x=4432',
		'title': '',
		'imageId': '68183123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932277&docid=68183126&x=4432',
		'title': '',
		'imageId': '68183126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932277';

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