var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=910723&docid=6834231&x=1922',
		'title': '',
		'imageId': '6834231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=910723&docid=6834232&x=1922',
		'title': '',
		'imageId': '6834232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=910723&docid=6834235&x=1922',
		'title': '',
		'imageId': '6834235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=910723&docid=6834238&x=1922',
		'title': '',
		'imageId': '6834238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=910723&docid=6834243&x=1922',
		'title': '',
		'imageId': '6834243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=910723&docid=6834244&x=1922',
		'title': '',
		'imageId': '6834244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=910723&docid=6834247&x=1922',
		'title': '',
		'imageId': '6834247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=910723&docid=6834253&x=1922',
		'title': '',
		'imageId': '6834253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=910723&docid=6834255&x=1922',
		'title': '',
		'imageId': '6834255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=910723&docid=6834256&x=1922',
		'title': '',
		'imageId': '6834256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=910723&docid=6834230&x=1922',
		'title': '',
		'imageId': '6834230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #910723';

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