var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952987&docid=68953346&x=2422',
		'title': '',
		'imageId': '68953346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952987&docid=68953348&x=2422',
		'title': '',
		'imageId': '68953348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952987&docid=68953344&x=2422',
		'title': '',
		'imageId': '68953344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952987&docid=68953351&x=2422',
		'title': '',
		'imageId': '68953351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952987&docid=68953345&x=2422',
		'title': '',
		'imageId': '68953345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952987&docid=68953352&x=2422',
		'title': '',
		'imageId': '68953352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952987&docid=68953347&x=2422',
		'title': '',
		'imageId': '68953347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952987&docid=68953350&x=2422',
		'title': '',
		'imageId': '68953350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952987&docid=68953353&x=2422',
		'title': '',
		'imageId': '68953353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952987&docid=68953349&x=2422',
		'title': '',
		'imageId': '68953349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952987';

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