var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952538&docid=68641337&x=5714',
		'title': '',
		'imageId': '68641337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952538&docid=68641338&x=5714',
		'title': '',
		'imageId': '68641338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952538&docid=68641339&x=5714',
		'title': '',
		'imageId': '68641339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952538&docid=68641340&x=5714',
		'title': '',
		'imageId': '68641340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952538&docid=68641341&x=5714',
		'title': '',
		'imageId': '68641341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952538&docid=68641342&x=5714',
		'title': '',
		'imageId': '68641342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952538&docid=68641345&x=5714',
		'title': '',
		'imageId': '68641345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952538';

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