var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968984&docid=69000232&x=1848',
		'title': '',
		'imageId': '69000232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968984&docid=69000234&x=1848',
		'title': '',
		'imageId': '69000234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968984&docid=69000235&x=1848',
		'title': '',
		'imageId': '69000235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968984&docid=69000236&x=1848',
		'title': '',
		'imageId': '69000236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968984&docid=69000237&x=1848',
		'title': '',
		'imageId': '69000237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968984&docid=69000238&x=1848',
		'title': '',
		'imageId': '69000238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968984&docid=69000239&x=1848',
		'title': '',
		'imageId': '69000239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968984&docid=69000240&x=1848',
		'title': '',
		'imageId': '69000240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968984&docid=69000241&x=1848',
		'title': '',
		'imageId': '69000241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968984&docid=69000242&x=1848',
		'title': '',
		'imageId': '69000242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968984';

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