var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549972&x=561',
		'title': '',
		'imageId': '68549972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549975&x=561',
		'title': '',
		'imageId': '68549975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549977&x=561',
		'title': '',
		'imageId': '68549977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549983&x=561',
		'title': '',
		'imageId': '68549983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549976&x=561',
		'title': '',
		'imageId': '68549976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549978&x=561',
		'title': '',
		'imageId': '68549978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549980&x=561',
		'title': '',
		'imageId': '68549980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549982&x=561',
		'title': '',
		'imageId': '68549982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549981&x=561',
		'title': '',
		'imageId': '68549981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549979&x=561',
		'title': '',
		'imageId': '68549979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549984&x=561',
		'title': '',
		'imageId': '68549984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549986&x=561',
		'title': '',
		'imageId': '68549986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549985&x=561',
		'title': '',
		'imageId': '68549985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549992&x=561',
		'title': '',
		'imageId': '68549992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549987&x=561',
		'title': '',
		'imageId': '68549987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549988&x=561',
		'title': '',
		'imageId': '68549988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549989&x=561',
		'title': '',
		'imageId': '68549989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549990&x=561',
		'title': '',
		'imageId': '68549990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549993&x=561',
		'title': '',
		'imageId': '68549993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549994&x=561',
		'title': '',
		'imageId': '68549994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549995&x=561',
		'title': '',
		'imageId': '68549995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948418&docid=68549991&x=561',
		'title': '',
		'imageId': '68549991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948418';

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