var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017396&docid=70167460&x=5542',
		'title': '',
		'imageId': '70167460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017396&docid=70167467&x=5542',
		'title': '',
		'imageId': '70167467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017396&docid=70167466&x=5542',
		'title': '',
		'imageId': '70167466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017396&docid=70167457&x=5542',
		'title': '',
		'imageId': '70167457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017396&docid=70167461&x=5542',
		'title': '',
		'imageId': '70167461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017396&docid=70167458&x=5542',
		'title': '',
		'imageId': '70167458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017396&docid=70167465&x=5542',
		'title': '',
		'imageId': '70167465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017396&docid=70167459&x=5542',
		'title': '',
		'imageId': '70167459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017396&docid=70167462&x=5542',
		'title': '',
		'imageId': '70167462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017396&docid=70167464&x=5542',
		'title': '',
		'imageId': '70167464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017396&docid=70167463&x=5542',
		'title': '',
		'imageId': '70167463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017396';

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