var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006496&docid=69870414&x=1739',
		'title': '',
		'imageId': '69870414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006496&docid=69870424&x=1739',
		'title': '',
		'imageId': '69870424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006496&docid=69870421&x=1739',
		'title': '',
		'imageId': '69870421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006496&docid=69870419&x=1739',
		'title': '',
		'imageId': '69870419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006496&docid=69870425&x=1739',
		'title': '',
		'imageId': '69870425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006496&docid=69870423&x=1739',
		'title': '',
		'imageId': '69870423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006496&docid=69870415&x=1739',
		'title': '',
		'imageId': '69870415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006496&docid=69870417&x=1739',
		'title': '',
		'imageId': '69870417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006496&docid=69870422&x=1739',
		'title': '',
		'imageId': '69870422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006496&docid=69870418&x=1739',
		'title': '',
		'imageId': '69870418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006496&docid=69870416&x=1739',
		'title': '',
		'imageId': '69870416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006496';

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