var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68657049&x=3255',
		'title': '',
		'imageId': '68657049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68657055&x=3255',
		'title': '',
		'imageId': '68657055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68658654&x=3255',
		'title': '',
		'imageId': '68658654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68657059&x=3255',
		'title': '',
		'imageId': '68657059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68657060&x=3255',
		'title': '',
		'imageId': '68657060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68657052&x=3255',
		'title': '',
		'imageId': '68657052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68657058&x=3255',
		'title': '',
		'imageId': '68657058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68657053&x=3255',
		'title': '',
		'imageId': '68657053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68657057&x=3255',
		'title': '',
		'imageId': '68657057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68657051&x=3255',
		'title': '',
		'imageId': '68657051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68657054&x=3255',
		'title': '',
		'imageId': '68657054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970513&docid=68657050&x=3255',
		'title': '',
		'imageId': '68657050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970513';

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