var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971386&docid=69050010&x=628',
		'title': '',
		'imageId': '69050010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971386&docid=69050011&x=628',
		'title': '',
		'imageId': '69050011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971386&docid=69050012&x=628',
		'title': '',
		'imageId': '69050012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971386&docid=69050013&x=628',
		'title': '',
		'imageId': '69050013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971386&docid=69050014&x=628',
		'title': '',
		'imageId': '69050014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971386&docid=69050015&x=628',
		'title': '',
		'imageId': '69050015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971386&docid=69050016&x=628',
		'title': '',
		'imageId': '69050016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971386&docid=69050017&x=628',
		'title': '',
		'imageId': '69050017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971386&docid=69050018&x=628',
		'title': '',
		'imageId': '69050018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971386&docid=69050019&x=628',
		'title': '',
		'imageId': '69050019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971386';

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