var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914465&x=1417',
		'title': '',
		'imageId': '67914465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914468&x=1417',
		'title': '',
		'imageId': '67914468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914471&x=1417',
		'title': '',
		'imageId': '67914471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914480&x=1417',
		'title': '',
		'imageId': '67914480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914483&x=1417',
		'title': '',
		'imageId': '67914483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914474&x=1417',
		'title': '',
		'imageId': '67914474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914477&x=1417',
		'title': '',
		'imageId': '67914477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914489&x=1417',
		'title': '',
		'imageId': '67914489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914488&x=1417',
		'title': '',
		'imageId': '67914488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914445&x=1417',
		'title': '',
		'imageId': '67914445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914449&x=1417',
		'title': '',
		'imageId': '67914449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914493&x=1417',
		'title': '',
		'imageId': '67914493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914446&x=1417',
		'title': '',
		'imageId': '67914446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914447&x=1417',
		'title': '',
		'imageId': '67914447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914448&x=1417',
		'title': '',
		'imageId': '67914448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914450&x=1417',
		'title': '',
		'imageId': '67914450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914453&x=1417',
		'title': '',
		'imageId': '67914453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914459&x=1417',
		'title': '',
		'imageId': '67914459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914457&x=1417',
		'title': '',
		'imageId': '67914457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920139&docid=67914464&x=1417',
		'title': '',
		'imageId': '67914464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920139';

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