var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4062383&docid=71311015&x=3720',
		'title': '',
		'imageId': '71311015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062383&docid=71311017&x=3720',
		'title': '',
		'imageId': '71311017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062383&docid=71311016&x=3720',
		'title': '',
		'imageId': '71311016',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062383&docid=71311018&x=3720',
		'title': '',
		'imageId': '71311018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062383&docid=71311021&x=3720',
		'title': '',
		'imageId': '71311021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062383&docid=71311026&x=3720',
		'title': '',
		'imageId': '71311026',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062383&docid=71311027&x=3720',
		'title': '',
		'imageId': '71311027',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062383&docid=71311034&x=3720',
		'title': '',
		'imageId': '71311034',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062383&docid=71311035&x=3720',
		'title': '',
		'imageId': '71311035',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062383&docid=71311014&x=3720',
		'title': '',
		'imageId': '71311014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062383&docid=71311013&x=3720',
		'title': '',
		'imageId': '71311013',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4062383';

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