var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4042363&docid=59447682&x=5217',
		'title': '',
		'imageId': '59447682',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042363&docid=59447709&x=5217',
		'title': '',
		'imageId': '59447709',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042363&docid=59447822&x=5217',
		'title': '',
		'imageId': '59447822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042363&docid=59447843&x=5217',
		'title': '',
		'imageId': '59447843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042363&docid=59447855&x=5217',
		'title': '',
		'imageId': '59447855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042363&docid=59447849&x=5217',
		'title': '',
		'imageId': '59447849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042363&docid=59447715&x=5217',
		'title': '',
		'imageId': '59447715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042363&docid=59447696&x=5217',
		'title': '',
		'imageId': '59447696',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042363&docid=59447846&x=5217',
		'title': '',
		'imageId': '59447846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042363&docid=59447754&x=5217',
		'title': '',
		'imageId': '59447754',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042363&docid=59447803&x=5217',
		'title': '',
		'imageId': '59447803',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4042363';

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