var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018310&docid=70208178&x=2530',
		'title': '',
		'imageId': '70208178',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018310&docid=70208176&x=2530',
		'title': '',
		'imageId': '70208176',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018310&docid=70208179&x=2530',
		'title': '',
		'imageId': '70208179',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018310&docid=70208177&x=2530',
		'title': '',
		'imageId': '70208177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018310&docid=70208181&x=2530',
		'title': '',
		'imageId': '70208181',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018310&docid=70208180&x=2530',
		'title': '',
		'imageId': '70208180',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018310&docid=70208175&x=2530',
		'title': '',
		'imageId': '70208175',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018310&docid=70208174&x=2530',
		'title': '',
		'imageId': '70208174',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018310&docid=70208173&x=2530',
		'title': '',
		'imageId': '70208173',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018310';

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