var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3940364&docid=68383396&x=5337',
		'title': '',
		'imageId': '68383396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940364&docid=68383399&x=5337',
		'title': '',
		'imageId': '68383399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940364&docid=68383397&x=5337',
		'title': '',
		'imageId': '68383397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940364&docid=68383400&x=5337',
		'title': '',
		'imageId': '68383400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940364&docid=68383401&x=5337',
		'title': '',
		'imageId': '68383401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940364&docid=68383398&x=5337',
		'title': '',
		'imageId': '68383398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940364&docid=68383403&x=5337',
		'title': '',
		'imageId': '68383403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940364&docid=68383395&x=5337',
		'title': '',
		'imageId': '68383395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940364&docid=68383402&x=5337',
		'title': '',
		'imageId': '68383402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940364&docid=68383394&x=5337',
		'title': '',
		'imageId': '68383394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3940364';

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