var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969870&docid=69015608&x=4151',
		'title': '',
		'imageId': '69015608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969870&docid=69015605&x=4151',
		'title': '',
		'imageId': '69015605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969870&docid=69015606&x=4151',
		'title': '',
		'imageId': '69015606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969870&docid=69015609&x=4151',
		'title': '',
		'imageId': '69015609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969870&docid=69015607&x=4151',
		'title': '',
		'imageId': '69015607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969870&docid=69015604&x=4151',
		'title': '',
		'imageId': '69015604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969870&docid=69015638&x=4151',
		'title': '',
		'imageId': '69015638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969870&docid=69015637&x=4151',
		'title': '',
		'imageId': '69015637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969870&docid=69015636&x=4151',
		'title': '',
		'imageId': '69015636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969870';

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