var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4087028&docid=71865060&x=5750',
		'title': '',
		'imageId': '71865060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087028&docid=71865063&x=5750',
		'title': '',
		'imageId': '71865063',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087028&docid=71865066&x=5750',
		'title': '',
		'imageId': '71865066',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087028&docid=71865061&x=5750',
		'title': '',
		'imageId': '71865061',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087028&docid=71865065&x=5750',
		'title': '',
		'imageId': '71865065',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087028&docid=71865064&x=5750',
		'title': '',
		'imageId': '71865064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087028&docid=71865067&x=5750',
		'title': '',
		'imageId': '71865067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4087028';

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