var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238148&x=5224',
		'title': '',
		'imageId': '68238148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238152&x=5224',
		'title': '',
		'imageId': '68238152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238153&x=5224',
		'title': '',
		'imageId': '68238153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238154&x=5224',
		'title': '',
		'imageId': '68238154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238128&x=5224',
		'title': '',
		'imageId': '68238128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238130&x=5224',
		'title': '',
		'imageId': '68238130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238129&x=5224',
		'title': '',
		'imageId': '68238129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238160&x=5224',
		'title': '',
		'imageId': '68238160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238127&x=5224',
		'title': '',
		'imageId': '68238127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238157&x=5224',
		'title': '',
		'imageId': '68238157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238135&x=5224',
		'title': '',
		'imageId': '68238135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238136&x=5224',
		'title': '',
		'imageId': '68238136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238139&x=5224',
		'title': '',
		'imageId': '68238139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238144&x=5224',
		'title': '',
		'imageId': '68238144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238177&x=5224',
		'title': '',
		'imageId': '68238177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238180&x=5224',
		'title': '',
		'imageId': '68238180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238185&x=5224',
		'title': '',
		'imageId': '68238185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238186&x=5224',
		'title': '',
		'imageId': '68238186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238125&x=5224',
		'title': '',
		'imageId': '68238125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238170&x=5224',
		'title': '',
		'imageId': '68238170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238126&x=5224',
		'title': '',
		'imageId': '68238126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934472&docid=68238173&x=5224',
		'title': '',
		'imageId': '68238173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934472';

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