var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=473896&docid=2591999&x=4135',
		'title': '',
		'imageId': '2591999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473896&docid=2592002&x=4135',
		'title': '',
		'imageId': '2592002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473896&docid=2592005&x=4135',
		'title': '',
		'imageId': '2592005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473896&docid=2592009&x=4135',
		'title': '',
		'imageId': '2592009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473896&docid=2592014&x=4135',
		'title': '',
		'imageId': '2592014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473896&docid=2592020&x=4135',
		'title': '',
		'imageId': '2592020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473896&docid=2592026&x=4135',
		'title': '',
		'imageId': '2592026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473896&docid=2592029&x=4135',
		'title': '',
		'imageId': '2592029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #473896';

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