var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669682&x=5451',
		'title': '',
		'imageId': '69669682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669693&x=5451',
		'title': '',
		'imageId': '69669693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669694&x=5451',
		'title': '',
		'imageId': '69669694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669684&x=5451',
		'title': '',
		'imageId': '69669684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669691&x=5451',
		'title': '',
		'imageId': '69669691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669686&x=5451',
		'title': '',
		'imageId': '69669686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669696&x=5451',
		'title': '',
		'imageId': '69669696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669689&x=5451',
		'title': '',
		'imageId': '69669689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669687&x=5451',
		'title': '',
		'imageId': '69669687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669683&x=5451',
		'title': '',
		'imageId': '69669683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669690&x=5451',
		'title': '',
		'imageId': '69669690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669692&x=5451',
		'title': '',
		'imageId': '69669692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669695&x=5451',
		'title': '',
		'imageId': '69669695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669685&x=5451',
		'title': '',
		'imageId': '69669685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669699&x=5451',
		'title': '',
		'imageId': '69669699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669697&x=5451',
		'title': '',
		'imageId': '69669697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=69669688&x=5451',
		'title': '',
		'imageId': '69669688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=59270515&x=5451',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993325&docid=59270516&x=5451',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993325';

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