var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078063&x=1528',
		'title': '',
		'imageId': '70078063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078065&x=1528',
		'title': '',
		'imageId': '70078065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078068&x=1528',
		'title': '',
		'imageId': '70078068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078076&x=1528',
		'title': '',
		'imageId': '70078076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078072&x=1528',
		'title': '',
		'imageId': '70078072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078074&x=1528',
		'title': '',
		'imageId': '70078074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078077&x=1528',
		'title': '',
		'imageId': '70078077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078070&x=1528',
		'title': '',
		'imageId': '70078070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078078&x=1528',
		'title': '',
		'imageId': '70078078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078079&x=1528',
		'title': '',
		'imageId': '70078079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078080&x=1528',
		'title': '',
		'imageId': '70078080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078081&x=1528',
		'title': '',
		'imageId': '70078081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078082&x=1528',
		'title': '',
		'imageId': '70078082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078067&x=1528',
		'title': '',
		'imageId': '70078067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078075&x=1528',
		'title': '',
		'imageId': '70078075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015127&docid=70078073&x=1528',
		'title': '',
		'imageId': '70078073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015127';

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