var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011857&docid=69764170&x=5851',
		'title': '',
		'imageId': '69764170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011857&docid=69764173&x=5851',
		'title': '',
		'imageId': '69764173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011857&docid=69764179&x=5851',
		'title': '',
		'imageId': '69764179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011857&docid=69764174&x=5851',
		'title': '',
		'imageId': '69764174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011857&docid=69764172&x=5851',
		'title': '',
		'imageId': '69764172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011857&docid=69764175&x=5851',
		'title': '',
		'imageId': '69764175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011857&docid=69764177&x=5851',
		'title': '',
		'imageId': '69764177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011857&docid=69764180&x=5851',
		'title': '',
		'imageId': '69764180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011857&docid=69764171&x=5851',
		'title': '',
		'imageId': '69764171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011857&docid=69764176&x=5851',
		'title': '',
		'imageId': '69764176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011857&docid=69764178&x=5851',
		'title': '',
		'imageId': '69764178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011857';

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