var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159873&x=4842',
		'title': '',
		'imageId': '70159873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159871&x=4842',
		'title': '',
		'imageId': '70159871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159872&x=4842',
		'title': '',
		'imageId': '70159872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159874&x=4842',
		'title': '',
		'imageId': '70159874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159885&x=4842',
		'title': '',
		'imageId': '70159885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159893&x=4842',
		'title': '',
		'imageId': '70159893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159894&x=4842',
		'title': '',
		'imageId': '70159894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159895&x=4842',
		'title': '',
		'imageId': '70159895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159899&x=4842',
		'title': '',
		'imageId': '70159899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159900&x=4842',
		'title': '',
		'imageId': '70159900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159908&x=4842',
		'title': '',
		'imageId': '70159908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159914&x=4842',
		'title': '',
		'imageId': '70159914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159934&x=4842',
		'title': '',
		'imageId': '70159934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159916&x=4842',
		'title': '',
		'imageId': '70159916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159923&x=4842',
		'title': '',
		'imageId': '70159923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159924&x=4842',
		'title': '',
		'imageId': '70159924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159927&x=4842',
		'title': '',
		'imageId': '70159927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159922&x=4842',
		'title': '',
		'imageId': '70159922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159935&x=4842',
		'title': '',
		'imageId': '70159935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159936&x=4842',
		'title': '',
		'imageId': '70159936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159870&x=4842',
		'title': '',
		'imageId': '70159870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017160&docid=70159869&x=4842',
		'title': '',
		'imageId': '70159869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017160';

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