var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3940803&docid=68380954&x=036',
		'title': '',
		'imageId': '68380954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940803&docid=68380955&x=036',
		'title': '',
		'imageId': '68380955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940803&docid=68380956&x=036',
		'title': '',
		'imageId': '68380956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940803&docid=68380961&x=036',
		'title': '',
		'imageId': '68380961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940803&docid=68380967&x=036',
		'title': '',
		'imageId': '68380967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940803&docid=68380968&x=036',
		'title': '',
		'imageId': '68380968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940803&docid=68380962&x=036',
		'title': '',
		'imageId': '68380962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940803&docid=68380971&x=036',
		'title': '',
		'imageId': '68380971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940803&docid=68380978&x=036',
		'title': '',
		'imageId': '68380978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940803&docid=68380953&x=036',
		'title': '',
		'imageId': '68380953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3940803';

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