var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707177&x=920',
		'title': '',
		'imageId': '66707177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707173&x=920',
		'title': '',
		'imageId': '66707173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707170&x=920',
		'title': '',
		'imageId': '66707170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707174&x=920',
		'title': '',
		'imageId': '66707174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707171&x=920',
		'title': '',
		'imageId': '66707171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707172&x=920',
		'title': '',
		'imageId': '66707172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707169&x=920',
		'title': '',
		'imageId': '66707169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707176&x=920',
		'title': '',
		'imageId': '66707176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707175&x=920',
		'title': '',
		'imageId': '66707175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707623&x=920',
		'title': '',
		'imageId': '66707623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707622&x=920',
		'title': '',
		'imageId': '66707622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872717&docid=66707846&x=920',
		'title': '',
		'imageId': '66707846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3872717';

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