var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971942&docid=69063723&x=2543',
		'title': '',
		'imageId': '69063723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971942&docid=69063724&x=2543',
		'title': '',
		'imageId': '69063724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971942&docid=69063725&x=2543',
		'title': '',
		'imageId': '69063725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971942&docid=69063726&x=2543',
		'title': '',
		'imageId': '69063726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971942&docid=69063727&x=2543',
		'title': '',
		'imageId': '69063727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971942&docid=69063728&x=2543',
		'title': '',
		'imageId': '69063728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971942&docid=69063729&x=2543',
		'title': '',
		'imageId': '69063729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971942&docid=69063730&x=2543',
		'title': '',
		'imageId': '69063730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971942&docid=69063731&x=2543',
		'title': '',
		'imageId': '69063731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971942&docid=69063732&x=2543',
		'title': '',
		'imageId': '69063732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971942&docid=69063733&x=2543',
		'title': '',
		'imageId': '69063733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971942';

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