var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978775&docid=68785371&x=5230',
		'title': '',
		'imageId': '68785371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978775&docid=68785375&x=5230',
		'title': '',
		'imageId': '68785375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978775&docid=68785373&x=5230',
		'title': '',
		'imageId': '68785373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978775&docid=68785376&x=5230',
		'title': '',
		'imageId': '68785376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978775&docid=68785372&x=5230',
		'title': '',
		'imageId': '68785372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978775&docid=68785370&x=5230',
		'title': '',
		'imageId': '68785370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978775&docid=68785369&x=5230',
		'title': '',
		'imageId': '68785369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978775&docid=68785374&x=5230',
		'title': '',
		'imageId': '68785374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978775&docid=68785368&x=5230',
		'title': '',
		'imageId': '68785368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978775&docid=68785378&x=5230',
		'title': '',
		'imageId': '68785378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978775&docid=68785377&x=5230',
		'title': '',
		'imageId': '68785377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978775';

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