var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662672&x=2031',
		'title': '',
		'imageId': '67662672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662651&x=2031',
		'title': '',
		'imageId': '67662651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662658&x=2031',
		'title': '',
		'imageId': '67662658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662678&x=2031',
		'title': '',
		'imageId': '67662678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662665&x=2031',
		'title': '',
		'imageId': '67662665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662663&x=2031',
		'title': '',
		'imageId': '67662663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662670&x=2031',
		'title': '',
		'imageId': '67662670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662673&x=2031',
		'title': '',
		'imageId': '67662673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662671&x=2031',
		'title': '',
		'imageId': '67662671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662674&x=2031',
		'title': '',
		'imageId': '67662674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662677&x=2031',
		'title': '',
		'imageId': '67662677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662675&x=2031',
		'title': '',
		'imageId': '67662675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662667&x=2031',
		'title': '',
		'imageId': '67662667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662657&x=2031',
		'title': '',
		'imageId': '67662657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662669&x=2031',
		'title': '',
		'imageId': '67662669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662661&x=2031',
		'title': '',
		'imageId': '67662661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662662&x=2031',
		'title': '',
		'imageId': '67662662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662676&x=2031',
		'title': '',
		'imageId': '67662676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662660&x=2031',
		'title': '',
		'imageId': '67662660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662664&x=2031',
		'title': '',
		'imageId': '67662664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662659&x=2031',
		'title': '',
		'imageId': '67662659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976539&docid=67662668&x=2031',
		'title': '',
		'imageId': '67662668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976539';

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