var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011881&docid=70003877&x=4551',
		'title': '',
		'imageId': '70003877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011881&docid=70003870&x=4551',
		'title': '',
		'imageId': '70003870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011881&docid=70003878&x=4551',
		'title': '',
		'imageId': '70003878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011881&docid=70003874&x=4551',
		'title': '',
		'imageId': '70003874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011881&docid=70003879&x=4551',
		'title': '',
		'imageId': '70003879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011881&docid=70003871&x=4551',
		'title': '',
		'imageId': '70003871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011881&docid=70003875&x=4551',
		'title': '',
		'imageId': '70003875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011881&docid=70003873&x=4551',
		'title': '',
		'imageId': '70003873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011881&docid=70003872&x=4551',
		'title': '',
		'imageId': '70003872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011881&docid=70003876&x=4551',
		'title': '',
		'imageId': '70003876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011881';

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