var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3921644&docid=67963483&x=4222',
		'title': '',
		'imageId': '67963483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921644&docid=67963504&x=4222',
		'title': '',
		'imageId': '67963504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921644&docid=67963496&x=4222',
		'title': '',
		'imageId': '67963496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921644&docid=67963481&x=4222',
		'title': '',
		'imageId': '67963481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921644&docid=67963484&x=4222',
		'title': '',
		'imageId': '67963484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921644&docid=67963501&x=4222',
		'title': '',
		'imageId': '67963501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921644&docid=67963498&x=4222',
		'title': '',
		'imageId': '67963498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921644&docid=67963492&x=4222',
		'title': '',
		'imageId': '67963492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921644&docid=67963495&x=4222',
		'title': '',
		'imageId': '67963495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921644&docid=67963482&x=4222',
		'title': '',
		'imageId': '67963482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3921644';

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