var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899822&x=2244',
		'title': '',
		'imageId': '67899822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899824&x=2244',
		'title': '',
		'imageId': '67899824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899825&x=2244',
		'title': '',
		'imageId': '67899825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899826&x=2244',
		'title': '',
		'imageId': '67899826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899827&x=2244',
		'title': '',
		'imageId': '67899827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899828&x=2244',
		'title': '',
		'imageId': '67899828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899829&x=2244',
		'title': '',
		'imageId': '67899829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899830&x=2244',
		'title': '',
		'imageId': '67899830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899831&x=2244',
		'title': '',
		'imageId': '67899831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899832&x=2244',
		'title': '',
		'imageId': '67899832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899833&x=2244',
		'title': '',
		'imageId': '67899833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919939&docid=67899834&x=2244',
		'title': '',
		'imageId': '67899834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919939';

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