var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456509&x=3255',
		'title': '',
		'imageId': '68456509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456365&x=3255',
		'title': '',
		'imageId': '68456365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456375&x=3255',
		'title': '',
		'imageId': '68456375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456377&x=3255',
		'title': '',
		'imageId': '68456377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456381&x=3255',
		'title': '',
		'imageId': '68456381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456384&x=3255',
		'title': '',
		'imageId': '68456384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456385&x=3255',
		'title': '',
		'imageId': '68456385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456389&x=3255',
		'title': '',
		'imageId': '68456389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456364&x=3255',
		'title': '',
		'imageId': '68456364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456367&x=3255',
		'title': '',
		'imageId': '68456367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456362&x=3255',
		'title': '',
		'imageId': '68456362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944724&docid=68456366&x=3255',
		'title': '',
		'imageId': '68456366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944724';

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