var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719356&x=2653',
		'title': '',
		'imageId': '69719356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719339&x=2653',
		'title': '',
		'imageId': '69719339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719343&x=2653',
		'title': '',
		'imageId': '69719343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719358&x=2653',
		'title': '',
		'imageId': '69719358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719351&x=2653',
		'title': '',
		'imageId': '69719351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719350&x=2653',
		'title': '',
		'imageId': '69719350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719354&x=2653',
		'title': '',
		'imageId': '69719354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719352&x=2653',
		'title': '',
		'imageId': '69719352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719355&x=2653',
		'title': '',
		'imageId': '69719355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719357&x=2653',
		'title': '',
		'imageId': '69719357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719342&x=2653',
		'title': '',
		'imageId': '69719342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719359&x=2653',
		'title': '',
		'imageId': '69719359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719341&x=2653',
		'title': '',
		'imageId': '69719341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719340&x=2653',
		'title': '',
		'imageId': '69719340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719347&x=2653',
		'title': '',
		'imageId': '69719347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719344&x=2653',
		'title': '',
		'imageId': '69719344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719353&x=2653',
		'title': '',
		'imageId': '69719353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719345&x=2653',
		'title': '',
		'imageId': '69719345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719346&x=2653',
		'title': '',
		'imageId': '69719346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719348&x=2653',
		'title': '',
		'imageId': '69719348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=69719349&x=2653',
		'title': '',
		'imageId': '69719349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=59270723&x=2653',
		'title': '',
		'imageId': '59270723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999183&docid=59270722&x=2653',
		'title': '',
		'imageId': '59270722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999183';

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