var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017405&docid=70167565&x=2027',
		'title': '',
		'imageId': '70167565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017405&docid=70167567&x=2027',
		'title': '',
		'imageId': '70167567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017405&docid=70167562&x=2027',
		'title': '',
		'imageId': '70167562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017405&docid=70167561&x=2027',
		'title': '',
		'imageId': '70167561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017405&docid=70167564&x=2027',
		'title': '',
		'imageId': '70167564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017405&docid=70167566&x=2027',
		'title': '',
		'imageId': '70167566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017405&docid=70167563&x=2027',
		'title': '',
		'imageId': '70167563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017405&docid=70167568&x=2027',
		'title': '',
		'imageId': '70167568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017405&docid=70167570&x=2027',
		'title': '',
		'imageId': '70167570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017405&docid=70167569&x=2027',
		'title': '',
		'imageId': '70167569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017405';

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