var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4043029&docid=70814136&x=3713',
		'title': '',
		'imageId': '70814136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043029&docid=70814135&x=3713',
		'title': '',
		'imageId': '70814135',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043029&docid=70814139&x=3713',
		'title': '',
		'imageId': '70814139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043029&docid=70814138&x=3713',
		'title': '',
		'imageId': '70814138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043029&docid=70814137&x=3713',
		'title': '',
		'imageId': '70814137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043029&docid=70814140&x=3713',
		'title': '',
		'imageId': '70814140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043029&docid=70814144&x=3713',
		'title': '',
		'imageId': '70814144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043029&docid=70814149&x=3713',
		'title': '',
		'imageId': '70814149',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043029&docid=70814155&x=3713',
		'title': '',
		'imageId': '70814155',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043029&docid=70814156&x=3713',
		'title': '',
		'imageId': '70814156',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043029&docid=70814157&x=3713',
		'title': '',
		'imageId': '70814157',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4043029';

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