var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69464746&x=5514',
		'title': '',
		'imageId': '69464746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69464748&x=5514',
		'title': '',
		'imageId': '69464748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69464744&x=5514',
		'title': '',
		'imageId': '69464744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69464745&x=5514',
		'title': '',
		'imageId': '69464745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69464751&x=5514',
		'title': '',
		'imageId': '69464751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69464750&x=5514',
		'title': '',
		'imageId': '69464750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69464752&x=5514',
		'title': '',
		'imageId': '69464752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69464747&x=5514',
		'title': '',
		'imageId': '69464747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69464749&x=5514',
		'title': '',
		'imageId': '69464749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69464753&x=5514',
		'title': '',
		'imageId': '69464753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69470644&x=5514',
		'title': '',
		'imageId': '69470644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988802&docid=69470643&x=5514',
		'title': '',
		'imageId': '69470643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3988802';

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