var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925088&docid=68021905&x=4644',
		'title': '',
		'imageId': '68021905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925088&docid=68021913&x=4644',
		'title': '',
		'imageId': '68021913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925088&docid=68021911&x=4644',
		'title': '',
		'imageId': '68021911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925088&docid=68021912&x=4644',
		'title': '',
		'imageId': '68021912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925088&docid=68021909&x=4644',
		'title': '',
		'imageId': '68021909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925088&docid=68021906&x=4644',
		'title': '',
		'imageId': '68021906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925088&docid=68021907&x=4644',
		'title': '',
		'imageId': '68021907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925088&docid=68021908&x=4644',
		'title': '',
		'imageId': '68021908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925088&docid=68021914&x=4644',
		'title': '',
		'imageId': '68021914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925088&docid=68021910&x=4644',
		'title': '',
		'imageId': '68021910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925088';

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