var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028422&docid=70413109&x=541',
		'title': '',
		'imageId': '70413109',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028422&docid=70413113&x=541',
		'title': '',
		'imageId': '70413113',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028422&docid=70413116&x=541',
		'title': '',
		'imageId': '70413116',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028422&docid=70413117&x=541',
		'title': '',
		'imageId': '70413117',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028422&docid=70413118&x=541',
		'title': '',
		'imageId': '70413118',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028422&docid=70413119&x=541',
		'title': '',
		'imageId': '70413119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028422&docid=70413120&x=541',
		'title': '',
		'imageId': '70413120',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028422&docid=70413121&x=541',
		'title': '',
		'imageId': '70413121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028422&docid=70413122&x=541',
		'title': '',
		'imageId': '70413122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028422&docid=70413124&x=541',
		'title': '',
		'imageId': '70413124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028422&docid=70413123&x=541',
		'title': '',
		'imageId': '70413123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028422';

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