var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717626&x=3847',
		'title': '',
		'imageId': '69717626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717628&x=3847',
		'title': '',
		'imageId': '69717628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717627&x=3847',
		'title': '',
		'imageId': '69717627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717638&x=3847',
		'title': '',
		'imageId': '69717638',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717633&x=3847',
		'title': '',
		'imageId': '69717633',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717631&x=3847',
		'title': '',
		'imageId': '69717631',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717624&x=3847',
		'title': '',
		'imageId': '69717624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717637&x=3847',
		'title': '',
		'imageId': '69717637',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717623&x=3847',
		'title': '',
		'imageId': '69717623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717629&x=3847',
		'title': '',
		'imageId': '69717629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717625&x=3847',
		'title': '',
		'imageId': '69717625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717632&x=3847',
		'title': '',
		'imageId': '69717632',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717634&x=3847',
		'title': '',
		'imageId': '69717634',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717636&x=3847',
		'title': '',
		'imageId': '69717636',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717630&x=3847',
		'title': '',
		'imageId': '69717630',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717635&x=3847',
		'title': '',
		'imageId': '69717635',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=69717622&x=3847',
		'title': '',
		'imageId': '69717622',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=59270723&x=3847',
		'title': '',
		'imageId': '59270723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999102&docid=59270722&x=3847',
		'title': '',
		'imageId': '59270722',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999102';

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