var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451015&x=2335',
		'title': '',
		'imageId': '68451015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451017&x=2335',
		'title': '',
		'imageId': '68451017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451020&x=2335',
		'title': '',
		'imageId': '68451020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451023&x=2335',
		'title': '',
		'imageId': '68451023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451012&x=2335',
		'title': '',
		'imageId': '68451012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451022&x=2335',
		'title': '',
		'imageId': '68451022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451019&x=2335',
		'title': '',
		'imageId': '68451019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451016&x=2335',
		'title': '',
		'imageId': '68451016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451014&x=2335',
		'title': '',
		'imageId': '68451014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451013&x=2335',
		'title': '',
		'imageId': '68451013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451021&x=2335',
		'title': '',
		'imageId': '68451021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955063&docid=68451018&x=2335',
		'title': '',
		'imageId': '68451018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955063';

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