var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999616&docid=69700141&x=528',
		'title': '',
		'imageId': '69700141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999616&docid=69700143&x=528',
		'title': '',
		'imageId': '69700143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999616&docid=69700134&x=528',
		'title': '',
		'imageId': '69700134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999616&docid=69700142&x=528',
		'title': '',
		'imageId': '69700142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999616&docid=69700135&x=528',
		'title': '',
		'imageId': '69700135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999616&docid=69700139&x=528',
		'title': '',
		'imageId': '69700139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999616&docid=69700140&x=528',
		'title': '',
		'imageId': '69700140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999616&docid=69700137&x=528',
		'title': '',
		'imageId': '69700137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999616&docid=69700138&x=528',
		'title': '',
		'imageId': '69700138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999616&docid=69700144&x=528',
		'title': '',
		'imageId': '69700144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999616';

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