var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214844&x=933',
		'title': '',
		'imageId': '70214844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214868&x=933',
		'title': '',
		'imageId': '70214868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214870&x=933',
		'title': '',
		'imageId': '70214870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214851&x=933',
		'title': '',
		'imageId': '70214851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214832&x=933',
		'title': '',
		'imageId': '70214832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214834&x=933',
		'title': '',
		'imageId': '70214834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214836&x=933',
		'title': '',
		'imageId': '70214836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214835&x=933',
		'title': '',
		'imageId': '70214835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214850&x=933',
		'title': '',
		'imageId': '70214850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214854&x=933',
		'title': '',
		'imageId': '70214854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214853&x=933',
		'title': '',
		'imageId': '70214853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214855&x=933',
		'title': '',
		'imageId': '70214855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214862&x=933',
		'title': '',
		'imageId': '70214862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214869&x=933',
		'title': '',
		'imageId': '70214869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214833&x=933',
		'title': '',
		'imageId': '70214833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019392&docid=70214831&x=933',
		'title': '',
		'imageId': '70214831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019392';

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