var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419060&x=915',
		'title': '',
		'imageId': '69419060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419062&x=915',
		'title': '',
		'imageId': '69419062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419063&x=915',
		'title': '',
		'imageId': '69419063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419064&x=915',
		'title': '',
		'imageId': '69419064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419065&x=915',
		'title': '',
		'imageId': '69419065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419066&x=915',
		'title': '',
		'imageId': '69419066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419067&x=915',
		'title': '',
		'imageId': '69419067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419068&x=915',
		'title': '',
		'imageId': '69419068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419069&x=915',
		'title': '',
		'imageId': '69419069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419070&x=915',
		'title': '',
		'imageId': '69419070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419071&x=915',
		'title': '',
		'imageId': '69419071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419072&x=915',
		'title': '',
		'imageId': '69419072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419074&x=915',
		'title': '',
		'imageId': '69419074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419084&x=915',
		'title': '',
		'imageId': '69419084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419076&x=915',
		'title': '',
		'imageId': '69419076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419077&x=915',
		'title': '',
		'imageId': '69419077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419078&x=915',
		'title': '',
		'imageId': '69419078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419080&x=915',
		'title': '',
		'imageId': '69419080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419081&x=915',
		'title': '',
		'imageId': '69419081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419082&x=915',
		'title': '',
		'imageId': '69419082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419083&x=915',
		'title': '',
		'imageId': '69419083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419075&x=915',
		'title': '',
		'imageId': '69419075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986596&docid=69419073&x=915',
		'title': '',
		'imageId': '69419073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986596';

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