var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106874&x=5611',
		'title': '',
		'imageId': '70106874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106886&x=5611',
		'title': '',
		'imageId': '70106886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106887&x=5611',
		'title': '',
		'imageId': '70106887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106882&x=5611',
		'title': '',
		'imageId': '70106882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106884&x=5611',
		'title': '',
		'imageId': '70106884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106875&x=5611',
		'title': '',
		'imageId': '70106875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106878&x=5611',
		'title': '',
		'imageId': '70106878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106870&x=5611',
		'title': '',
		'imageId': '70106870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106877&x=5611',
		'title': '',
		'imageId': '70106877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106879&x=5611',
		'title': '',
		'imageId': '70106879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106872&x=5611',
		'title': '',
		'imageId': '70106872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106888&x=5611',
		'title': '',
		'imageId': '70106888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106891&x=5611',
		'title': '',
		'imageId': '70106891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106881&x=5611',
		'title': '',
		'imageId': '70106881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106880&x=5611',
		'title': '',
		'imageId': '70106880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106873&x=5611',
		'title': '',
		'imageId': '70106873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106889&x=5611',
		'title': '',
		'imageId': '70106889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106885&x=5611',
		'title': '',
		'imageId': '70106885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106871&x=5611',
		'title': '',
		'imageId': '70106871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106876&x=5611',
		'title': '',
		'imageId': '70106876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106890&x=5611',
		'title': '',
		'imageId': '70106890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=70106883&x=5611',
		'title': '',
		'imageId': '70106883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=59270692&x=5611',
		'title': '',
		'imageId': '59270692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012418&docid=59270691&x=5611',
		'title': '',
		'imageId': '59270691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012418';

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