var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953850&docid=68617461&x=1340',
		'title': '',
		'imageId': '68617461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953850&docid=68617459&x=1340',
		'title': '',
		'imageId': '68617459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953850&docid=68617463&x=1340',
		'title': '',
		'imageId': '68617463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953850&docid=68617467&x=1340',
		'title': '',
		'imageId': '68617467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953850&docid=68617462&x=1340',
		'title': '',
		'imageId': '68617462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953850&docid=68617460&x=1340',
		'title': '',
		'imageId': '68617460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953850&docid=68617466&x=1340',
		'title': '',
		'imageId': '68617466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953850&docid=68617464&x=1340',
		'title': '',
		'imageId': '68617464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953850&docid=68617468&x=1340',
		'title': '',
		'imageId': '68617468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953850&docid=68617465&x=1340',
		'title': '',
		'imageId': '68617465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953850&docid=68617469&x=1340',
		'title': '',
		'imageId': '68617469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953850';

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