var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728382&x=1640',
		'title': '',
		'imageId': '69728382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728387&x=1640',
		'title': '',
		'imageId': '69728387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728362&x=1640',
		'title': '',
		'imageId': '69728362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728366&x=1640',
		'title': '',
		'imageId': '69728366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728363&x=1640',
		'title': '',
		'imageId': '69728363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728364&x=1640',
		'title': '',
		'imageId': '69728364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728365&x=1640',
		'title': '',
		'imageId': '69728365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728370&x=1640',
		'title': '',
		'imageId': '69728370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728377&x=1640',
		'title': '',
		'imageId': '69728377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728379&x=1640',
		'title': '',
		'imageId': '69728379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728367&x=1640',
		'title': '',
		'imageId': '69728367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000430&docid=69728381&x=1640',
		'title': '',
		'imageId': '69728381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000430';

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