var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900192&x=5015',
		'title': '',
		'imageId': '68900192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900191&x=5015',
		'title': '',
		'imageId': '68900191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900189&x=5015',
		'title': '',
		'imageId': '68900189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900193&x=5015',
		'title': '',
		'imageId': '68900193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900194&x=5015',
		'title': '',
		'imageId': '68900194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900195&x=5015',
		'title': '',
		'imageId': '68900195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900196&x=5015',
		'title': '',
		'imageId': '68900196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900197&x=5015',
		'title': '',
		'imageId': '68900197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900198&x=5015',
		'title': '',
		'imageId': '68900198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900199&x=5015',
		'title': '',
		'imageId': '68900199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900200&x=5015',
		'title': '',
		'imageId': '68900200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900201&x=5015',
		'title': '',
		'imageId': '68900201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900202&x=5015',
		'title': '',
		'imageId': '68900202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900203&x=5015',
		'title': '',
		'imageId': '68900203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900204&x=5015',
		'title': '',
		'imageId': '68900204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900205&x=5015',
		'title': '',
		'imageId': '68900205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900206&x=5015',
		'title': '',
		'imageId': '68900206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900207&x=5015',
		'title': '',
		'imageId': '68900207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900208&x=5015',
		'title': '',
		'imageId': '68900208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900209&x=5015',
		'title': '',
		'imageId': '68900209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900210&x=5015',
		'title': '',
		'imageId': '68900210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900211&x=5015',
		'title': '',
		'imageId': '68900211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963887&docid=68900212&x=5015',
		'title': '',
		'imageId': '68900212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963887';

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