var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002023&docid=69764087&x=5324',
		'title': '',
		'imageId': '69764087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002023&docid=69764088&x=5324',
		'title': '',
		'imageId': '69764088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002023&docid=69764089&x=5324',
		'title': '',
		'imageId': '69764089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002023&docid=69764090&x=5324',
		'title': '',
		'imageId': '69764090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002023&docid=69764086&x=5324',
		'title': '',
		'imageId': '69764086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002023&docid=69764084&x=5324',
		'title': '',
		'imageId': '69764084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002023&docid=69764085&x=5324',
		'title': '',
		'imageId': '69764085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002023';

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