var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052886&x=4951',
		'title': '',
		'imageId': '68052886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052887&x=4951',
		'title': '',
		'imageId': '68052887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052884&x=4951',
		'title': '',
		'imageId': '68052884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052893&x=4951',
		'title': '',
		'imageId': '68052893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052896&x=4951',
		'title': '',
		'imageId': '68052896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052894&x=4951',
		'title': '',
		'imageId': '68052894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052891&x=4951',
		'title': '',
		'imageId': '68052891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052890&x=4951',
		'title': '',
		'imageId': '68052890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052892&x=4951',
		'title': '',
		'imageId': '68052892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052895&x=4951',
		'title': '',
		'imageId': '68052895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052888&x=4951',
		'title': '',
		'imageId': '68052888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926541&docid=68052883&x=4951',
		'title': '',
		'imageId': '68052883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926541';

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