var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981000&docid=69015442&x=110',
		'title': '',
		'imageId': '69015442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981000&docid=69015446&x=110',
		'title': '',
		'imageId': '69015446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981000&docid=69015447&x=110',
		'title': '',
		'imageId': '69015447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981000&docid=69015448&x=110',
		'title': '',
		'imageId': '69015448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981000&docid=69015449&x=110',
		'title': '',
		'imageId': '69015449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981000&docid=69015450&x=110',
		'title': '',
		'imageId': '69015450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981000&docid=69015453&x=110',
		'title': '',
		'imageId': '69015453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981000&docid=69015454&x=110',
		'title': '',
		'imageId': '69015454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981000';

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