var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3942748&docid=68407845&x=3748',
		'title': '',
		'imageId': '68407845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942748&docid=68407849&x=3748',
		'title': '',
		'imageId': '68407849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942748&docid=68407847&x=3748',
		'title': '',
		'imageId': '68407847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942748&docid=68407850&x=3748',
		'title': '',
		'imageId': '68407850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942748&docid=68407848&x=3748',
		'title': '',
		'imageId': '68407848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942748&docid=68407844&x=3748',
		'title': '',
		'imageId': '68407844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942748&docid=68407842&x=3748',
		'title': '',
		'imageId': '68407842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942748&docid=68407843&x=3748',
		'title': '',
		'imageId': '68407843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942748&docid=68407846&x=3748',
		'title': '',
		'imageId': '68407846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942748&docid=68407873&x=3748',
		'title': '',
		'imageId': '68407873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942748&docid=68407874&x=3748',
		'title': '',
		'imageId': '68407874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3942748';

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