var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019505&docid=69393703&x=1219',
		'title': '',
		'imageId': '69393703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019505&docid=69393698&x=1219',
		'title': '',
		'imageId': '69393698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019505&docid=69393702&x=1219',
		'title': '',
		'imageId': '69393702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019505&docid=69393704&x=1219',
		'title': '',
		'imageId': '69393704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019505&docid=69393712&x=1219',
		'title': '',
		'imageId': '69393712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019505&docid=69393714&x=1219',
		'title': '',
		'imageId': '69393714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019505&docid=69393715&x=1219',
		'title': '',
		'imageId': '69393715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019505&docid=69393716&x=1219',
		'title': '',
		'imageId': '69393716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019505&docid=69393718&x=1219',
		'title': '',
		'imageId': '69393718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019505&docid=69393722&x=1219',
		'title': '',
		'imageId': '69393722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019505';

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