var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935459&x=5351',
		'title': '',
		'imageId': '69935459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935458&x=5351',
		'title': '',
		'imageId': '69935458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935460&x=5351',
		'title': '',
		'imageId': '69935460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935461&x=5351',
		'title': '',
		'imageId': '69935461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935462&x=5351',
		'title': '',
		'imageId': '69935462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935463&x=5351',
		'title': '',
		'imageId': '69935463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935464&x=5351',
		'title': '',
		'imageId': '69935464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935465&x=5351',
		'title': '',
		'imageId': '69935465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935466&x=5351',
		'title': '',
		'imageId': '69935466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935467&x=5351',
		'title': '',
		'imageId': '69935467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935468&x=5351',
		'title': '',
		'imageId': '69935468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008982&docid=69935469&x=5351',
		'title': '',
		'imageId': '69935469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008982';

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