var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125018&x=1411',
		'title': '',
		'imageId': '68125018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125024&x=1411',
		'title': '',
		'imageId': '68125024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125019&x=1411',
		'title': '',
		'imageId': '68125019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125023&x=1411',
		'title': '',
		'imageId': '68125023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125020&x=1411',
		'title': '',
		'imageId': '68125020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125017&x=1411',
		'title': '',
		'imageId': '68125017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125022&x=1411',
		'title': '',
		'imageId': '68125022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125026&x=1411',
		'title': '',
		'imageId': '68125026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125021&x=1411',
		'title': '',
		'imageId': '68125021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125029&x=1411',
		'title': '',
		'imageId': '68125029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125027&x=1411',
		'title': '',
		'imageId': '68125027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125037&x=1411',
		'title': '',
		'imageId': '68125037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125016&x=1411',
		'title': '',
		'imageId': '68125016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125025&x=1411',
		'title': '',
		'imageId': '68125025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125028&x=1411',
		'title': '',
		'imageId': '68125028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125031&x=1411',
		'title': '',
		'imageId': '68125031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125030&x=1411',
		'title': '',
		'imageId': '68125030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125032&x=1411',
		'title': '',
		'imageId': '68125032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125033&x=1411',
		'title': '',
		'imageId': '68125033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125035&x=1411',
		'title': '',
		'imageId': '68125035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125034&x=1411',
		'title': '',
		'imageId': '68125034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125036&x=1411',
		'title': '',
		'imageId': '68125036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125038&x=1411',
		'title': '',
		'imageId': '68125038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929804&docid=68125160&x=1411',
		'title': '',
		'imageId': '68125160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929804';

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