var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977212&docid=68225654&x=2357',
		'title': '',
		'imageId': '68225654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977212&docid=69474633&x=2357',
		'title': '',
		'imageId': '69474633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977212&docid=69474634&x=2357',
		'title': '',
		'imageId': '69474634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977212&docid=69474635&x=2357',
		'title': '',
		'imageId': '69474635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977212&docid=68242502&x=2357',
		'title': '',
		'imageId': '68242502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977212&docid=69207809&x=2357',
		'title': '',
		'imageId': '69207809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977212&docid=68225653&x=2357',
		'title': '',
		'imageId': '68225653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977212&docid=68225651&x=2357',
		'title': '',
		'imageId': '68225651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977212&docid=68225652&x=2357',
		'title': '',
		'imageId': '68225652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977212&docid=68225650&x=2357',
		'title': '',
		'imageId': '68225650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977212';

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