var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053215&x=2052',
		'title': '',
		'imageId': '68053215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053212&x=2052',
		'title': '',
		'imageId': '68053212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053211&x=2052',
		'title': '',
		'imageId': '68053211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053214&x=2052',
		'title': '',
		'imageId': '68053214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053206&x=2052',
		'title': '',
		'imageId': '68053206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053223&x=2052',
		'title': '',
		'imageId': '68053223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053207&x=2052',
		'title': '',
		'imageId': '68053207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053222&x=2052',
		'title': '',
		'imageId': '68053222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053226&x=2052',
		'title': '',
		'imageId': '68053226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053217&x=2052',
		'title': '',
		'imageId': '68053217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053208&x=2052',
		'title': '',
		'imageId': '68053208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053224&x=2052',
		'title': '',
		'imageId': '68053224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053225&x=2052',
		'title': '',
		'imageId': '68053225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053219&x=2052',
		'title': '',
		'imageId': '68053219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053218&x=2052',
		'title': '',
		'imageId': '68053218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053213&x=2052',
		'title': '',
		'imageId': '68053213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053220&x=2052',
		'title': '',
		'imageId': '68053220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053209&x=2052',
		'title': '',
		'imageId': '68053209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053216&x=2052',
		'title': '',
		'imageId': '68053216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948318&docid=68053210&x=2052',
		'title': '',
		'imageId': '68053210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948318';

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