var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4041868&docid=70780919&x=1449',
		'title': '',
		'imageId': '70780919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041868&docid=70780924&x=1449',
		'title': '',
		'imageId': '70780924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041868&docid=70780920&x=1449',
		'title': '',
		'imageId': '70780920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041868&docid=70780922&x=1449',
		'title': '',
		'imageId': '70780922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041868&docid=70780923&x=1449',
		'title': '',
		'imageId': '70780923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041868&docid=70780918&x=1449',
		'title': '',
		'imageId': '70780918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041868&docid=70780921&x=1449',
		'title': '',
		'imageId': '70780921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041868&docid=70780925&x=1449',
		'title': '',
		'imageId': '70780925',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4041868';

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