var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011711&docid=69996019&x=5733',
		'title': '',
		'imageId': '69996019',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011711&docid=69996021&x=5733',
		'title': '',
		'imageId': '69996021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011711&docid=69996022&x=5733',
		'title': '',
		'imageId': '69996022',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011711&docid=69996014&x=5733',
		'title': '',
		'imageId': '69996014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011711&docid=69996020&x=5733',
		'title': '',
		'imageId': '69996020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011711&docid=69996018&x=5733',
		'title': '',
		'imageId': '69996018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011711&docid=69996016&x=5733',
		'title': '',
		'imageId': '69996016',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011711&docid=69996017&x=5733',
		'title': '',
		'imageId': '69996017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011711&docid=69996015&x=5733',
		'title': '',
		'imageId': '69996015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011711';

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