var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144555&x=1513',
		'title': '',
		'imageId': '71144555',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144556&x=1513',
		'title': '',
		'imageId': '71144556',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144557&x=1513',
		'title': '',
		'imageId': '71144557',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144558&x=1513',
		'title': '',
		'imageId': '71144558',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144573&x=1513',
		'title': '',
		'imageId': '71144573',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144574&x=1513',
		'title': '',
		'imageId': '71144574',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144559&x=1513',
		'title': '',
		'imageId': '71144559',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144575&x=1513',
		'title': '',
		'imageId': '71144575',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144576&x=1513',
		'title': '',
		'imageId': '71144576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144577&x=1513',
		'title': '',
		'imageId': '71144577',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144578&x=1513',
		'title': '',
		'imageId': '71144578',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144685&x=1513',
		'title': '',
		'imageId': '71144685',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144713&x=1513',
		'title': '',
		'imageId': '71144713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144715&x=1513',
		'title': '',
		'imageId': '71144715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144717&x=1513',
		'title': '',
		'imageId': '71144717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144722&x=1513',
		'title': '',
		'imageId': '71144722',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144728&x=1513',
		'title': '',
		'imageId': '71144728',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055746&docid=71144554&x=1513',
		'title': '',
		'imageId': '71144554',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055746';

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