var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=61007916&x=432',
		'title': '',
		'imageId': '61007916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=61007919&x=432',
		'title': '',
		'imageId': '61007919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=61007923&x=432',
		'title': '',
		'imageId': '61007923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=61007920&x=432',
		'title': '',
		'imageId': '61007920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=61007924&x=432',
		'title': '',
		'imageId': '61007924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=61007921&x=432',
		'title': '',
		'imageId': '61007921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=61007917&x=432',
		'title': '',
		'imageId': '61007917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=61007918&x=432',
		'title': '',
		'imageId': '61007918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=61007914&x=432',
		'title': '',
		'imageId': '61007914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=61007915&x=432',
		'title': '',
		'imageId': '61007915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=61007913&x=432',
		'title': '',
		'imageId': '61007913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019109&docid=63888754&x=432',
		'title': '',
		'imageId': '63888754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019109';

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