var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910584&docid=67652828&x=715',
		'title': '',
		'imageId': '67652828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910584&docid=67652827&x=715',
		'title': '',
		'imageId': '67652827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910584&docid=67652831&x=715',
		'title': '',
		'imageId': '67652831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910584&docid=67652829&x=715',
		'title': '',
		'imageId': '67652829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910584&docid=67652832&x=715',
		'title': '',
		'imageId': '67652832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910584&docid=67652833&x=715',
		'title': '',
		'imageId': '67652833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910584&docid=67652835&x=715',
		'title': '',
		'imageId': '67652835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910584&docid=67652834&x=715',
		'title': '',
		'imageId': '67652834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910584&docid=67652837&x=715',
		'title': '',
		'imageId': '67652837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910584&docid=67652836&x=715',
		'title': '',
		'imageId': '67652836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910584&docid=67652838&x=715',
		'title': '',
		'imageId': '67652838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910584';

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