var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4039522&docid=70714161&x=620',
		'title': '',
		'imageId': '70714161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039522&docid=70714158&x=620',
		'title': '',
		'imageId': '70714158',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039522&docid=70714156&x=620',
		'title': '',
		'imageId': '70714156',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039522&docid=70714154&x=620',
		'title': '',
		'imageId': '70714154',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039522&docid=70714160&x=620',
		'title': '',
		'imageId': '70714160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039522&docid=70714157&x=620',
		'title': '',
		'imageId': '70714157',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039522&docid=70714155&x=620',
		'title': '',
		'imageId': '70714155',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039522&docid=70714159&x=620',
		'title': '',
		'imageId': '70714159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039522&docid=70714153&x=620',
		'title': '',
		'imageId': '70714153',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039522&docid=70714162&x=620',
		'title': '',
		'imageId': '70714162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039522&docid=70714163&x=620',
		'title': '',
		'imageId': '70714163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4039522';

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