var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3838211&docid=65860321&x=3947',
		'title': '',
		'imageId': '65860321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3838211&docid=65860322&x=3947',
		'title': '',
		'imageId': '65860322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3838211&docid=65860323&x=3947',
		'title': '',
		'imageId': '65860323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3838211&docid=65860324&x=3947',
		'title': '',
		'imageId': '65860324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3838211&docid=65860325&x=3947',
		'title': '',
		'imageId': '65860325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3838211&docid=68204713&x=3947',
		'title': '',
		'imageId': '68204713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3838211&docid=68204725&x=3947',
		'title': '',
		'imageId': '68204725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3838211&docid=68204728&x=3947',
		'title': '',
		'imageId': '68204728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3838211&docid=68204731&x=3947',
		'title': '',
		'imageId': '68204731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3838211&docid=68204734&x=3947',
		'title': '',
		'imageId': '68204734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3838211';

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