var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011052&docid=69619781&x=4929',
		'title': '',
		'imageId': '69619781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011052&docid=69619776&x=4929',
		'title': '',
		'imageId': '69619776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011052&docid=69619779&x=4929',
		'title': '',
		'imageId': '69619779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011052&docid=69619784&x=4929',
		'title': '',
		'imageId': '69619784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011052&docid=69619780&x=4929',
		'title': '',
		'imageId': '69619780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011052&docid=69619778&x=4929',
		'title': '',
		'imageId': '69619778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011052&docid=69619782&x=4929',
		'title': '',
		'imageId': '69619782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011052&docid=69619777&x=4929',
		'title': '',
		'imageId': '69619777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011052&docid=69619785&x=4929',
		'title': '',
		'imageId': '69619785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011052&docid=69619783&x=4929',
		'title': '',
		'imageId': '69619783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011052';

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