var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971193&docid=69045496&x=208',
		'title': '',
		'imageId': '69045496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971193&docid=69045492&x=208',
		'title': '',
		'imageId': '69045492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971193&docid=69045500&x=208',
		'title': '',
		'imageId': '69045500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971193&docid=69045490&x=208',
		'title': '',
		'imageId': '69045490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971193&docid=69045491&x=208',
		'title': '',
		'imageId': '69045491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971193&docid=69045494&x=208',
		'title': '',
		'imageId': '69045494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971193&docid=69045495&x=208',
		'title': '',
		'imageId': '69045495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971193&docid=69045497&x=208',
		'title': '',
		'imageId': '69045497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971193&docid=69045498&x=208',
		'title': '',
		'imageId': '69045498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971193&docid=69045489&x=208',
		'title': '',
		'imageId': '69045489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971193&docid=69045499&x=208',
		'title': '',
		'imageId': '69045499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971193';

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