var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3889780&docid=67603896&x=4752',
		'title': '',
		'imageId': '67603896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889780&docid=67603901&x=4752',
		'title': '',
		'imageId': '67603901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889780&docid=67603904&x=4752',
		'title': '',
		'imageId': '67603904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889780&docid=67603898&x=4752',
		'title': '',
		'imageId': '67603898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889780&docid=67603905&x=4752',
		'title': '',
		'imageId': '67603905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889780&docid=67603903&x=4752',
		'title': '',
		'imageId': '67603903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889780&docid=67603900&x=4752',
		'title': '',
		'imageId': '67603900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889780&docid=67603897&x=4752',
		'title': '',
		'imageId': '67603897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889780&docid=67603902&x=4752',
		'title': '',
		'imageId': '67603902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889780&docid=67603899&x=4752',
		'title': '',
		'imageId': '67603899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889780&docid=68260505&x=4752',
		'title': '',
		'imageId': '68260505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3889780';

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