var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4090526&docid=71959790&x=2455',
		'title': '',
		'imageId': '71959790',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090526&docid=71959797&x=2455',
		'title': '',
		'imageId': '71959797',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090526&docid=71959792&x=2455',
		'title': '',
		'imageId': '71959792',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090526&docid=71959799&x=2455',
		'title': '',
		'imageId': '71959799',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090526&docid=71959800&x=2455',
		'title': '',
		'imageId': '71959800',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090526&docid=71959796&x=2455',
		'title': '',
		'imageId': '71959796',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090526&docid=71959794&x=2455',
		'title': '',
		'imageId': '71959794',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090526&docid=71959791&x=2455',
		'title': '',
		'imageId': '71959791',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090526&docid=71959798&x=2455',
		'title': '',
		'imageId': '71959798',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090526&docid=71959793&x=2455',
		'title': '',
		'imageId': '71959793',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090526&docid=71959795&x=2455',
		'title': '',
		'imageId': '71959795',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4090526';

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