var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=65713590&x=718',
		'title': '',
		'imageId': '65713590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=65713595&x=718',
		'title': '',
		'imageId': '65713595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=65713593&x=718',
		'title': '',
		'imageId': '65713593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=65713586&x=718',
		'title': '',
		'imageId': '65713586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=66644719&x=718',
		'title': '',
		'imageId': '66644719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=65713589&x=718',
		'title': '',
		'imageId': '65713589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=66644714&x=718',
		'title': '',
		'imageId': '66644714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=65713597&x=718',
		'title': '',
		'imageId': '65713597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=65713592&x=718',
		'title': '',
		'imageId': '65713592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=65713594&x=718',
		'title': '',
		'imageId': '65713594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=65713587&x=718',
		'title': '',
		'imageId': '65713587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902200&docid=65713588&x=718',
		'title': '',
		'imageId': '65713588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3902200';

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