var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874996&x=114',
		'title': '',
		'imageId': '69874996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874633&x=114',
		'title': '',
		'imageId': '69874633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874674&x=114',
		'title': '',
		'imageId': '69874674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874761&x=114',
		'title': '',
		'imageId': '69874761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874778&x=114',
		'title': '',
		'imageId': '69874778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874789&x=114',
		'title': '',
		'imageId': '69874789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874790&x=114',
		'title': '',
		'imageId': '69874790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874787&x=114',
		'title': '',
		'imageId': '69874787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874785&x=114',
		'title': '',
		'imageId': '69874785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874788&x=114',
		'title': '',
		'imageId': '69874788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874784&x=114',
		'title': '',
		'imageId': '69874784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006708&docid=69874786&x=114',
		'title': '',
		'imageId': '69874786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006708';

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