var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4023057&docid=70299532&x=5947',
		'title': '',
		'imageId': '70299532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023057&docid=70299531&x=5947',
		'title': '',
		'imageId': '70299531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023057&docid=70299533&x=5947',
		'title': '',
		'imageId': '70299533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023057&docid=70357904&x=5947',
		'title': '',
		'imageId': '70357904',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023057&docid=70357906&x=5947',
		'title': '',
		'imageId': '70357906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023057&docid=70357903&x=5947',
		'title': '',
		'imageId': '70357903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023057&docid=70357909&x=5947',
		'title': '',
		'imageId': '70357909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023057&docid=70357905&x=5947',
		'title': '',
		'imageId': '70357905',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023057&docid=70357910&x=5947',
		'title': '',
		'imageId': '70357910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023057&docid=70357908&x=5947',
		'title': '',
		'imageId': '70357908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023057&docid=70357907&x=5947',
		'title': '',
		'imageId': '70357907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4023057';

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