var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013559&docid=70047806&x=5221',
		'title': '',
		'imageId': '70047806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013559&docid=70047804&x=5221',
		'title': '',
		'imageId': '70047804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013559&docid=70047799&x=5221',
		'title': '',
		'imageId': '70047799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013559&docid=70047802&x=5221',
		'title': '',
		'imageId': '70047802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013559&docid=70047805&x=5221',
		'title': '',
		'imageId': '70047805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013559&docid=70047803&x=5221',
		'title': '',
		'imageId': '70047803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013559&docid=70047886&x=5221',
		'title': '',
		'imageId': '70047886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013559';

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