var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630963&x=2833',
		'title': '',
		'imageId': '67630963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630964&x=2833',
		'title': '',
		'imageId': '67630964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630965&x=2833',
		'title': '',
		'imageId': '67630965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630966&x=2833',
		'title': '',
		'imageId': '67630966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630967&x=2833',
		'title': '',
		'imageId': '67630967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630969&x=2833',
		'title': '',
		'imageId': '67630969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630968&x=2833',
		'title': '',
		'imageId': '67630968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630970&x=2833',
		'title': '',
		'imageId': '67630970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630972&x=2833',
		'title': '',
		'imageId': '67630972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630974&x=2833',
		'title': '',
		'imageId': '67630974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630973&x=2833',
		'title': '',
		'imageId': '67630973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909535&docid=67630971&x=2833',
		'title': '',
		'imageId': '67630971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909535';

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