var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68010898&x=2253',
		'title': '',
		'imageId': '68010898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68010901&x=2253',
		'title': '',
		'imageId': '68010901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68010922&x=2253',
		'title': '',
		'imageId': '68010922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68010925&x=2253',
		'title': '',
		'imageId': '68010925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68010931&x=2253',
		'title': '',
		'imageId': '68010931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68010940&x=2253',
		'title': '',
		'imageId': '68010940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68010949&x=2253',
		'title': '',
		'imageId': '68010949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68010955&x=2253',
		'title': '',
		'imageId': '68010955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68011021&x=2253',
		'title': '',
		'imageId': '68011021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68011025&x=2253',
		'title': '',
		'imageId': '68011025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68011034&x=2253',
		'title': '',
		'imageId': '68011034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932110&docid=68011039&x=2253',
		'title': '',
		'imageId': '68011039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932110';

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