var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975578&docid=68760414&x=3342',
		'title': '',
		'imageId': '68760414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975578&docid=68760413&x=3342',
		'title': '',
		'imageId': '68760413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975578&docid=68760412&x=3342',
		'title': '',
		'imageId': '68760412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975578&docid=68760419&x=3342',
		'title': '',
		'imageId': '68760419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975578&docid=68760415&x=3342',
		'title': '',
		'imageId': '68760415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975578&docid=68760418&x=3342',
		'title': '',
		'imageId': '68760418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975578&docid=68760420&x=3342',
		'title': '',
		'imageId': '68760420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975578&docid=68760417&x=3342',
		'title': '',
		'imageId': '68760417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975578&docid=68760416&x=3342',
		'title': '',
		'imageId': '68760416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975578&docid=68760421&x=3342',
		'title': '',
		'imageId': '68760421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975578&docid=68760422&x=3342',
		'title': '',
		'imageId': '68760422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975578';

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