var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114126&x=5534',
		'title': '',
		'imageId': '68114126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114127&x=5534',
		'title': '',
		'imageId': '68114127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114128&x=5534',
		'title': '',
		'imageId': '68114128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114129&x=5534',
		'title': '',
		'imageId': '68114129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114130&x=5534',
		'title': '',
		'imageId': '68114130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114131&x=5534',
		'title': '',
		'imageId': '68114131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114132&x=5534',
		'title': '',
		'imageId': '68114132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114133&x=5534',
		'title': '',
		'imageId': '68114133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114134&x=5534',
		'title': '',
		'imageId': '68114134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114135&x=5534',
		'title': '',
		'imageId': '68114135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114136&x=5534',
		'title': '',
		'imageId': '68114136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929255&docid=68114137&x=5534',
		'title': '',
		'imageId': '68114137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929255';

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