var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950179&docid=68608317&x=5138',
		'title': '',
		'imageId': '68608317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950179&docid=68608320&x=5138',
		'title': '',
		'imageId': '68608320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950179&docid=68608319&x=5138',
		'title': '',
		'imageId': '68608319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950179&docid=68608315&x=5138',
		'title': '',
		'imageId': '68608315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950179&docid=68608316&x=5138',
		'title': '',
		'imageId': '68608316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950179&docid=68608312&x=5138',
		'title': '',
		'imageId': '68608312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950179&docid=68608318&x=5138',
		'title': '',
		'imageId': '68608318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950179&docid=68608314&x=5138',
		'title': '',
		'imageId': '68608314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950179&docid=68608311&x=5138',
		'title': '',
		'imageId': '68608311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950179&docid=68608313&x=5138',
		'title': '',
		'imageId': '68608313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950179';

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