var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954132&docid=68676439&x=1732',
		'title': '',
		'imageId': '68676439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954132&docid=68676440&x=1732',
		'title': '',
		'imageId': '68676440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954132&docid=68676432&x=1732',
		'title': '',
		'imageId': '68676432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954132&docid=68676435&x=1732',
		'title': '',
		'imageId': '68676435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954132&docid=68676437&x=1732',
		'title': '',
		'imageId': '68676437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954132&docid=68676434&x=1732',
		'title': '',
		'imageId': '68676434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954132&docid=68676436&x=1732',
		'title': '',
		'imageId': '68676436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954132&docid=68676438&x=1732',
		'title': '',
		'imageId': '68676438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954132&docid=68676431&x=1732',
		'title': '',
		'imageId': '68676431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954132&docid=68676433&x=1732',
		'title': '',
		'imageId': '68676433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954132';

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