var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963042&docid=68884820&x=3245',
		'title': '',
		'imageId': '68884820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963042&docid=68884823&x=3245',
		'title': '',
		'imageId': '68884823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963042&docid=68884824&x=3245',
		'title': '',
		'imageId': '68884824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963042&docid=68884821&x=3245',
		'title': '',
		'imageId': '68884821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963042&docid=68884822&x=3245',
		'title': '',
		'imageId': '68884822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963042&docid=68884825&x=3245',
		'title': '',
		'imageId': '68884825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963042&docid=68884833&x=3245',
		'title': '',
		'imageId': '68884833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963042&docid=68884832&x=3245',
		'title': '',
		'imageId': '68884832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963042&docid=68884841&x=3245',
		'title': '',
		'imageId': '68884841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963042&docid=68884834&x=3245',
		'title': '',
		'imageId': '68884834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963042';

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