var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978032&docid=69209373&x=454',
		'title': '',
		'imageId': '69209373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978032&docid=69209368&x=454',
		'title': '',
		'imageId': '69209368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978032&docid=69209369&x=454',
		'title': '',
		'imageId': '69209369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978032&docid=69209374&x=454',
		'title': '',
		'imageId': '69209374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978032&docid=69209370&x=454',
		'title': '',
		'imageId': '69209370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978032&docid=69209371&x=454',
		'title': '',
		'imageId': '69209371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978032&docid=69209375&x=454',
		'title': '',
		'imageId': '69209375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978032&docid=69209372&x=454',
		'title': '',
		'imageId': '69209372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978032&docid=69209376&x=454',
		'title': '',
		'imageId': '69209376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978032&docid=69304086&x=454',
		'title': '',
		'imageId': '69304086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978032&docid=69304093&x=454',
		'title': '',
		'imageId': '69304093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978032';

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