var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=908327&docid=7216764&x=1311',
		'title': '',
		'imageId': '7216764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908327&docid=7216767&x=1311',
		'title': '',
		'imageId': '7216767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908327&docid=7216770&x=1311',
		'title': '',
		'imageId': '7216770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908327&docid=7216776&x=1311',
		'title': '',
		'imageId': '7216776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908327&docid=7216779&x=1311',
		'title': '',
		'imageId': '7216779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908327&docid=7216782&x=1311',
		'title': '',
		'imageId': '7216782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908327&docid=7216785&x=1311',
		'title': '',
		'imageId': '7216785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908327&docid=7216788&x=1311',
		'title': '',
		'imageId': '7216788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908327&docid=7216791&x=1311',
		'title': '',
		'imageId': '7216791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908327&docid=7216794&x=1311',
		'title': '',
		'imageId': '7216794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908327&docid=7216797&x=1311',
		'title': '',
		'imageId': '7216797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #908327';

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