var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964174&docid=68909580&x=5031',
		'title': '',
		'imageId': '68909580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964174&docid=68910626&x=5031',
		'title': '',
		'imageId': '68910626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964174&docid=68909631&x=5031',
		'title': '',
		'imageId': '68909631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964174&docid=68910637&x=5031',
		'title': '',
		'imageId': '68910637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964174&docid=68909689&x=5031',
		'title': '',
		'imageId': '68909689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964174&docid=68909696&x=5031',
		'title': '',
		'imageId': '68909696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964174&docid=68909637&x=5031',
		'title': '',
		'imageId': '68909637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964174&docid=68909649&x=5031',
		'title': '',
		'imageId': '68909649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964174&docid=68909652&x=5031',
		'title': '',
		'imageId': '68909652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964174&docid=68909659&x=5031',
		'title': '',
		'imageId': '68909659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964174&docid=68909678&x=5031',
		'title': '',
		'imageId': '68909678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964174';

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