var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020000&docid=70234229&x=349',
		'title': '',
		'imageId': '70234229',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020000&docid=70234236&x=349',
		'title': '',
		'imageId': '70234236',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020000&docid=70234239&x=349',
		'title': '',
		'imageId': '70234239',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020000&docid=70234242&x=349',
		'title': '',
		'imageId': '70234242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020000&docid=70234243&x=349',
		'title': '',
		'imageId': '70234243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020000&docid=70234244&x=349',
		'title': '',
		'imageId': '70234244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020000&docid=70234245&x=349',
		'title': '',
		'imageId': '70234245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020000&docid=70234246&x=349',
		'title': '',
		'imageId': '70234246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020000&docid=70234247&x=349',
		'title': '',
		'imageId': '70234247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020000&docid=70234248&x=349',
		'title': '',
		'imageId': '70234248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020000&docid=70234249&x=349',
		'title': '',
		'imageId': '70234249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020000';

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