var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009319&docid=69693225&x=2143',
		'title': '',
		'imageId': '69693225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009319&docid=69693228&x=2143',
		'title': '',
		'imageId': '69693228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009319&docid=69693241&x=2143',
		'title': '',
		'imageId': '69693241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009319&docid=69693247&x=2143',
		'title': '',
		'imageId': '69693247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009319&docid=69693250&x=2143',
		'title': '',
		'imageId': '69693250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009319&docid=69693256&x=2143',
		'title': '',
		'imageId': '69693256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009319&docid=69693259&x=2143',
		'title': '',
		'imageId': '69693259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009319';

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