var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70707268&x=2039',
		'title': '',
		'imageId': '70707268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70707269&x=2039',
		'title': '',
		'imageId': '70707269',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583144&x=2039',
		'title': '',
		'imageId': '70583144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70707267&x=2039',
		'title': '',
		'imageId': '70707267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70707266&x=2039',
		'title': '',
		'imageId': '70707266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70707263&x=2039',
		'title': '',
		'imageId': '70707263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583139&x=2039',
		'title': '',
		'imageId': '70583139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70707270&x=2039',
		'title': '',
		'imageId': '70707270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583143&x=2039',
		'title': '',
		'imageId': '70583143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583147&x=2039',
		'title': '',
		'imageId': '70583147',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583149&x=2039',
		'title': '',
		'imageId': '70583149',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583140&x=2039',
		'title': '',
		'imageId': '70583140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583150&x=2039',
		'title': '',
		'imageId': '70583150',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583145&x=2039',
		'title': '',
		'imageId': '70583145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583142&x=2039',
		'title': '',
		'imageId': '70583142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583148&x=2039',
		'title': '',
		'imageId': '70583148',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583141&x=2039',
		'title': '',
		'imageId': '70583141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034708&docid=70583146&x=2039',
		'title': '',
		'imageId': '70583146',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4034708';

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