var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938261&docid=68324858&x=4046',
		'title': '',
		'imageId': '68324858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938261&docid=68324860&x=4046',
		'title': '',
		'imageId': '68324860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938261&docid=68324861&x=4046',
		'title': '',
		'imageId': '68324861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938261&docid=68324862&x=4046',
		'title': '',
		'imageId': '68324862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938261&docid=68324863&x=4046',
		'title': '',
		'imageId': '68324863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938261&docid=68324864&x=4046',
		'title': '',
		'imageId': '68324864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938261&docid=68324865&x=4046',
		'title': '',
		'imageId': '68324865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938261&docid=68324869&x=4046',
		'title': '',
		'imageId': '68324869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938261&docid=68324866&x=4046',
		'title': '',
		'imageId': '68324866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938261&docid=68324867&x=4046',
		'title': '',
		'imageId': '68324867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938261&docid=68324868&x=4046',
		'title': '',
		'imageId': '68324868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938261';

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