var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4041630&docid=70775601&x=5944',
		'title': '',
		'imageId': '70775601',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041630&docid=70775597&x=5944',
		'title': '',
		'imageId': '70775597',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041630&docid=70775603&x=5944',
		'title': '',
		'imageId': '70775603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041630&docid=70775599&x=5944',
		'title': '',
		'imageId': '70775599',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041630&docid=70775602&x=5944',
		'title': '',
		'imageId': '70775602',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041630&docid=70775596&x=5944',
		'title': '',
		'imageId': '70775596',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041630&docid=70775605&x=5944',
		'title': '',
		'imageId': '70775605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041630&docid=70775600&x=5944',
		'title': '',
		'imageId': '70775600',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041630&docid=70775604&x=5944',
		'title': '',
		'imageId': '70775604',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041630&docid=70775598&x=5944',
		'title': '',
		'imageId': '70775598',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041630&docid=70775595&x=5944',
		'title': '',
		'imageId': '70775595',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4041630';

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