var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947740&docid=68532651&x=4154',
		'title': '',
		'imageId': '68532651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947740&docid=68532653&x=4154',
		'title': '',
		'imageId': '68532653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947740&docid=68532649&x=4154',
		'title': '',
		'imageId': '68532649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947740&docid=68532645&x=4154',
		'title': '',
		'imageId': '68532645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947740&docid=68532646&x=4154',
		'title': '',
		'imageId': '68532646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947740&docid=68532652&x=4154',
		'title': '',
		'imageId': '68532652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947740&docid=68532650&x=4154',
		'title': '',
		'imageId': '68532650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947740&docid=68532647&x=4154',
		'title': '',
		'imageId': '68532647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947740&docid=68532654&x=4154',
		'title': '',
		'imageId': '68532654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947740&docid=68532644&x=4154',
		'title': '',
		'imageId': '68532644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947740&docid=68532648&x=4154',
		'title': '',
		'imageId': '68532648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947740';

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