var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475245&x=828',
		'title': '',
		'imageId': '69475245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475248&x=828',
		'title': '',
		'imageId': '69475248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475257&x=828',
		'title': '',
		'imageId': '69475257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475253&x=828',
		'title': '',
		'imageId': '69475253',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475247&x=828',
		'title': '',
		'imageId': '69475247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475254&x=828',
		'title': '',
		'imageId': '69475254',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475243&x=828',
		'title': '',
		'imageId': '69475243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475240&x=828',
		'title': '',
		'imageId': '69475240',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475256&x=828',
		'title': '',
		'imageId': '69475256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475249&x=828',
		'title': '',
		'imageId': '69475249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475252&x=828',
		'title': '',
		'imageId': '69475252',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475239&x=828',
		'title': '',
		'imageId': '69475239',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475246&x=828',
		'title': '',
		'imageId': '69475246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475242&x=828',
		'title': '',
		'imageId': '69475242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475244&x=828',
		'title': '',
		'imageId': '69475244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475255&x=828',
		'title': '',
		'imageId': '69475255',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475241&x=828',
		'title': '',
		'imageId': '69475241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475251&x=828',
		'title': '',
		'imageId': '69475251',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475238&x=828',
		'title': '',
		'imageId': '69475238',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989269&docid=69475250&x=828',
		'title': '',
		'imageId': '69475250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3989269';

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