var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389475&x=154',
		'title': '',
		'imageId': '67389475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389477&x=154',
		'title': '',
		'imageId': '67389477',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389478&x=154',
		'title': '',
		'imageId': '67389478',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389479&x=154',
		'title': '',
		'imageId': '67389479',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389480&x=154',
		'title': '',
		'imageId': '67389480',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389481&x=154',
		'title': '',
		'imageId': '67389481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389482&x=154',
		'title': '',
		'imageId': '67389482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389483&x=154',
		'title': '',
		'imageId': '67389483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389484&x=154',
		'title': '',
		'imageId': '67389484',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389485&x=154',
		'title': '',
		'imageId': '67389485',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389486&x=154',
		'title': '',
		'imageId': '67389486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389487&x=154',
		'title': '',
		'imageId': '67389487',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389488&x=154',
		'title': '',
		'imageId': '67389488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389489&x=154',
		'title': '',
		'imageId': '67389489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389490&x=154',
		'title': '',
		'imageId': '67389490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389491&x=154',
		'title': '',
		'imageId': '67389491',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389492&x=154',
		'title': '',
		'imageId': '67389492',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389493&x=154',
		'title': '',
		'imageId': '67389493',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899822&docid=67389494&x=154',
		'title': '',
		'imageId': '67389494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3899822';

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