var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015781&docid=70104155&x=38',
		'title': '',
		'imageId': '70104155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015781&docid=70104152&x=38',
		'title': '',
		'imageId': '70104152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015781&docid=70104150&x=38',
		'title': '',
		'imageId': '70104150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015781&docid=70104153&x=38',
		'title': '',
		'imageId': '70104153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015781&docid=70104158&x=38',
		'title': '',
		'imageId': '70104158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015781&docid=70104159&x=38',
		'title': '',
		'imageId': '70104159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015781&docid=70104154&x=38',
		'title': '',
		'imageId': '70104154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015781&docid=70104157&x=38',
		'title': '',
		'imageId': '70104157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015781';

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