var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954199&docid=68678755&x=3722',
		'title': '',
		'imageId': '68678755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954199&docid=68678757&x=3722',
		'title': '',
		'imageId': '68678757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954199&docid=68678756&x=3722',
		'title': '',
		'imageId': '68678756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954199&docid=68678758&x=3722',
		'title': '',
		'imageId': '68678758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954199&docid=68678759&x=3722',
		'title': '',
		'imageId': '68678759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954199&docid=68678760&x=3722',
		'title': '',
		'imageId': '68678760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954199&docid=68678761&x=3722',
		'title': '',
		'imageId': '68678761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954199&docid=68678763&x=3722',
		'title': '',
		'imageId': '68678763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954199&docid=68678762&x=3722',
		'title': '',
		'imageId': '68678762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954199&docid=68678764&x=3722',
		'title': '',
		'imageId': '68678764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954199';

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