var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920510&docid=67922184&x=2653',
		'title': '',
		'imageId': '67922184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920510&docid=67922187&x=2653',
		'title': '',
		'imageId': '67922187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920510&docid=67922185&x=2653',
		'title': '',
		'imageId': '67922185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920510&docid=67922188&x=2653',
		'title': '',
		'imageId': '67922188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920510&docid=67922181&x=2653',
		'title': '',
		'imageId': '67922181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920510&docid=67922186&x=2653',
		'title': '',
		'imageId': '67922186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920510&docid=67922182&x=2653',
		'title': '',
		'imageId': '67922182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920510&docid=67922180&x=2653',
		'title': '',
		'imageId': '67922180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920510';

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