var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231846&x=1848',
		'title': '',
		'imageId': '70231846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231847&x=1848',
		'title': '',
		'imageId': '70231847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231848&x=1848',
		'title': '',
		'imageId': '70231848',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231849&x=1848',
		'title': '',
		'imageId': '70231849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231850&x=1848',
		'title': '',
		'imageId': '70231850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231851&x=1848',
		'title': '',
		'imageId': '70231851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231852&x=1848',
		'title': '',
		'imageId': '70231852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231853&x=1848',
		'title': '',
		'imageId': '70231853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231854&x=1848',
		'title': '',
		'imageId': '70231854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231855&x=1848',
		'title': '',
		'imageId': '70231855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231856&x=1848',
		'title': '',
		'imageId': '70231856',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231857&x=1848',
		'title': '',
		'imageId': '70231857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231858&x=1848',
		'title': '',
		'imageId': '70231858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231859&x=1848',
		'title': '',
		'imageId': '70231859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231860&x=1848',
		'title': '',
		'imageId': '70231860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231861&x=1848',
		'title': '',
		'imageId': '70231861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231862&x=1848',
		'title': '',
		'imageId': '70231862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231863&x=1848',
		'title': '',
		'imageId': '70231863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019876&docid=70231864&x=1848',
		'title': '',
		'imageId': '70231864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019876';

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