var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4046511&docid=70909274&x=2526',
		'title': '',
		'imageId': '70909274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046511&docid=70909271&x=2526',
		'title': '',
		'imageId': '70909271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046511&docid=70909268&x=2526',
		'title': '',
		'imageId': '70909268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046511&docid=70909265&x=2526',
		'title': '',
		'imageId': '70909265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046511&docid=70909301&x=2526',
		'title': '',
		'imageId': '70909301',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046511&docid=70909307&x=2526',
		'title': '',
		'imageId': '70909307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046511&docid=70909304&x=2526',
		'title': '',
		'imageId': '70909304',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4046511';

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