var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161704&x=5152',
		'title': '',
		'imageId': '68161704',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161706&x=5152',
		'title': '',
		'imageId': '68161706',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161707&x=5152',
		'title': '',
		'imageId': '68161707',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161708&x=5152',
		'title': '',
		'imageId': '68161708',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161709&x=5152',
		'title': '',
		'imageId': '68161709',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161710&x=5152',
		'title': '',
		'imageId': '68161710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161688&x=5152',
		'title': '',
		'imageId': '68161688',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161689&x=5152',
		'title': '',
		'imageId': '68161689',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161690&x=5152',
		'title': '',
		'imageId': '68161690',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161691&x=5152',
		'title': '',
		'imageId': '68161691',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161692&x=5152',
		'title': '',
		'imageId': '68161692',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161693&x=5152',
		'title': '',
		'imageId': '68161693',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161694&x=5152',
		'title': '',
		'imageId': '68161694',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161695&x=5152',
		'title': '',
		'imageId': '68161695',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161696&x=5152',
		'title': '',
		'imageId': '68161696',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161697&x=5152',
		'title': '',
		'imageId': '68161697',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161698&x=5152',
		'title': '',
		'imageId': '68161698',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161699&x=5152',
		'title': '',
		'imageId': '68161699',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161700&x=5152',
		'title': '',
		'imageId': '68161700',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931856&docid=68161701&x=5152',
		'title': '',
		'imageId': '68161701',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931856';

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