var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3921719&docid=67944217&x=393',
		'title': '',
		'imageId': '67944217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921719&docid=67944219&x=393',
		'title': '',
		'imageId': '67944219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921719&docid=67944223&x=393',
		'title': '',
		'imageId': '67944223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921719&docid=67944218&x=393',
		'title': '',
		'imageId': '67944218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921719&docid=67944215&x=393',
		'title': '',
		'imageId': '67944215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921719&docid=67944222&x=393',
		'title': '',
		'imageId': '67944222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921719&docid=67944224&x=393',
		'title': '',
		'imageId': '67944224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921719&docid=67944221&x=393',
		'title': '',
		'imageId': '67944221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921719&docid=67944216&x=393',
		'title': '',
		'imageId': '67944216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921719&docid=67944220&x=393',
		'title': '',
		'imageId': '67944220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921719&docid=67944214&x=393',
		'title': '',
		'imageId': '67944214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3921719';

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