var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944145&docid=68442595&x=5630',
		'title': '',
		'imageId': '68442595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944145&docid=68442601&x=5630',
		'title': '',
		'imageId': '68442601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944145&docid=68442597&x=5630',
		'title': '',
		'imageId': '68442597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944145&docid=68442599&x=5630',
		'title': '',
		'imageId': '68442599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944145&docid=68442600&x=5630',
		'title': '',
		'imageId': '68442600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944145&docid=68442603&x=5630',
		'title': '',
		'imageId': '68442603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944145&docid=68442598&x=5630',
		'title': '',
		'imageId': '68442598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944145&docid=68442602&x=5630',
		'title': '',
		'imageId': '68442602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944145&docid=68442604&x=5630',
		'title': '',
		'imageId': '68442604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944145&docid=68442596&x=5630',
		'title': '',
		'imageId': '68442596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944145';

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