var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073189&x=2854',
		'title': '',
		'imageId': '70073189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073185&x=2854',
		'title': '',
		'imageId': '70073185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073187&x=2854',
		'title': '',
		'imageId': '70073187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073192&x=2854',
		'title': '',
		'imageId': '70073192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073184&x=2854',
		'title': '',
		'imageId': '70073184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073193&x=2854',
		'title': '',
		'imageId': '70073193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073186&x=2854',
		'title': '',
		'imageId': '70073186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073188&x=2854',
		'title': '',
		'imageId': '70073188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073194&x=2854',
		'title': '',
		'imageId': '70073194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073191&x=2854',
		'title': '',
		'imageId': '70073191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073190&x=2854',
		'title': '',
		'imageId': '70073190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073195&x=2854',
		'title': '',
		'imageId': '70073195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073225&x=2854',
		'title': '',
		'imageId': '70073225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073228&x=2854',
		'title': '',
		'imageId': '70073228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073224&x=2854',
		'title': '',
		'imageId': '70073224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073227&x=2854',
		'title': '',
		'imageId': '70073227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073229&x=2854',
		'title': '',
		'imageId': '70073229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073223&x=2854',
		'title': '',
		'imageId': '70073223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014876&docid=70073226&x=2854',
		'title': '',
		'imageId': '70073226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014876';

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