var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215842&x=3631',
		'title': '',
		'imageId': '70215842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215900&x=3631',
		'title': '',
		'imageId': '70215900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215845&x=3631',
		'title': '',
		'imageId': '70215845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215844&x=3631',
		'title': '',
		'imageId': '70215844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215843&x=3631',
		'title': '',
		'imageId': '70215843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215853&x=3631',
		'title': '',
		'imageId': '70215853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215856&x=3631',
		'title': '',
		'imageId': '70215856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215863&x=3631',
		'title': '',
		'imageId': '70215863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215864&x=3631',
		'title': '',
		'imageId': '70215864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215865&x=3631',
		'title': '',
		'imageId': '70215865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215866&x=3631',
		'title': '',
		'imageId': '70215866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215871&x=3631',
		'title': '',
		'imageId': '70215871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215875&x=3631',
		'title': '',
		'imageId': '70215875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215883&x=3631',
		'title': '',
		'imageId': '70215883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215891&x=3631',
		'title': '',
		'imageId': '70215891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215884&x=3631',
		'title': '',
		'imageId': '70215884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215888&x=3631',
		'title': '',
		'imageId': '70215888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215892&x=3631',
		'title': '',
		'imageId': '70215892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215905&x=3631',
		'title': '',
		'imageId': '70215905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215907&x=3631',
		'title': '',
		'imageId': '70215907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215841&x=3631',
		'title': '',
		'imageId': '70215841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019466&docid=70215840&x=3631',
		'title': '',
		'imageId': '70215840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019466';

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