var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440384&x=3942',
		'title': '',
		'imageId': '68440384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440373&x=3942',
		'title': '',
		'imageId': '68440373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440380&x=3942',
		'title': '',
		'imageId': '68440380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440378&x=3942',
		'title': '',
		'imageId': '68440378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440374&x=3942',
		'title': '',
		'imageId': '68440374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440376&x=3942',
		'title': '',
		'imageId': '68440376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440375&x=3942',
		'title': '',
		'imageId': '68440375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440377&x=3942',
		'title': '',
		'imageId': '68440377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440381&x=3942',
		'title': '',
		'imageId': '68440381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440368&x=3942',
		'title': '',
		'imageId': '68440368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440371&x=3942',
		'title': '',
		'imageId': '68440371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440370&x=3942',
		'title': '',
		'imageId': '68440370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440385&x=3942',
		'title': '',
		'imageId': '68440385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440382&x=3942',
		'title': '',
		'imageId': '68440382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440366&x=3942',
		'title': '',
		'imageId': '68440366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440367&x=3942',
		'title': '',
		'imageId': '68440367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440383&x=3942',
		'title': '',
		'imageId': '68440383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440379&x=3942',
		'title': '',
		'imageId': '68440379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440372&x=3942',
		'title': '',
		'imageId': '68440372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950053&docid=68440369&x=3942',
		'title': '',
		'imageId': '68440369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950053';

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