var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3911934&docid=67685733&x=5956',
		'title': '',
		'imageId': '67685733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911934&docid=67685734&x=5956',
		'title': '',
		'imageId': '67685734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911934&docid=67685735&x=5956',
		'title': '',
		'imageId': '67685735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911934&docid=67685736&x=5956',
		'title': '',
		'imageId': '67685736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911934&docid=67685737&x=5956',
		'title': '',
		'imageId': '67685737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911934&docid=67685738&x=5956',
		'title': '',
		'imageId': '67685738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911934&docid=67685739&x=5956',
		'title': '',
		'imageId': '67685739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3911934';

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