var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705794&x=2221',
		'title': '',
		'imageId': '68705794',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705797&x=2221',
		'title': '',
		'imageId': '68705797',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705793&x=2221',
		'title': '',
		'imageId': '68705793',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705799&x=2221',
		'title': '',
		'imageId': '68705799',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705801&x=2221',
		'title': '',
		'imageId': '68705801',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705798&x=2221',
		'title': '',
		'imageId': '68705798',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705795&x=2221',
		'title': '',
		'imageId': '68705795',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705796&x=2221',
		'title': '',
		'imageId': '68705796',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705800&x=2221',
		'title': '',
		'imageId': '68705800',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705808&x=2221',
		'title': '',
		'imageId': '68705808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705806&x=2221',
		'title': '',
		'imageId': '68705806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705802&x=2221',
		'title': '',
		'imageId': '68705802',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68706943&x=2221',
		'title': '',
		'imageId': '68706943',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68706942&x=2221',
		'title': '',
		'imageId': '68706942',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705803&x=2221',
		'title': '',
		'imageId': '68705803',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705804&x=2221',
		'title': '',
		'imageId': '68705804',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705805&x=2221',
		'title': '',
		'imageId': '68705805',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705807&x=2221',
		'title': '',
		'imageId': '68705807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705810&x=2221',
		'title': '',
		'imageId': '68705810',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955307&docid=68705809&x=2221',
		'title': '',
		'imageId': '68705809',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955307';

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