var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999077&docid=69685737&x=93',
		'title': '',
		'imageId': '69685737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999077&docid=69685738&x=93',
		'title': '',
		'imageId': '69685738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999077&docid=69685732&x=93',
		'title': '',
		'imageId': '69685732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999077&docid=69685735&x=93',
		'title': '',
		'imageId': '69685735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999077&docid=69685736&x=93',
		'title': '',
		'imageId': '69685736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999077&docid=69685733&x=93',
		'title': '',
		'imageId': '69685733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999077&docid=69685731&x=93',
		'title': '',
		'imageId': '69685731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999077&docid=69685734&x=93',
		'title': '',
		'imageId': '69685734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999077';

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