var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243386&x=2521',
		'title': '',
		'imageId': '70243386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243363&x=2521',
		'title': '',
		'imageId': '70243363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243358&x=2521',
		'title': '',
		'imageId': '70243358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243364&x=2521',
		'title': '',
		'imageId': '70243364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243359&x=2521',
		'title': '',
		'imageId': '70243359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243350&x=2521',
		'title': '',
		'imageId': '70243350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243379&x=2521',
		'title': '',
		'imageId': '70243379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243381&x=2521',
		'title': '',
		'imageId': '70243381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243383&x=2521',
		'title': '',
		'imageId': '70243383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243370&x=2521',
		'title': '',
		'imageId': '70243370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243373&x=2521',
		'title': '',
		'imageId': '70243373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243347&x=2521',
		'title': '',
		'imageId': '70243347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243351&x=2521',
		'title': '',
		'imageId': '70243351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243349&x=2521',
		'title': '',
		'imageId': '70243349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243348&x=2521',
		'title': '',
		'imageId': '70243348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020466&docid=70243352&x=2521',
		'title': '',
		'imageId': '70243352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020466';

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