var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719167&x=2330',
		'title': '',
		'imageId': '69719167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719166&x=2330',
		'title': '',
		'imageId': '69719166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719177&x=2330',
		'title': '',
		'imageId': '69719177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719184&x=2330',
		'title': '',
		'imageId': '69719184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719180&x=2330',
		'title': '',
		'imageId': '69719180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719165&x=2330',
		'title': '',
		'imageId': '69719165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719176&x=2330',
		'title': '',
		'imageId': '69719176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719183&x=2330',
		'title': '',
		'imageId': '69719183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719173&x=2330',
		'title': '',
		'imageId': '69719173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719172&x=2330',
		'title': '',
		'imageId': '69719172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719182&x=2330',
		'title': '',
		'imageId': '69719182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719185&x=2330',
		'title': '',
		'imageId': '69719185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719168&x=2330',
		'title': '',
		'imageId': '69719168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719178&x=2330',
		'title': '',
		'imageId': '69719178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719181&x=2330',
		'title': '',
		'imageId': '69719181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719169&x=2330',
		'title': '',
		'imageId': '69719169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719175&x=2330',
		'title': '',
		'imageId': '69719175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719170&x=2330',
		'title': '',
		'imageId': '69719170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719179&x=2330',
		'title': '',
		'imageId': '69719179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719171&x=2330',
		'title': '',
		'imageId': '69719171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=69719174&x=2330',
		'title': '',
		'imageId': '69719174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=59270723&x=2330',
		'title': '',
		'imageId': '59270723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999182&docid=59270722&x=2330',
		'title': '',
		'imageId': '59270722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999182';

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