var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562177&x=5755',
		'title': '',
		'imageId': '68562177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562185&x=5755',
		'title': '',
		'imageId': '68562185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562187&x=5755',
		'title': '',
		'imageId': '68562187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562189&x=5755',
		'title': '',
		'imageId': '68562189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562192&x=5755',
		'title': '',
		'imageId': '68562192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562188&x=5755',
		'title': '',
		'imageId': '68562188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562191&x=5755',
		'title': '',
		'imageId': '68562191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562190&x=5755',
		'title': '',
		'imageId': '68562190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562193&x=5755',
		'title': '',
		'imageId': '68562193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562195&x=5755',
		'title': '',
		'imageId': '68562195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562194&x=5755',
		'title': '',
		'imageId': '68562194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562196&x=5755',
		'title': '',
		'imageId': '68562196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562178&x=5755',
		'title': '',
		'imageId': '68562178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562198&x=5755',
		'title': '',
		'imageId': '68562198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562180&x=5755',
		'title': '',
		'imageId': '68562180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562179&x=5755',
		'title': '',
		'imageId': '68562179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562181&x=5755',
		'title': '',
		'imageId': '68562181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562197&x=5755',
		'title': '',
		'imageId': '68562197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562182&x=5755',
		'title': '',
		'imageId': '68562182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562184&x=5755',
		'title': '',
		'imageId': '68562184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562183&x=5755',
		'title': '',
		'imageId': '68562183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948891&docid=68562186&x=5755',
		'title': '',
		'imageId': '68562186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948891';

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