var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978991&docid=69235775&x=372',
		'title': '',
		'imageId': '69235775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978991&docid=69235777&x=372',
		'title': '',
		'imageId': '69235777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978991&docid=69235782&x=372',
		'title': '',
		'imageId': '69235782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978991&docid=69235776&x=372',
		'title': '',
		'imageId': '69235776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978991&docid=69235780&x=372',
		'title': '',
		'imageId': '69235780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978991&docid=69235781&x=372',
		'title': '',
		'imageId': '69235781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978991&docid=69235773&x=372',
		'title': '',
		'imageId': '69235773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978991&docid=69235778&x=372',
		'title': '',
		'imageId': '69235778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978991&docid=69235779&x=372',
		'title': '',
		'imageId': '69235779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978991&docid=69235774&x=372',
		'title': '',
		'imageId': '69235774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978991';

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