var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932237&docid=68182612&x=5814',
		'title': '',
		'imageId': '68182612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932237&docid=68182616&x=5814',
		'title': '',
		'imageId': '68182616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932237&docid=68182621&x=5814',
		'title': '',
		'imageId': '68182621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932237&docid=68182614&x=5814',
		'title': '',
		'imageId': '68182614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932237&docid=68182619&x=5814',
		'title': '',
		'imageId': '68182619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932237&docid=68182620&x=5814',
		'title': '',
		'imageId': '68182620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932237&docid=68182613&x=5814',
		'title': '',
		'imageId': '68182613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932237&docid=68182615&x=5814',
		'title': '',
		'imageId': '68182615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932237&docid=68182617&x=5814',
		'title': '',
		'imageId': '68182617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932237&docid=68182618&x=5814',
		'title': '',
		'imageId': '68182618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932237';

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