var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019195&docid=70209458&x=5738',
		'title': '',
		'imageId': '70209458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019195&docid=70209450&x=5738',
		'title': '',
		'imageId': '70209450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019195&docid=70209451&x=5738',
		'title': '',
		'imageId': '70209451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019195&docid=70209452&x=5738',
		'title': '',
		'imageId': '70209452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019195&docid=70209454&x=5738',
		'title': '',
		'imageId': '70209454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019195&docid=70209453&x=5738',
		'title': '',
		'imageId': '70209453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019195&docid=70209449&x=5738',
		'title': '',
		'imageId': '70209449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019195&docid=70209455&x=5738',
		'title': '',
		'imageId': '70209455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019195&docid=70209456&x=5738',
		'title': '',
		'imageId': '70209456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019195&docid=70209457&x=5738',
		'title': '',
		'imageId': '70209457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019195';

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