var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884663&x=2953',
		'title': '',
		'imageId': '69884663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884662&x=2953',
		'title': '',
		'imageId': '69884662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884676&x=2953',
		'title': '',
		'imageId': '69884676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884669&x=2953',
		'title': '',
		'imageId': '69884669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884677&x=2953',
		'title': '',
		'imageId': '69884677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884668&x=2953',
		'title': '',
		'imageId': '69884668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884678&x=2953',
		'title': '',
		'imageId': '69884678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884683&x=2953',
		'title': '',
		'imageId': '69884683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884684&x=2953',
		'title': '',
		'imageId': '69884684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884691&x=2953',
		'title': '',
		'imageId': '69884691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884634&x=2953',
		'title': '',
		'imageId': '69884634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884636&x=2953',
		'title': '',
		'imageId': '69884636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884635&x=2953',
		'title': '',
		'imageId': '69884635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884633&x=2953',
		'title': '',
		'imageId': '69884633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884637&x=2953',
		'title': '',
		'imageId': '69884637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884643&x=2953',
		'title': '',
		'imageId': '69884643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884647&x=2953',
		'title': '',
		'imageId': '69884647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884638&x=2953',
		'title': '',
		'imageId': '69884638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884646&x=2953',
		'title': '',
		'imageId': '69884646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884651&x=2953',
		'title': '',
		'imageId': '69884651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884656&x=2953',
		'title': '',
		'imageId': '69884656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007285&docid=69884657&x=2953',
		'title': '',
		'imageId': '69884657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007285';

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