var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947922&docid=68537497&x=3930',
		'title': '',
		'imageId': '68537497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947922&docid=68537498&x=3930',
		'title': '',
		'imageId': '68537498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947922&docid=68536012&x=3930',
		'title': '',
		'imageId': '68536012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947922&docid=68536022&x=3930',
		'title': '',
		'imageId': '68536022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947922&docid=68536020&x=3930',
		'title': '',
		'imageId': '68536020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947922&docid=68536015&x=3930',
		'title': '',
		'imageId': '68536015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947922&docid=68536024&x=3930',
		'title': '',
		'imageId': '68536024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947922&docid=68536019&x=3930',
		'title': '',
		'imageId': '68536019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947922&docid=68536016&x=3930',
		'title': '',
		'imageId': '68536016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947922&docid=68536014&x=3930',
		'title': '',
		'imageId': '68536014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947922&docid=68536013&x=3930',
		'title': '',
		'imageId': '68536013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947922';

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