var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678175&x=324',
		'title': '',
		'imageId': '68678175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678177&x=324',
		'title': '',
		'imageId': '68678177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678179&x=324',
		'title': '',
		'imageId': '68678179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678172&x=324',
		'title': '',
		'imageId': '68678172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678181&x=324',
		'title': '',
		'imageId': '68678181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678171&x=324',
		'title': '',
		'imageId': '68678171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678173&x=324',
		'title': '',
		'imageId': '68678173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678170&x=324',
		'title': '',
		'imageId': '68678170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678180&x=324',
		'title': '',
		'imageId': '68678180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678176&x=324',
		'title': '',
		'imageId': '68678176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678178&x=324',
		'title': '',
		'imageId': '68678178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954176&docid=68678174&x=324',
		'title': '',
		'imageId': '68678174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954176';

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