var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4033921&docid=70562542&x=2933',
		'title': '',
		'imageId': '70562542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033921&docid=70562549&x=2933',
		'title': '',
		'imageId': '70562549',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033921&docid=70562548&x=2933',
		'title': '',
		'imageId': '70562548',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033921&docid=70562541&x=2933',
		'title': '',
		'imageId': '70562541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033921&docid=70562543&x=2933',
		'title': '',
		'imageId': '70562543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033921&docid=70562540&x=2933',
		'title': '',
		'imageId': '70562540',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033921&docid=70562545&x=2933',
		'title': '',
		'imageId': '70562545',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033921&docid=70562546&x=2933',
		'title': '',
		'imageId': '70562546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033921&docid=70562547&x=2933',
		'title': '',
		'imageId': '70562547',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033921&docid=70562550&x=2933',
		'title': '',
		'imageId': '70562550',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033921&docid=70562544&x=2933',
		'title': '',
		'imageId': '70562544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4033921';

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