var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230566&x=1957',
		'title': '',
		'imageId': '69230566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230567&x=1957',
		'title': '',
		'imageId': '69230567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230582&x=1957',
		'title': '',
		'imageId': '69230582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230583&x=1957',
		'title': '',
		'imageId': '69230583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230584&x=1957',
		'title': '',
		'imageId': '69230584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230585&x=1957',
		'title': '',
		'imageId': '69230585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230586&x=1957',
		'title': '',
		'imageId': '69230586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230645&x=1957',
		'title': '',
		'imageId': '69230645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230655&x=1957',
		'title': '',
		'imageId': '69230655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230699&x=1957',
		'title': '',
		'imageId': '69230699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230701&x=1957',
		'title': '',
		'imageId': '69230701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230702&x=1957',
		'title': '',
		'imageId': '69230702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230703&x=1957',
		'title': '',
		'imageId': '69230703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230705&x=1957',
		'title': '',
		'imageId': '69230705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230708&x=1957',
		'title': '',
		'imageId': '69230708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230713&x=1957',
		'title': '',
		'imageId': '69230713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230717&x=1957',
		'title': '',
		'imageId': '69230717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230778&x=1957',
		'title': '',
		'imageId': '69230778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230790&x=1957',
		'title': '',
		'imageId': '69230790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230792&x=1957',
		'title': '',
		'imageId': '69230792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978799&docid=69230794&x=1957',
		'title': '',
		'imageId': '69230794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978799';

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