var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044830&docid=71070838&x=4919',
		'title': '',
		'imageId': '71070838',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044830&docid=71070842&x=4919',
		'title': '',
		'imageId': '71070842',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044830&docid=71070835&x=4919',
		'title': '',
		'imageId': '71070835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044830&docid=71070843&x=4919',
		'title': '',
		'imageId': '71070843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044830&docid=71070841&x=4919',
		'title': '',
		'imageId': '71070841',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044830&docid=71070834&x=4919',
		'title': '',
		'imageId': '71070834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044830&docid=71070833&x=4919',
		'title': '',
		'imageId': '71070833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044830&docid=71070840&x=4919',
		'title': '',
		'imageId': '71070840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044830&docid=71070836&x=4919',
		'title': '',
		'imageId': '71070836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044830&docid=71070837&x=4919',
		'title': '',
		'imageId': '71070837',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044830&docid=71070839&x=4919',
		'title': '',
		'imageId': '71070839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044830';

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