var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4079873&docid=71706127&x=306',
		'title': '',
		'imageId': '71706127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079873&docid=71706121&x=306',
		'title': '',
		'imageId': '71706121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079873&docid=71706119&x=306',
		'title': '',
		'imageId': '71706119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079873&docid=71706125&x=306',
		'title': '',
		'imageId': '71706125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079873&docid=71706123&x=306',
		'title': '',
		'imageId': '71706123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079873&docid=71706124&x=306',
		'title': '',
		'imageId': '71706124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079873&docid=71706155&x=306',
		'title': '',
		'imageId': '71706155',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079873&docid=71706122&x=306',
		'title': '',
		'imageId': '71706122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4079873';

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