var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035789&docid=70607789&x=5333',
		'title': '',
		'imageId': '70607789',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035789&docid=70607787&x=5333',
		'title': '',
		'imageId': '70607787',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035789&docid=70607790&x=5333',
		'title': '',
		'imageId': '70607790',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035789&docid=70607791&x=5333',
		'title': '',
		'imageId': '70607791',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035789&docid=70607788&x=5333',
		'title': '',
		'imageId': '70607788',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035789&docid=70607795&x=5333',
		'title': '',
		'imageId': '70607795',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035789&docid=70607797&x=5333',
		'title': '',
		'imageId': '70607797',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035789&docid=70607794&x=5333',
		'title': '',
		'imageId': '70607794',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035789&docid=70607796&x=5333',
		'title': '',
		'imageId': '70607796',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035789&docid=70607793&x=5333',
		'title': '',
		'imageId': '70607793',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035789&docid=70607792&x=5333',
		'title': '',
		'imageId': '70607792',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035789';

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