var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933424&docid=68214018&x=378',
		'title': '',
		'imageId': '68214018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933424&docid=68214020&x=378',
		'title': '',
		'imageId': '68214020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933424&docid=68214021&x=378',
		'title': '',
		'imageId': '68214021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933424&docid=68214027&x=378',
		'title': '',
		'imageId': '68214027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933424&docid=68214019&x=378',
		'title': '',
		'imageId': '68214019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933424&docid=68214025&x=378',
		'title': '',
		'imageId': '68214025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933424&docid=68214024&x=378',
		'title': '',
		'imageId': '68214024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933424&docid=68214026&x=378',
		'title': '',
		'imageId': '68214026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933424&docid=68214022&x=378',
		'title': '',
		'imageId': '68214022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933424&docid=68214023&x=378',
		'title': '',
		'imageId': '68214023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933424';

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