var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974839&docid=68869660&x=727',
		'title': '',
		'imageId': '68869660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974839&docid=68869661&x=727',
		'title': '',
		'imageId': '68869661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974839&docid=68869662&x=727',
		'title': '',
		'imageId': '68869662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974839&docid=68869663&x=727',
		'title': '',
		'imageId': '68869663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974839&docid=68869664&x=727',
		'title': '',
		'imageId': '68869664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974839&docid=68869665&x=727',
		'title': '',
		'imageId': '68869665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974839&docid=68869666&x=727',
		'title': '',
		'imageId': '68869666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974839&docid=68869667&x=727',
		'title': '',
		'imageId': '68869667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974839&docid=68869668&x=727',
		'title': '',
		'imageId': '68869668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974839&docid=68869669&x=727',
		'title': '',
		'imageId': '68869669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974839';

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