var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950380&docid=68593204&x=1222',
		'title': '',
		'imageId': '68593204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950380&docid=68593195&x=1222',
		'title': '',
		'imageId': '68593195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950380&docid=68593201&x=1222',
		'title': '',
		'imageId': '68593201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950380&docid=68593194&x=1222',
		'title': '',
		'imageId': '68593194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950380&docid=68593199&x=1222',
		'title': '',
		'imageId': '68593199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950380&docid=68593197&x=1222',
		'title': '',
		'imageId': '68593197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950380&docid=68593198&x=1222',
		'title': '',
		'imageId': '68593198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950380&docid=68593196&x=1222',
		'title': '',
		'imageId': '68593196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950380&docid=68593202&x=1222',
		'title': '',
		'imageId': '68593202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950380&docid=68593200&x=1222',
		'title': '',
		'imageId': '68593200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950380&docid=68593203&x=1222',
		'title': '',
		'imageId': '68593203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950380';

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