var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3896480&docid=66576103&x=5311',
		'title': '',
		'imageId': '66576103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896480&docid=66576104&x=5311',
		'title': '',
		'imageId': '66576104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896480&docid=66576102&x=5311',
		'title': '',
		'imageId': '66576102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896480&docid=66576105&x=5311',
		'title': '',
		'imageId': '66576105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896480&docid=66576101&x=5311',
		'title': '',
		'imageId': '66576101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896480&docid=66576100&x=5311',
		'title': '',
		'imageId': '66576100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896480&docid=66575962&x=5311',
		'title': '',
		'imageId': '66575962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3896480';

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