var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051595&docid=71031623&x=389',
		'title': '',
		'imageId': '71031623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051595&docid=71031624&x=389',
		'title': '',
		'imageId': '71031624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051595&docid=71031625&x=389',
		'title': '',
		'imageId': '71031625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051595&docid=71031626&x=389',
		'title': '',
		'imageId': '71031626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051595&docid=71031627&x=389',
		'title': '',
		'imageId': '71031627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051595&docid=71031628&x=389',
		'title': '',
		'imageId': '71031628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051595&docid=71031630&x=389',
		'title': '',
		'imageId': '71031630',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051595';

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