var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998361&docid=69664267&x=3840',
		'title': '',
		'imageId': '69664267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998361&docid=69664256&x=3840',
		'title': '',
		'imageId': '69664256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998361&docid=69664272&x=3840',
		'title': '',
		'imageId': '69664272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998361&docid=69664257&x=3840',
		'title': '',
		'imageId': '69664257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998361&docid=69664259&x=3840',
		'title': '',
		'imageId': '69664259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998361&docid=69664258&x=3840',
		'title': '',
		'imageId': '69664258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998361&docid=69664260&x=3840',
		'title': '',
		'imageId': '69664260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998361&docid=69664261&x=3840',
		'title': '',
		'imageId': '69664261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998361&docid=69664264&x=3840',
		'title': '',
		'imageId': '69664264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998361&docid=69664276&x=3840',
		'title': '',
		'imageId': '69664276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998361';

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