var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972266&docid=69077784&x=118',
		'title': '',
		'imageId': '69077784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972266&docid=69077778&x=118',
		'title': '',
		'imageId': '69077778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972266&docid=69077779&x=118',
		'title': '',
		'imageId': '69077779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972266&docid=69077780&x=118',
		'title': '',
		'imageId': '69077780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972266&docid=69077782&x=118',
		'title': '',
		'imageId': '69077782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972266&docid=69077783&x=118',
		'title': '',
		'imageId': '69077783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972266&docid=69077781&x=118',
		'title': '',
		'imageId': '69077781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972266&docid=69077785&x=118',
		'title': '',
		'imageId': '69077785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972266&docid=69077776&x=118',
		'title': '',
		'imageId': '69077776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972266&docid=69077777&x=118',
		'title': '',
		'imageId': '69077777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972266';

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