var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073631&x=1219',
		'title': '',
		'imageId': '70073631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073636&x=1219',
		'title': '',
		'imageId': '70073636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073613&x=1219',
		'title': '',
		'imageId': '70073613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073633&x=1219',
		'title': '',
		'imageId': '70073633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073611&x=1219',
		'title': '',
		'imageId': '70073611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073614&x=1219',
		'title': '',
		'imageId': '70073614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073623&x=1219',
		'title': '',
		'imageId': '70073623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073624&x=1219',
		'title': '',
		'imageId': '70073624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073612&x=1219',
		'title': '',
		'imageId': '70073612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073642&x=1219',
		'title': '',
		'imageId': '70073642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073632&x=1219',
		'title': '',
		'imageId': '70073632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073619&x=1219',
		'title': '',
		'imageId': '70073619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073641&x=1219',
		'title': '',
		'imageId': '70073641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073650&x=1219',
		'title': '',
		'imageId': '70073650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073648&x=1219',
		'title': '',
		'imageId': '70073648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073651&x=1219',
		'title': '',
		'imageId': '70073651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073656&x=1219',
		'title': '',
		'imageId': '70073656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073657&x=1219',
		'title': '',
		'imageId': '70073657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073661&x=1219',
		'title': '',
		'imageId': '70073661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073665&x=1219',
		'title': '',
		'imageId': '70073665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073610&x=1219',
		'title': '',
		'imageId': '70073610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014913&docid=70073615&x=1219',
		'title': '',
		'imageId': '70073615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014913';

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