var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685098&x=3051',
		'title': '',
		'imageId': '69685098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685111&x=3051',
		'title': '',
		'imageId': '69685111',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685101&x=3051',
		'title': '',
		'imageId': '69685101',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685102&x=3051',
		'title': '',
		'imageId': '69685102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685103&x=3051',
		'title': '',
		'imageId': '69685103',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685100&x=3051',
		'title': '',
		'imageId': '69685100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685099&x=3051',
		'title': '',
		'imageId': '69685099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685104&x=3051',
		'title': '',
		'imageId': '69685104',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685112&x=3051',
		'title': '',
		'imageId': '69685112',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685110&x=3051',
		'title': '',
		'imageId': '69685110',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685116&x=3051',
		'title': '',
		'imageId': '69685116',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685109&x=3051',
		'title': '',
		'imageId': '69685109',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685105&x=3051',
		'title': '',
		'imageId': '69685105',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685114&x=3051',
		'title': '',
		'imageId': '69685114',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685115&x=3051',
		'title': '',
		'imageId': '69685115',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685106&x=3051',
		'title': '',
		'imageId': '69685106',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685113&x=3051',
		'title': '',
		'imageId': '69685113',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685108&x=3051',
		'title': '',
		'imageId': '69685108',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685117&x=3051',
		'title': '',
		'imageId': '69685117',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999061&docid=69685107&x=3051',
		'title': '',
		'imageId': '69685107',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999061';

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