var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566450&x=1424',
		'title': '',
		'imageId': '68566450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566448&x=1424',
		'title': '',
		'imageId': '68566448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566444&x=1424',
		'title': '',
		'imageId': '68566444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566449&x=1424',
		'title': '',
		'imageId': '68566449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566456&x=1424',
		'title': '',
		'imageId': '68566456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566462&x=1424',
		'title': '',
		'imageId': '68566462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566455&x=1424',
		'title': '',
		'imageId': '68566455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566453&x=1424',
		'title': '',
		'imageId': '68566453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566445&x=1424',
		'title': '',
		'imageId': '68566445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566457&x=1424',
		'title': '',
		'imageId': '68566457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566460&x=1424',
		'title': '',
		'imageId': '68566460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566463&x=1424',
		'title': '',
		'imageId': '68566463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566459&x=1424',
		'title': '',
		'imageId': '68566459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566464&x=1424',
		'title': '',
		'imageId': '68566464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566447&x=1424',
		'title': '',
		'imageId': '68566447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949168&docid=68566451&x=1424',
		'title': '',
		'imageId': '68566451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949168';

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