var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944414&docid=68448870&x=717',
		'title': '',
		'imageId': '68448870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944414&docid=68448875&x=717',
		'title': '',
		'imageId': '68448875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944414&docid=68448872&x=717',
		'title': '',
		'imageId': '68448872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944414&docid=68448871&x=717',
		'title': '',
		'imageId': '68448871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944414&docid=68448878&x=717',
		'title': '',
		'imageId': '68448878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944414&docid=68448877&x=717',
		'title': '',
		'imageId': '68448877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944414&docid=68448873&x=717',
		'title': '',
		'imageId': '68448873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944414&docid=68448876&x=717',
		'title': '',
		'imageId': '68448876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944414&docid=68448874&x=717',
		'title': '',
		'imageId': '68448874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944414&docid=68448869&x=717',
		'title': '',
		'imageId': '68448869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944414';

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