var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010627&docid=69974478&x=2124',
		'title': '',
		'imageId': '69974478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010627&docid=69974477&x=2124',
		'title': '',
		'imageId': '69974477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010627&docid=69974479&x=2124',
		'title': '',
		'imageId': '69974479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010627&docid=69974480&x=2124',
		'title': '',
		'imageId': '69974480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010627&docid=69974481&x=2124',
		'title': '',
		'imageId': '69974481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010627&docid=69974494&x=2124',
		'title': '',
		'imageId': '69974494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010627&docid=69974492&x=2124',
		'title': '',
		'imageId': '69974492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010627&docid=69974495&x=2124',
		'title': '',
		'imageId': '69974495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010627&docid=69974491&x=2124',
		'title': '',
		'imageId': '69974491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010627&docid=69974476&x=2124',
		'title': '',
		'imageId': '69974476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010627';

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