var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003849&docid=69806899&x=4754',
		'title': '',
		'imageId': '69806899',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003849&docid=69806900&x=4754',
		'title': '',
		'imageId': '69806900',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003849&docid=69806901&x=4754',
		'title': '',
		'imageId': '69806901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003849&docid=69806911&x=4754',
		'title': '',
		'imageId': '69806911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003849&docid=69806912&x=4754',
		'title': '',
		'imageId': '69806912',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003849&docid=69806915&x=4754',
		'title': '',
		'imageId': '69806915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003849&docid=69806920&x=4754',
		'title': '',
		'imageId': '69806920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003849';

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