var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4045595&docid=70886470&x=5531',
		'title': '',
		'imageId': '70886470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045595&docid=70886472&x=5531',
		'title': '',
		'imageId': '70886472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045595&docid=70886474&x=5531',
		'title': '',
		'imageId': '70886474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045595&docid=70886473&x=5531',
		'title': '',
		'imageId': '70886473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045595&docid=70886471&x=5531',
		'title': '',
		'imageId': '70886471',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045595&docid=70886464&x=5531',
		'title': '',
		'imageId': '70886464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045595&docid=70886465&x=5531',
		'title': '',
		'imageId': '70886465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045595&docid=70886467&x=5531',
		'title': '',
		'imageId': '70886467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045595&docid=70886468&x=5531',
		'title': '',
		'imageId': '70886468',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045595&docid=70886469&x=5531',
		'title': '',
		'imageId': '70886469',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045595&docid=70886475&x=5531',
		'title': '',
		'imageId': '70886475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4045595';

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