var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975546&docid=69161864&x=1838',
		'title': '',
		'imageId': '69161864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975546&docid=69161863&x=1838',
		'title': '',
		'imageId': '69161863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975546&docid=69161866&x=1838',
		'title': '',
		'imageId': '69161866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975546&docid=69161860&x=1838',
		'title': '',
		'imageId': '69161860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975546&docid=69161862&x=1838',
		'title': '',
		'imageId': '69161862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975546&docid=69161865&x=1838',
		'title': '',
		'imageId': '69161865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975546&docid=69161858&x=1838',
		'title': '',
		'imageId': '69161858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975546&docid=69161868&x=1838',
		'title': '',
		'imageId': '69161868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975546&docid=69161869&x=1838',
		'title': '',
		'imageId': '69161869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975546&docid=69161859&x=1838',
		'title': '',
		'imageId': '69161859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975546&docid=69161867&x=1838',
		'title': '',
		'imageId': '69161867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975546';

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