var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954836&docid=68695951&x=159',
		'title': '',
		'imageId': '68695951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954836&docid=68695962&x=159',
		'title': '',
		'imageId': '68695962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954836&docid=68695952&x=159',
		'title': '',
		'imageId': '68695952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954836&docid=68695956&x=159',
		'title': '',
		'imageId': '68695956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954836&docid=68695959&x=159',
		'title': '',
		'imageId': '68695959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954836&docid=68695955&x=159',
		'title': '',
		'imageId': '68695955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954836&docid=68695954&x=159',
		'title': '',
		'imageId': '68695954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954836&docid=68695953&x=159',
		'title': '',
		'imageId': '68695953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954836&docid=68695967&x=159',
		'title': '',
		'imageId': '68695967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954836&docid=68695968&x=159',
		'title': '',
		'imageId': '68695968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954836';

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