var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019196&docid=70209517&x=5324',
		'title': '',
		'imageId': '70209517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019196&docid=70209518&x=5324',
		'title': '',
		'imageId': '70209518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019196&docid=70209519&x=5324',
		'title': '',
		'imageId': '70209519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019196&docid=70209520&x=5324',
		'title': '',
		'imageId': '70209520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019196&docid=70209521&x=5324',
		'title': '',
		'imageId': '70209521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019196&docid=70209522&x=5324',
		'title': '',
		'imageId': '70209522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019196&docid=70209516&x=5324',
		'title': '',
		'imageId': '70209516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019196&docid=70209523&x=5324',
		'title': '',
		'imageId': '70209523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019196&docid=70209524&x=5324',
		'title': '',
		'imageId': '70209524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019196&docid=70209525&x=5324',
		'title': '',
		'imageId': '70209525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019196';

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