var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968545&docid=68988566&x=332',
		'title': '',
		'imageId': '68988566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968545&docid=68988567&x=332',
		'title': '',
		'imageId': '68988567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968545&docid=68988568&x=332',
		'title': '',
		'imageId': '68988568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968545&docid=68988569&x=332',
		'title': '',
		'imageId': '68988569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968545&docid=68988570&x=332',
		'title': '',
		'imageId': '68988570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968545&docid=68988571&x=332',
		'title': '',
		'imageId': '68988571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968545&docid=68988572&x=332',
		'title': '',
		'imageId': '68988572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968545&docid=68988573&x=332',
		'title': '',
		'imageId': '68988573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968545&docid=68988574&x=332',
		'title': '',
		'imageId': '68988574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968545&docid=68988575&x=332',
		'title': '',
		'imageId': '68988575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968545';

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