var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68512491&x=2317',
		'title': '',
		'imageId': '68512491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68512498&x=2317',
		'title': '',
		'imageId': '68512498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68512492&x=2317',
		'title': '',
		'imageId': '68512492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68512493&x=2317',
		'title': '',
		'imageId': '68512493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68512496&x=2317',
		'title': '',
		'imageId': '68512496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68512497&x=2317',
		'title': '',
		'imageId': '68512497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68512494&x=2317',
		'title': '',
		'imageId': '68512494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68512495&x=2317',
		'title': '',
		'imageId': '68512495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68563408&x=2317',
		'title': '',
		'imageId': '68563408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68563410&x=2317',
		'title': '',
		'imageId': '68563410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68563409&x=2317',
		'title': '',
		'imageId': '68563409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947105&docid=68512555&x=2317',
		'title': '',
		'imageId': '68512555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947105';

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