var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692650&x=5019',
		'title': '',
		'imageId': '67692650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692651&x=5019',
		'title': '',
		'imageId': '67692651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692652&x=5019',
		'title': '',
		'imageId': '67692652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692653&x=5019',
		'title': '',
		'imageId': '67692653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692654&x=5019',
		'title': '',
		'imageId': '67692654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692655&x=5019',
		'title': '',
		'imageId': '67692655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692658&x=5019',
		'title': '',
		'imageId': '67692658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692661&x=5019',
		'title': '',
		'imageId': '67692661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692668&x=5019',
		'title': '',
		'imageId': '67692668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692674&x=5019',
		'title': '',
		'imageId': '67692674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692676&x=5019',
		'title': '',
		'imageId': '67692676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692675&x=5019',
		'title': '',
		'imageId': '67692675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692679&x=5019',
		'title': '',
		'imageId': '67692679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692682&x=5019',
		'title': '',
		'imageId': '67692682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692688&x=5019',
		'title': '',
		'imageId': '67692688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912377&docid=67692687&x=5019',
		'title': '',
		'imageId': '67692687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912377';

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