var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994035&docid=69583829&x=4424',
		'title': '',
		'imageId': '69583829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994035&docid=69583833&x=4424',
		'title': '',
		'imageId': '69583833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994035&docid=69583830&x=4424',
		'title': '',
		'imageId': '69583830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994035&docid=69583832&x=4424',
		'title': '',
		'imageId': '69583832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994035&docid=69583831&x=4424',
		'title': '',
		'imageId': '69583831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994035&docid=69583828&x=4424',
		'title': '',
		'imageId': '69583828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994035&docid=69583834&x=4424',
		'title': '',
		'imageId': '69583834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994035';

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