var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917652&x=2256',
		'title': '',
		'imageId': '69917652',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917654&x=2256',
		'title': '',
		'imageId': '69917654',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917655&x=2256',
		'title': '',
		'imageId': '69917655',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917656&x=2256',
		'title': '',
		'imageId': '69917656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917657&x=2256',
		'title': '',
		'imageId': '69917657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917658&x=2256',
		'title': '',
		'imageId': '69917658',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917659&x=2256',
		'title': '',
		'imageId': '69917659',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917660&x=2256',
		'title': '',
		'imageId': '69917660',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917661&x=2256',
		'title': '',
		'imageId': '69917661',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917662&x=2256',
		'title': '',
		'imageId': '69917662',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917663&x=2256',
		'title': '',
		'imageId': '69917663',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917664&x=2256',
		'title': '',
		'imageId': '69917664',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917665&x=2256',
		'title': '',
		'imageId': '69917665',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917666&x=2256',
		'title': '',
		'imageId': '69917666',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917667&x=2256',
		'title': '',
		'imageId': '69917667',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917668&x=2256',
		'title': '',
		'imageId': '69917668',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917669&x=2256',
		'title': '',
		'imageId': '69917669',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917670&x=2256',
		'title': '',
		'imageId': '69917670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917671&x=2256',
		'title': '',
		'imageId': '69917671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061475&docid=69917672&x=2256',
		'title': '',
		'imageId': '69917672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061475';

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