var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3941409&docid=68397064&x=825',
		'title': '',
		'imageId': '68397064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941409&docid=68397065&x=825',
		'title': '',
		'imageId': '68397065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941409&docid=68397066&x=825',
		'title': '',
		'imageId': '68397066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941409&docid=68397067&x=825',
		'title': '',
		'imageId': '68397067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941409&docid=68397068&x=825',
		'title': '',
		'imageId': '68397068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941409&docid=68397069&x=825',
		'title': '',
		'imageId': '68397069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941409&docid=68397070&x=825',
		'title': '',
		'imageId': '68397070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941409&docid=68397071&x=825',
		'title': '',
		'imageId': '68397071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941409&docid=68397072&x=825',
		'title': '',
		'imageId': '68397072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941409&docid=68397073&x=825',
		'title': '',
		'imageId': '68397073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3941409';

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