var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4062827&docid=71193922&x=5810',
		'title': '',
		'imageId': '71193922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062827&docid=71193921&x=5810',
		'title': '',
		'imageId': '71193921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062827&docid=71193919&x=5810',
		'title': '',
		'imageId': '71193919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062827&docid=71193918&x=5810',
		'title': '',
		'imageId': '71193918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062827&docid=71193924&x=5810',
		'title': '',
		'imageId': '71193924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062827&docid=71193920&x=5810',
		'title': '',
		'imageId': '71193920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062827&docid=71193923&x=5810',
		'title': '',
		'imageId': '71193923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4062827';

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