var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4041944&docid=70782570&x=613',
		'title': '',
		'imageId': '70782570',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041944&docid=70782568&x=613',
		'title': '',
		'imageId': '70782568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041944&docid=70782566&x=613',
		'title': '',
		'imageId': '70782566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041944&docid=70782569&x=613',
		'title': '',
		'imageId': '70782569',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041944&docid=70782571&x=613',
		'title': '',
		'imageId': '70782571',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041944&docid=70782564&x=613',
		'title': '',
		'imageId': '70782564',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041944&docid=70782565&x=613',
		'title': '',
		'imageId': '70782565',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041944&docid=70782572&x=613',
		'title': '',
		'imageId': '70782572',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041944&docid=70782567&x=613',
		'title': '',
		'imageId': '70782567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041944&docid=70782573&x=613',
		'title': '',
		'imageId': '70782573',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041944&docid=70782574&x=613',
		'title': '',
		'imageId': '70782574',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4041944';

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