var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855548&x=3120',
		'title': '',
		'imageId': '68855548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855539&x=3120',
		'title': '',
		'imageId': '68855539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855544&x=3120',
		'title': '',
		'imageId': '68855544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855538&x=3120',
		'title': '',
		'imageId': '68855538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855545&x=3120',
		'title': '',
		'imageId': '68855545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855540&x=3120',
		'title': '',
		'imageId': '68855540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855541&x=3120',
		'title': '',
		'imageId': '68855541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855542&x=3120',
		'title': '',
		'imageId': '68855542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855546&x=3120',
		'title': '',
		'imageId': '68855546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855549&x=3120',
		'title': '',
		'imageId': '68855549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855547&x=3120',
		'title': '',
		'imageId': '68855547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960852&docid=68855543&x=3120',
		'title': '',
		'imageId': '68855543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960852';

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