var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556457&x=1948',
		'title': '',
		'imageId': '69556457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556455&x=1948',
		'title': '',
		'imageId': '69556455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556461&x=1948',
		'title': '',
		'imageId': '69556461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556456&x=1948',
		'title': '',
		'imageId': '69556456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556463&x=1948',
		'title': '',
		'imageId': '69556463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556460&x=1948',
		'title': '',
		'imageId': '69556460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556454&x=1948',
		'title': '',
		'imageId': '69556454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556462&x=1948',
		'title': '',
		'imageId': '69556462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556458&x=1948',
		'title': '',
		'imageId': '69556458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556465&x=1948',
		'title': '',
		'imageId': '69556465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556464&x=1948',
		'title': '',
		'imageId': '69556464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992993&docid=69556459&x=1948',
		'title': '',
		'imageId': '69556459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992993';

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