var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513808&x=4956',
		'title': '',
		'imageId': '69513808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513809&x=4956',
		'title': '',
		'imageId': '69513809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513810&x=4956',
		'title': '',
		'imageId': '69513810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513811&x=4956',
		'title': '',
		'imageId': '69513811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513812&x=4956',
		'title': '',
		'imageId': '69513812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513813&x=4956',
		'title': '',
		'imageId': '69513813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513814&x=4956',
		'title': '',
		'imageId': '69513814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513815&x=4956',
		'title': '',
		'imageId': '69513815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513816&x=4956',
		'title': '',
		'imageId': '69513816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513817&x=4956',
		'title': '',
		'imageId': '69513817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513818&x=4956',
		'title': '',
		'imageId': '69513818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991294&docid=69513819&x=4956',
		'title': '',
		'imageId': '69513819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991294';

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