var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055445&docid=70986541&x=80',
		'title': '',
		'imageId': '70986541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055445&docid=70986542&x=80',
		'title': '',
		'imageId': '70986542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055445&docid=70986543&x=80',
		'title': '',
		'imageId': '70986543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055445&docid=70986544&x=80',
		'title': '',
		'imageId': '70986544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055445&docid=70986545&x=80',
		'title': '',
		'imageId': '70986545',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055445&docid=70986546&x=80',
		'title': '',
		'imageId': '70986546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055445&docid=70986547&x=80',
		'title': '',
		'imageId': '70986547',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055445&docid=70986548&x=80',
		'title': '',
		'imageId': '70986548',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055445&docid=70986549&x=80',
		'title': '',
		'imageId': '70986549',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055445&docid=70986550&x=80',
		'title': '',
		'imageId': '70986550',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055445&docid=70986551&x=80',
		'title': '',
		'imageId': '70986551',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055445';

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