var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929780&docid=68123113&x=3946',
		'title': '',
		'imageId': '68123113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929780&docid=68123116&x=3946',
		'title': '',
		'imageId': '68123116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929780&docid=68123119&x=3946',
		'title': '',
		'imageId': '68123119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929780&docid=68123122&x=3946',
		'title': '',
		'imageId': '68123122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929780&docid=68123125&x=3946',
		'title': '',
		'imageId': '68123125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929780&docid=68123128&x=3946',
		'title': '',
		'imageId': '68123128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929780&docid=68123131&x=3946',
		'title': '',
		'imageId': '68123131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929780&docid=68123134&x=3946',
		'title': '',
		'imageId': '68123134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929780&docid=68123137&x=3946',
		'title': '',
		'imageId': '68123137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929780&docid=68123140&x=3946',
		'title': '',
		'imageId': '68123140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929780&docid=68123143&x=3946',
		'title': '',
		'imageId': '68123143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929780';

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