var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019234&docid=70210068&x=3829',
		'title': '',
		'imageId': '70210068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019234&docid=70210071&x=3829',
		'title': '',
		'imageId': '70210071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019234&docid=70210083&x=3829',
		'title': '',
		'imageId': '70210083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019234&docid=70210067&x=3829',
		'title': '',
		'imageId': '70210067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019234&docid=70210074&x=3829',
		'title': '',
		'imageId': '70210074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019234&docid=70210079&x=3829',
		'title': '',
		'imageId': '70210079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019234&docid=70210082&x=3829',
		'title': '',
		'imageId': '70210082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019234';

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