var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69294854&x=231',
		'title': '',
		'imageId': '69294854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69294862&x=231',
		'title': '',
		'imageId': '69294862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69294866&x=231',
		'title': '',
		'imageId': '69294866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69294861&x=231',
		'title': '',
		'imageId': '69294861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69294865&x=231',
		'title': '',
		'imageId': '69294865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69294860&x=231',
		'title': '',
		'imageId': '69294860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69294864&x=231',
		'title': '',
		'imageId': '69294864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69294863&x=231',
		'title': '',
		'imageId': '69294863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69294867&x=231',
		'title': '',
		'imageId': '69294867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69294868&x=231',
		'title': '',
		'imageId': '69294868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69323183&x=231',
		'title': '',
		'imageId': '69323183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973431&docid=69323184&x=231',
		'title': '',
		'imageId': '69323184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973431';

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