var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632879&x=5941',
		'title': '',
		'imageId': '67632879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632881&x=5941',
		'title': '',
		'imageId': '67632881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632884&x=5941',
		'title': '',
		'imageId': '67632884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632877&x=5941',
		'title': '',
		'imageId': '67632877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632883&x=5941',
		'title': '',
		'imageId': '67632883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632876&x=5941',
		'title': '',
		'imageId': '67632876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632880&x=5941',
		'title': '',
		'imageId': '67632880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632882&x=5941',
		'title': '',
		'imageId': '67632882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632875&x=5941',
		'title': '',
		'imageId': '67632875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632886&x=5941',
		'title': '',
		'imageId': '67632886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632885&x=5941',
		'title': '',
		'imageId': '67632885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909621&docid=67632878&x=5941',
		'title': '',
		'imageId': '67632878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909621';

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