var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006953&docid=69900512&x=5342',
		'title': '',
		'imageId': '69900512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006953&docid=69900513&x=5342',
		'title': '',
		'imageId': '69900513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006953&docid=69900511&x=5342',
		'title': '',
		'imageId': '69900511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006953&docid=69900509&x=5342',
		'title': '',
		'imageId': '69900509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006953&docid=69900508&x=5342',
		'title': '',
		'imageId': '69900508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006953&docid=69900510&x=5342',
		'title': '',
		'imageId': '69900510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006953&docid=69900514&x=5342',
		'title': '',
		'imageId': '69900514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006953';

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