var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610081&x=4642',
		'title': '',
		'imageId': '70610081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610083&x=4642',
		'title': '',
		'imageId': '70610083',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610066&x=4642',
		'title': '',
		'imageId': '70610066',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610084&x=4642',
		'title': '',
		'imageId': '70610084',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610068&x=4642',
		'title': '',
		'imageId': '70610068',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610067&x=4642',
		'title': '',
		'imageId': '70610067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610070&x=4642',
		'title': '',
		'imageId': '70610070',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610071&x=4642',
		'title': '',
		'imageId': '70610071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610069&x=4642',
		'title': '',
		'imageId': '70610069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610072&x=4642',
		'title': '',
		'imageId': '70610072',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610073&x=4642',
		'title': '',
		'imageId': '70610073',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610074&x=4642',
		'title': '',
		'imageId': '70610074',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610075&x=4642',
		'title': '',
		'imageId': '70610075',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610076&x=4642',
		'title': '',
		'imageId': '70610076',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610077&x=4642',
		'title': '',
		'imageId': '70610077',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610078&x=4642',
		'title': '',
		'imageId': '70610078',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610079&x=4642',
		'title': '',
		'imageId': '70610079',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035951&docid=70610080&x=4642',
		'title': '',
		'imageId': '70610080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035951';

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