var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018206&docid=70184907&x=94',
		'title': '',
		'imageId': '70184907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018206&docid=70184908&x=94',
		'title': '',
		'imageId': '70184908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018206&docid=70184904&x=94',
		'title': '',
		'imageId': '70184904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018206&docid=70184909&x=94',
		'title': '',
		'imageId': '70184909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018206&docid=70184905&x=94',
		'title': '',
		'imageId': '70184905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018206&docid=70184900&x=94',
		'title': '',
		'imageId': '70184900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018206&docid=70184901&x=94',
		'title': '',
		'imageId': '70184901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018206&docid=70184902&x=94',
		'title': '',
		'imageId': '70184902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018206&docid=70184903&x=94',
		'title': '',
		'imageId': '70184903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018206&docid=70184906&x=94',
		'title': '',
		'imageId': '70184906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018206';

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