var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3987295&docid=69435091&x=1611',
		'title': '',
		'imageId': '69435091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987295&docid=69435094&x=1611',
		'title': '',
		'imageId': '69435094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987295&docid=69435093&x=1611',
		'title': '',
		'imageId': '69435093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987295&docid=69435096&x=1611',
		'title': '',
		'imageId': '69435096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987295&docid=69435095&x=1611',
		'title': '',
		'imageId': '69435095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987295&docid=69435092&x=1611',
		'title': '',
		'imageId': '69435092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987295&docid=69435090&x=1611',
		'title': '',
		'imageId': '69435090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987295&docid=69435098&x=1611',
		'title': '',
		'imageId': '69435098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987295&docid=69435097&x=1611',
		'title': '',
		'imageId': '69435097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987295&docid=69090053&x=1611',
		'title': '',
		'imageId': '69090053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3987295';

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