var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966800&docid=68971127&x=5550',
		'title': '',
		'imageId': '68971127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966800&docid=68971128&x=5550',
		'title': '',
		'imageId': '68971128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966800&docid=68971118&x=5550',
		'title': '',
		'imageId': '68971118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966800&docid=68971120&x=5550',
		'title': '',
		'imageId': '68971120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966800&docid=68971124&x=5550',
		'title': '',
		'imageId': '68971124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966800&docid=68971123&x=5550',
		'title': '',
		'imageId': '68971123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966800&docid=68971119&x=5550',
		'title': '',
		'imageId': '68971119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966800&docid=68971122&x=5550',
		'title': '',
		'imageId': '68971122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966800&docid=68971126&x=5550',
		'title': '',
		'imageId': '68971126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966800&docid=68966534&x=5550',
		'title': '',
		'imageId': '68966534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966800';

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