var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238871&x=3829',
		'title': '',
		'imageId': '68238871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238868&x=3829',
		'title': '',
		'imageId': '68238868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238869&x=3829',
		'title': '',
		'imageId': '68238869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238870&x=3829',
		'title': '',
		'imageId': '68238870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238878&x=3829',
		'title': '',
		'imageId': '68238878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238867&x=3829',
		'title': '',
		'imageId': '68238867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238888&x=3829',
		'title': '',
		'imageId': '68238888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238886&x=3829',
		'title': '',
		'imageId': '68238886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238883&x=3829',
		'title': '',
		'imageId': '68238883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238873&x=3829',
		'title': '',
		'imageId': '68238873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238879&x=3829',
		'title': '',
		'imageId': '68238879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238880&x=3829',
		'title': '',
		'imageId': '68238880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238884&x=3829',
		'title': '',
		'imageId': '68238884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238875&x=3829',
		'title': '',
		'imageId': '68238875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238877&x=3829',
		'title': '',
		'imageId': '68238877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238874&x=3829',
		'title': '',
		'imageId': '68238874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238889&x=3829',
		'title': '',
		'imageId': '68238889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238882&x=3829',
		'title': '',
		'imageId': '68238882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238876&x=3829',
		'title': '',
		'imageId': '68238876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238881&x=3829',
		'title': '',
		'imageId': '68238881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238872&x=3829',
		'title': '',
		'imageId': '68238872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238887&x=3829',
		'title': '',
		'imageId': '68238887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924894&docid=68238885&x=3829',
		'title': '',
		'imageId': '68238885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924894';

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