var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3881869&docid=65806373&x=4722',
		'title': '',
		'imageId': '65806373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3881869&docid=65806376&x=4722',
		'title': '',
		'imageId': '65806376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3881869&docid=65806379&x=4722',
		'title': '',
		'imageId': '65806379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3881869&docid=65806403&x=4722',
		'title': '',
		'imageId': '65806403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3881869&docid=65806406&x=4722',
		'title': '',
		'imageId': '65806406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3881869&docid=65806409&x=4722',
		'title': '',
		'imageId': '65806409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3881869&docid=65806412&x=4722',
		'title': '',
		'imageId': '65806412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3881869';

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