var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4030944&docid=70479567&x=4834',
		'title': '',
		'imageId': '70479567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030944&docid=70479568&x=4834',
		'title': '',
		'imageId': '70479568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030944&docid=70479566&x=4834',
		'title': '',
		'imageId': '70479566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030944&docid=70479569&x=4834',
		'title': '',
		'imageId': '70479569',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030944&docid=70479572&x=4834',
		'title': '',
		'imageId': '70479572',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030944&docid=70479570&x=4834',
		'title': '',
		'imageId': '70479570',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030944&docid=70479571&x=4834',
		'title': '',
		'imageId': '70479571',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4030944';

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