var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975968&docid=69171507&x=5346',
		'title': '',
		'imageId': '69171507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975968&docid=69171515&x=5346',
		'title': '',
		'imageId': '69171515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975968&docid=69171514&x=5346',
		'title': '',
		'imageId': '69171514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975968&docid=69171511&x=5346',
		'title': '',
		'imageId': '69171511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975968&docid=69171509&x=5346',
		'title': '',
		'imageId': '69171509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975968&docid=69171516&x=5346',
		'title': '',
		'imageId': '69171516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975968&docid=69171518&x=5346',
		'title': '',
		'imageId': '69171518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975968&docid=69171510&x=5346',
		'title': '',
		'imageId': '69171510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975968&docid=69171517&x=5346',
		'title': '',
		'imageId': '69171517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975968&docid=69171508&x=5346',
		'title': '',
		'imageId': '69171508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975968&docid=69171513&x=5346',
		'title': '',
		'imageId': '69171513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975968';

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