var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019205&docid=70209811&x=45',
		'title': '',
		'imageId': '70209811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019205&docid=70209812&x=45',
		'title': '',
		'imageId': '70209812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019205&docid=70209813&x=45',
		'title': '',
		'imageId': '70209813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019205&docid=70209820&x=45',
		'title': '',
		'imageId': '70209820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019205&docid=70209825&x=45',
		'title': '',
		'imageId': '70209825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019205&docid=70209829&x=45',
		'title': '',
		'imageId': '70209829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019205&docid=70209810&x=45',
		'title': '',
		'imageId': '70209810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019205&docid=70209830&x=45',
		'title': '',
		'imageId': '70209830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019205&docid=70209831&x=45',
		'title': '',
		'imageId': '70209831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019205&docid=70209832&x=45',
		'title': '',
		'imageId': '70209832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019205';

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