var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107786&x=5045',
		'title': '',
		'imageId': '70107786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107787&x=5045',
		'title': '',
		'imageId': '70107787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107793&x=5045',
		'title': '',
		'imageId': '70107793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107785&x=5045',
		'title': '',
		'imageId': '70107785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107790&x=5045',
		'title': '',
		'imageId': '70107790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107788&x=5045',
		'title': '',
		'imageId': '70107788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107784&x=5045',
		'title': '',
		'imageId': '70107784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107783&x=5045',
		'title': '',
		'imageId': '70107783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107791&x=5045',
		'title': '',
		'imageId': '70107791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107789&x=5045',
		'title': '',
		'imageId': '70107789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107792&x=5045',
		'title': '',
		'imageId': '70107792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015863&docid=70107794&x=5045',
		'title': '',
		'imageId': '70107794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015863';

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