var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3995084&docid=69608323&x=3637',
		'title': '',
		'imageId': '69608323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995084&docid=69608326&x=3637',
		'title': '',
		'imageId': '69608326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995084&docid=69608329&x=3637',
		'title': '',
		'imageId': '69608329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995084&docid=69608331&x=3637',
		'title': '',
		'imageId': '69608331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995084&docid=69608330&x=3637',
		'title': '',
		'imageId': '69608330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995084&docid=69608327&x=3637',
		'title': '',
		'imageId': '69608327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995084&docid=69608325&x=3637',
		'title': '',
		'imageId': '69608325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995084&docid=69608324&x=3637',
		'title': '',
		'imageId': '69608324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995084&docid=69608322&x=3637',
		'title': '',
		'imageId': '69608322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995084&docid=69608328&x=3637',
		'title': '',
		'imageId': '69608328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3995084';

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