var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002316&docid=69769770&x=3810',
		'title': '',
		'imageId': '69769770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002316&docid=69769776&x=3810',
		'title': '',
		'imageId': '69769776',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002316&docid=69769773&x=3810',
		'title': '',
		'imageId': '69769773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002316&docid=69769768&x=3810',
		'title': '',
		'imageId': '69769768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002316&docid=69769774&x=3810',
		'title': '',
		'imageId': '69769774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002316&docid=69769771&x=3810',
		'title': '',
		'imageId': '69769771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002316&docid=69769767&x=3810',
		'title': '',
		'imageId': '69769767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002316&docid=69769775&x=3810',
		'title': '',
		'imageId': '69769775',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002316&docid=69769772&x=3810',
		'title': '',
		'imageId': '69769772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002316&docid=69769769&x=3810',
		'title': '',
		'imageId': '69769769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002316&docid=69769766&x=3810',
		'title': '',
		'imageId': '69769766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002316';

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