var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999632&docid=69701056&x=5453',
		'title': '',
		'imageId': '69701056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999632&docid=69701048&x=5453',
		'title': '',
		'imageId': '69701048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999632&docid=69701050&x=5453',
		'title': '',
		'imageId': '69701050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999632&docid=69701053&x=5453',
		'title': '',
		'imageId': '69701053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999632&docid=69701054&x=5453',
		'title': '',
		'imageId': '69701054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999632&docid=69701049&x=5453',
		'title': '',
		'imageId': '69701049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999632&docid=69701052&x=5453',
		'title': '',
		'imageId': '69701052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999632&docid=69701058&x=5453',
		'title': '',
		'imageId': '69701058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999632&docid=69701051&x=5453',
		'title': '',
		'imageId': '69701051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999632&docid=69701057&x=5453',
		'title': '',
		'imageId': '69701057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999632&docid=69701055&x=5453',
		'title': '',
		'imageId': '69701055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999632';

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