var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3918220&docid=67857394&x=4649',
		'title': '',
		'imageId': '67857394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918220&docid=67857395&x=4649',
		'title': '',
		'imageId': '67857395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918220&docid=67857396&x=4649',
		'title': '',
		'imageId': '67857396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918220&docid=67857397&x=4649',
		'title': '',
		'imageId': '67857397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918220&docid=67857398&x=4649',
		'title': '',
		'imageId': '67857398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918220&docid=67857399&x=4649',
		'title': '',
		'imageId': '67857399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918220&docid=67857400&x=4649',
		'title': '',
		'imageId': '67857400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918220&docid=67857401&x=4649',
		'title': '',
		'imageId': '67857401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918220&docid=67857402&x=4649',
		'title': '',
		'imageId': '67857402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918220&docid=67857403&x=4649',
		'title': '',
		'imageId': '67857403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3918220';

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