var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449058&x=5924',
		'title': '',
		'imageId': '67449058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449062&x=5924',
		'title': '',
		'imageId': '67449062',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449057&x=5924',
		'title': '',
		'imageId': '67449057',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449065&x=5924',
		'title': '',
		'imageId': '67449065',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449063&x=5924',
		'title': '',
		'imageId': '67449063',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449061&x=5924',
		'title': '',
		'imageId': '67449061',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449060&x=5924',
		'title': '',
		'imageId': '67449060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449059&x=5924',
		'title': '',
		'imageId': '67449059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449064&x=5924',
		'title': '',
		'imageId': '67449064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449053&x=5924',
		'title': '',
		'imageId': '67449053',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449066&x=5924',
		'title': '',
		'imageId': '67449066',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449055&x=5924',
		'title': '',
		'imageId': '67449055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449069&x=5924',
		'title': '',
		'imageId': '67449069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449070&x=5924',
		'title': '',
		'imageId': '67449070',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449067&x=5924',
		'title': '',
		'imageId': '67449067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449068&x=5924',
		'title': '',
		'imageId': '67449068',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449054&x=5924',
		'title': '',
		'imageId': '67449054',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449071&x=5924',
		'title': '',
		'imageId': '67449071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902065&docid=67449056&x=5924',
		'title': '',
		'imageId': '67449056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3902065';

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