var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4042723&docid=70192284&x=5849',
		'title': '',
		'imageId': '70192284',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042723&docid=70192287&x=5849',
		'title': '',
		'imageId': '70192287',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042723&docid=70192288&x=5849',
		'title': '',
		'imageId': '70192288',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042723&docid=70192286&x=5849',
		'title': '',
		'imageId': '70192286',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042723&docid=70192285&x=5849',
		'title': '',
		'imageId': '70192285',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042723&docid=70192289&x=5849',
		'title': '',
		'imageId': '70192289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042723&docid=70192290&x=5849',
		'title': '',
		'imageId': '70192290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042723&docid=70192291&x=5849',
		'title': '',
		'imageId': '70192291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042723&docid=70192292&x=5849',
		'title': '',
		'imageId': '70192292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042723&docid=70192293&x=5849',
		'title': '',
		'imageId': '70192293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042723&docid=70192294&x=5849',
		'title': '',
		'imageId': '70192294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4042723';

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