var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964386&docid=68916241&x=3937',
		'title': '',
		'imageId': '68916241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964386&docid=68916244&x=3937',
		'title': '',
		'imageId': '68916244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964386&docid=68916247&x=3937',
		'title': '',
		'imageId': '68916247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964386&docid=68916250&x=3937',
		'title': '',
		'imageId': '68916250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964386&docid=68916253&x=3937',
		'title': '',
		'imageId': '68916253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964386&docid=68916258&x=3937',
		'title': '',
		'imageId': '68916258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964386&docid=68916262&x=3937',
		'title': '',
		'imageId': '68916262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964386&docid=68916267&x=3937',
		'title': '',
		'imageId': '68916267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964386&docid=68916270&x=3937',
		'title': '',
		'imageId': '68916270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964386&docid=68916273&x=3937',
		'title': '',
		'imageId': '68916273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964386&docid=68916276&x=3937',
		'title': '',
		'imageId': '68916276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964386';

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