var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924453&docid=68008068&x=08',
		'title': '',
		'imageId': '68008068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924453&docid=68008086&x=08',
		'title': '',
		'imageId': '68008086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924453&docid=68008071&x=08',
		'title': '',
		'imageId': '68008071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924453&docid=68008078&x=08',
		'title': '',
		'imageId': '68008078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924453&docid=68089582&x=08',
		'title': '',
		'imageId': '68089582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924453&docid=68008081&x=08',
		'title': '',
		'imageId': '68008081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924453&docid=68008106&x=08',
		'title': '',
		'imageId': '68008106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924453&docid=68089553&x=08',
		'title': '',
		'imageId': '68089553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924453&docid=68089565&x=08',
		'title': '',
		'imageId': '68089565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924453&docid=68008109&x=08',
		'title': '',
		'imageId': '68008109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924453';

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