var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104523&x=5620',
		'title': '',
		'imageId': '70104523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104524&x=5620',
		'title': '',
		'imageId': '70104524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104525&x=5620',
		'title': '',
		'imageId': '70104525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104548&x=5620',
		'title': '',
		'imageId': '70104548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104553&x=5620',
		'title': '',
		'imageId': '70104553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104558&x=5620',
		'title': '',
		'imageId': '70104558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104564&x=5620',
		'title': '',
		'imageId': '70104564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104565&x=5620',
		'title': '',
		'imageId': '70104565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104567&x=5620',
		'title': '',
		'imageId': '70104567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104521&x=5620',
		'title': '',
		'imageId': '70104521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104585&x=5620',
		'title': '',
		'imageId': '70104585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104589&x=5620',
		'title': '',
		'imageId': '70104589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104598&x=5620',
		'title': '',
		'imageId': '70104598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104596&x=5620',
		'title': '',
		'imageId': '70104596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104612&x=5620',
		'title': '',
		'imageId': '70104612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104618&x=5620',
		'title': '',
		'imageId': '70104618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104624&x=5620',
		'title': '',
		'imageId': '70104624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104599&x=5620',
		'title': '',
		'imageId': '70104599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104600&x=5620',
		'title': '',
		'imageId': '70104600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104619&x=5620',
		'title': '',
		'imageId': '70104619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104637&x=5620',
		'title': '',
		'imageId': '70104637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104632&x=5620',
		'title': '',
		'imageId': '70104632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104652&x=5620',
		'title': '',
		'imageId': '70104652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104654&x=5620',
		'title': '',
		'imageId': '70104654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104657&x=5620',
		'title': '',
		'imageId': '70104657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104658&x=5620',
		'title': '',
		'imageId': '70104658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104608&x=5620',
		'title': '',
		'imageId': '70104608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104611&x=5620',
		'title': '',
		'imageId': '70104611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104634&x=5620',
		'title': '',
		'imageId': '70104634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104638&x=5620',
		'title': '',
		'imageId': '70104638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104640&x=5620',
		'title': '',
		'imageId': '70104640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104643&x=5620',
		'title': '',
		'imageId': '70104643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104649&x=5620',
		'title': '',
		'imageId': '70104649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104522&x=5620',
		'title': '',
		'imageId': '70104522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015784&docid=70104520&x=5620',
		'title': '',
		'imageId': '70104520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015784';

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