var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250194&x=5120',
		'title': '',
		'imageId': '70250194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250195&x=5120',
		'title': '',
		'imageId': '70250195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250203&x=5120',
		'title': '',
		'imageId': '70250203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250202&x=5120',
		'title': '',
		'imageId': '70250202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250205&x=5120',
		'title': '',
		'imageId': '70250205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250204&x=5120',
		'title': '',
		'imageId': '70250204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250199&x=5120',
		'title': '',
		'imageId': '70250199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250197&x=5120',
		'title': '',
		'imageId': '70250197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250198&x=5120',
		'title': '',
		'imageId': '70250198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250210&x=5120',
		'title': '',
		'imageId': '70250210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250215&x=5120',
		'title': '',
		'imageId': '70250215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250207&x=5120',
		'title': '',
		'imageId': '70250207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250211&x=5120',
		'title': '',
		'imageId': '70250211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250214&x=5120',
		'title': '',
		'imageId': '70250214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250209&x=5120',
		'title': '',
		'imageId': '70250209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250213&x=5120',
		'title': '',
		'imageId': '70250213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250212&x=5120',
		'title': '',
		'imageId': '70250212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250196&x=5120',
		'title': '',
		'imageId': '70250196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250216&x=5120',
		'title': '',
		'imageId': '70250216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250208&x=5120',
		'title': '',
		'imageId': '70250208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250201&x=5120',
		'title': '',
		'imageId': '70250201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250200&x=5120',
		'title': '',
		'imageId': '70250200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020805&docid=70250206&x=5120',
		'title': '',
		'imageId': '70250206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020805';

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