var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939853&docid=68363825&x=236',
		'title': '',
		'imageId': '68363825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939853&docid=68363821&x=236',
		'title': '',
		'imageId': '68363821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939853&docid=68363826&x=236',
		'title': '',
		'imageId': '68363826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939853&docid=68363824&x=236',
		'title': '',
		'imageId': '68363824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939853&docid=68363820&x=236',
		'title': '',
		'imageId': '68363820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939853&docid=68363822&x=236',
		'title': '',
		'imageId': '68363822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939853&docid=68363823&x=236',
		'title': '',
		'imageId': '68363823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939853&docid=68363819&x=236',
		'title': '',
		'imageId': '68363819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939853&docid=68363827&x=236',
		'title': '',
		'imageId': '68363827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939853&docid=68363817&x=236',
		'title': '',
		'imageId': '68363817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939853&docid=68363818&x=236',
		'title': '',
		'imageId': '68363818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939853';

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