var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69379087&x=3040',
		'title': '',
		'imageId': '69379087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69375991&x=3040',
		'title': '',
		'imageId': '69375991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69376159&x=3040',
		'title': '',
		'imageId': '69376159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69376357&x=3040',
		'title': '',
		'imageId': '69376357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69376384&x=3040',
		'title': '',
		'imageId': '69376384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69379117&x=3040',
		'title': '',
		'imageId': '69379117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69379120&x=3040',
		'title': '',
		'imageId': '69379120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69379123&x=3040',
		'title': '',
		'imageId': '69379123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69379126&x=3040',
		'title': '',
		'imageId': '69379126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69379129&x=3040',
		'title': '',
		'imageId': '69379129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69379135&x=3040',
		'title': '',
		'imageId': '69379135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985006&docid=69379138&x=3040',
		'title': '',
		'imageId': '69379138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985006';

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