var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011888&docid=69772118&x=2321',
		'title': '',
		'imageId': '69772118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011888&docid=69772122&x=2321',
		'title': '',
		'imageId': '69772122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011888&docid=69772124&x=2321',
		'title': '',
		'imageId': '69772124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011888&docid=69772125&x=2321',
		'title': '',
		'imageId': '69772125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011888&docid=69772119&x=2321',
		'title': '',
		'imageId': '69772119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011888&docid=69772123&x=2321',
		'title': '',
		'imageId': '69772123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011888&docid=69772120&x=2321',
		'title': '',
		'imageId': '69772120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011888&docid=69772127&x=2321',
		'title': '',
		'imageId': '69772127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011888&docid=69772126&x=2321',
		'title': '',
		'imageId': '69772126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011888&docid=69772128&x=2321',
		'title': '',
		'imageId': '69772128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011888&docid=69772121&x=2321',
		'title': '',
		'imageId': '69772121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011888';

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