var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174050&x=1233',
		'title': '',
		'imageId': '69174050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174024&x=1233',
		'title': '',
		'imageId': '69174024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174046&x=1233',
		'title': '',
		'imageId': '69174046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174041&x=1233',
		'title': '',
		'imageId': '69174041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174032&x=1233',
		'title': '',
		'imageId': '69174032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174074&x=1233',
		'title': '',
		'imageId': '69174074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174056&x=1233',
		'title': '',
		'imageId': '69174056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174021&x=1233',
		'title': '',
		'imageId': '69174021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174065&x=1233',
		'title': '',
		'imageId': '69174065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174055&x=1233',
		'title': '',
		'imageId': '69174055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174078&x=1233',
		'title': '',
		'imageId': '69174078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174083&x=1233',
		'title': '',
		'imageId': '69174083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174025&x=1233',
		'title': '',
		'imageId': '69174025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174026&x=1233',
		'title': '',
		'imageId': '69174026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174059&x=1233',
		'title': '',
		'imageId': '69174059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174062&x=1233',
		'title': '',
		'imageId': '69174062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174022&x=1233',
		'title': '',
		'imageId': '69174022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174023&x=1233',
		'title': '',
		'imageId': '69174023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174047&x=1233',
		'title': '',
		'imageId': '69174047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174038&x=1233',
		'title': '',
		'imageId': '69174038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976117&docid=69174031&x=1233',
		'title': '',
		'imageId': '69174031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976117';

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