var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327757&x=5219',
		'title': '',
		'imageId': '67327757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327765&x=5219',
		'title': '',
		'imageId': '67327765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327763&x=5219',
		'title': '',
		'imageId': '67327763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327759&x=5219',
		'title': '',
		'imageId': '67327759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327762&x=5219',
		'title': '',
		'imageId': '67327762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327764&x=5219',
		'title': '',
		'imageId': '67327764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327758&x=5219',
		'title': '',
		'imageId': '67327758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327761&x=5219',
		'title': '',
		'imageId': '67327761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327767&x=5219',
		'title': '',
		'imageId': '67327767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327766&x=5219',
		'title': '',
		'imageId': '67327766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327756&x=5219',
		'title': '',
		'imageId': '67327756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897624&docid=67327760&x=5219',
		'title': '',
		'imageId': '67327760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3897624';

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