var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951605&docid=68622764&x=1852',
		'title': '',
		'imageId': '68622764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951605&docid=68622794&x=1852',
		'title': '',
		'imageId': '68622794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951605&docid=68622795&x=1852',
		'title': '',
		'imageId': '68622795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951605&docid=68622796&x=1852',
		'title': '',
		'imageId': '68622796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951605&docid=68622789&x=1852',
		'title': '',
		'imageId': '68622789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951605&docid=68622802&x=1852',
		'title': '',
		'imageId': '68622802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951605&docid=68622799&x=1852',
		'title': '',
		'imageId': '68622799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951605&docid=68622800&x=1852',
		'title': '',
		'imageId': '68622800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951605&docid=68622801&x=1852',
		'title': '',
		'imageId': '68622801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951605&docid=68622798&x=1852',
		'title': '',
		'imageId': '68622798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951605&docid=68622797&x=1852',
		'title': '',
		'imageId': '68622797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951605';

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