var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924330&x=4233',
		'title': '',
		'imageId': '69924330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924333&x=4233',
		'title': '',
		'imageId': '69924333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924339&x=4233',
		'title': '',
		'imageId': '69924339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924342&x=4233',
		'title': '',
		'imageId': '69924342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924345&x=4233',
		'title': '',
		'imageId': '69924345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924348&x=4233',
		'title': '',
		'imageId': '69924348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924365&x=4233',
		'title': '',
		'imageId': '69924365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924368&x=4233',
		'title': '',
		'imageId': '69924368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924407&x=4233',
		'title': '',
		'imageId': '69924407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924413&x=4233',
		'title': '',
		'imageId': '69924413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924431&x=4233',
		'title': '',
		'imageId': '69924431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008522&docid=69924464&x=4233',
		'title': '',
		'imageId': '69924464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008522';

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