var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4043167&docid=70817783&x=052',
		'title': '',
		'imageId': '70817783',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043167&docid=70817790&x=052',
		'title': '',
		'imageId': '70817790',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043167&docid=70817803&x=052',
		'title': '',
		'imageId': '70817803',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043167&docid=70817813&x=052',
		'title': '',
		'imageId': '70817813',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043167&docid=70817833&x=052',
		'title': '',
		'imageId': '70817833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043167&docid=70817847&x=052',
		'title': '',
		'imageId': '70817847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043167&docid=70817849&x=052',
		'title': '',
		'imageId': '70817849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043167&docid=70817850&x=052',
		'title': '',
		'imageId': '70817850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043167&docid=70817851&x=052',
		'title': '',
		'imageId': '70817851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043167&docid=70817852&x=052',
		'title': '',
		'imageId': '70817852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043167&docid=70817853&x=052',
		'title': '',
		'imageId': '70817853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4043167';

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