var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161986&x=5420',
		'title': '',
		'imageId': '70161986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161997&x=5420',
		'title': '',
		'imageId': '70161997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161989&x=5420',
		'title': '',
		'imageId': '70161989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161996&x=5420',
		'title': '',
		'imageId': '70161996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70162007&x=5420',
		'title': '',
		'imageId': '70162007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161992&x=5420',
		'title': '',
		'imageId': '70161992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70162005&x=5420',
		'title': '',
		'imageId': '70162005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161991&x=5420',
		'title': '',
		'imageId': '70161991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161988&x=5420',
		'title': '',
		'imageId': '70161988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70162003&x=5420',
		'title': '',
		'imageId': '70162003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161993&x=5420',
		'title': '',
		'imageId': '70161993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161990&x=5420',
		'title': '',
		'imageId': '70161990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161987&x=5420',
		'title': '',
		'imageId': '70161987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70162006&x=5420',
		'title': '',
		'imageId': '70162006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161995&x=5420',
		'title': '',
		'imageId': '70161995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70162001&x=5420',
		'title': '',
		'imageId': '70162001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70162002&x=5420',
		'title': '',
		'imageId': '70162002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70162000&x=5420',
		'title': '',
		'imageId': '70162000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161999&x=5420',
		'title': '',
		'imageId': '70161999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161998&x=5420',
		'title': '',
		'imageId': '70161998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017186&docid=70161994&x=5420',
		'title': '',
		'imageId': '70161994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017186';

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