var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922131&docid=67953952&x=1456',
		'title': '',
		'imageId': '67953952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922131&docid=67953953&x=1456',
		'title': '',
		'imageId': '67953953',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922131&docid=67953954&x=1456',
		'title': '',
		'imageId': '67953954',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922131&docid=67953955&x=1456',
		'title': '',
		'imageId': '67953955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922131&docid=67953956&x=1456',
		'title': '',
		'imageId': '67953956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922131&docid=67953957&x=1456',
		'title': '',
		'imageId': '67953957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922131&docid=67953958&x=1456',
		'title': '',
		'imageId': '67953958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922131&docid=67953959&x=1456',
		'title': '',
		'imageId': '67953959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922131&docid=67953960&x=1456',
		'title': '',
		'imageId': '67953960',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922131&docid=67953961&x=1456',
		'title': '',
		'imageId': '67953961',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922131&docid=67953962&x=1456',
		'title': '',
		'imageId': '67953962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922131';

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