var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146949&x=5849',
		'title': '',
		'imageId': '70146949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146950&x=5849',
		'title': '',
		'imageId': '70146950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146951&x=5849',
		'title': '',
		'imageId': '70146951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146952&x=5849',
		'title': '',
		'imageId': '70146952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146953&x=5849',
		'title': '',
		'imageId': '70146953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146965&x=5849',
		'title': '',
		'imageId': '70146965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146966&x=5849',
		'title': '',
		'imageId': '70146966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146971&x=5849',
		'title': '',
		'imageId': '70146971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146974&x=5849',
		'title': '',
		'imageId': '70146974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146972&x=5849',
		'title': '',
		'imageId': '70146972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146973&x=5849',
		'title': '',
		'imageId': '70146973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016834&docid=70146948&x=5849',
		'title': '',
		'imageId': '70146948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016834';

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