var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751806&x=2651',
		'title': '',
		'imageId': '69751806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751808&x=2651',
		'title': '',
		'imageId': '69751808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751807&x=2651',
		'title': '',
		'imageId': '69751807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751809&x=2651',
		'title': '',
		'imageId': '69751809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751815&x=2651',
		'title': '',
		'imageId': '69751815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751828&x=2651',
		'title': '',
		'imageId': '69751828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751820&x=2651',
		'title': '',
		'imageId': '69751820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751821&x=2651',
		'title': '',
		'imageId': '69751821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751826&x=2651',
		'title': '',
		'imageId': '69751826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751827&x=2651',
		'title': '',
		'imageId': '69751827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751805&x=2651',
		'title': '',
		'imageId': '69751805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011541&docid=69751804&x=2651',
		'title': '',
		'imageId': '69751804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011541';

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