var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252644&x=1141',
		'title': '',
		'imageId': '70252644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252649&x=1141',
		'title': '',
		'imageId': '70252649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252642&x=1141',
		'title': '',
		'imageId': '70252642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252640&x=1141',
		'title': '',
		'imageId': '70252640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252641&x=1141',
		'title': '',
		'imageId': '70252641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252647&x=1141',
		'title': '',
		'imageId': '70252647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252634&x=1141',
		'title': '',
		'imageId': '70252634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252646&x=1141',
		'title': '',
		'imageId': '70252646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252645&x=1141',
		'title': '',
		'imageId': '70252645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252638&x=1141',
		'title': '',
		'imageId': '70252638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252648&x=1141',
		'title': '',
		'imageId': '70252648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252639&x=1141',
		'title': '',
		'imageId': '70252639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252636&x=1141',
		'title': '',
		'imageId': '70252636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252637&x=1141',
		'title': '',
		'imageId': '70252637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252643&x=1141',
		'title': '',
		'imageId': '70252643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020959&docid=70252635&x=1141',
		'title': '',
		'imageId': '70252635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020959';

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