var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616829&x=614',
		'title': '',
		'imageId': '69616829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616830&x=614',
		'title': '',
		'imageId': '69616830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616832&x=614',
		'title': '',
		'imageId': '69616832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616833&x=614',
		'title': '',
		'imageId': '69616833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616838&x=614',
		'title': '',
		'imageId': '69616838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616845&x=614',
		'title': '',
		'imageId': '69616845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616846&x=614',
		'title': '',
		'imageId': '69616846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616852&x=614',
		'title': '',
		'imageId': '69616852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616856&x=614',
		'title': '',
		'imageId': '69616856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616834&x=614',
		'title': '',
		'imageId': '69616834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616853&x=614',
		'title': '',
		'imageId': '69616853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995936&docid=69616831&x=614',
		'title': '',
		'imageId': '69616831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3995936';

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