var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957119&x=5947',
		'title': '',
		'imageId': '68957119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957125&x=5947',
		'title': '',
		'imageId': '68957125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957126&x=5947',
		'title': '',
		'imageId': '68957126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957128&x=5947',
		'title': '',
		'imageId': '68957128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957127&x=5947',
		'title': '',
		'imageId': '68957127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957129&x=5947',
		'title': '',
		'imageId': '68957129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957122&x=5947',
		'title': '',
		'imageId': '68957122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957124&x=5947',
		'title': '',
		'imageId': '68957124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957121&x=5947',
		'title': '',
		'imageId': '68957121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957120&x=5947',
		'title': '',
		'imageId': '68957120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957123&x=5947',
		'title': '',
		'imageId': '68957123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966395&docid=68957118&x=5947',
		'title': '',
		'imageId': '68957118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966395';

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