var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4026722&docid=70368582&x=1313',
		'title': '',
		'imageId': '70368582',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026722&docid=70368584&x=1313',
		'title': '',
		'imageId': '70368584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026722&docid=70368583&x=1313',
		'title': '',
		'imageId': '70368583',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026722&docid=70368588&x=1313',
		'title': '',
		'imageId': '70368588',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026722&docid=70368589&x=1313',
		'title': '',
		'imageId': '70368589',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026722&docid=70368585&x=1313',
		'title': '',
		'imageId': '70368585',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026722&docid=70368587&x=1313',
		'title': '',
		'imageId': '70368587',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026722&docid=70368586&x=1313',
		'title': '',
		'imageId': '70368586',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4026722';

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