var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019320&docid=68506247&x=5446',
		'title': '',
		'imageId': '68506247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019320&docid=68506248&x=5446',
		'title': '',
		'imageId': '68506248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019320&docid=68506249&x=5446',
		'title': '',
		'imageId': '68506249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019320&docid=68506250&x=5446',
		'title': '',
		'imageId': '68506250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019320&docid=68506251&x=5446',
		'title': '',
		'imageId': '68506251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019320&docid=68506252&x=5446',
		'title': '',
		'imageId': '68506252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019320&docid=68506253&x=5446',
		'title': '',
		'imageId': '68506253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019320';

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