var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013853&docid=70053259&x=4613',
		'title': '',
		'imageId': '70053259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013853&docid=70053254&x=4613',
		'title': '',
		'imageId': '70053254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013853&docid=70053262&x=4613',
		'title': '',
		'imageId': '70053262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013853&docid=70053255&x=4613',
		'title': '',
		'imageId': '70053255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013853&docid=70053264&x=4613',
		'title': '',
		'imageId': '70053264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013853&docid=70053257&x=4613',
		'title': '',
		'imageId': '70053257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013853&docid=70053261&x=4613',
		'title': '',
		'imageId': '70053261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013853&docid=70053263&x=4613',
		'title': '',
		'imageId': '70053263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013853&docid=70053260&x=4613',
		'title': '',
		'imageId': '70053260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013853&docid=70053258&x=4613',
		'title': '',
		'imageId': '70053258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013853&docid=70053256&x=4613',
		'title': '',
		'imageId': '70053256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013853';

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