var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014467&docid=70066590&x=461',
		'title': '',
		'imageId': '70066590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014467&docid=70066591&x=461',
		'title': '',
		'imageId': '70066591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014467&docid=70066592&x=461',
		'title': '',
		'imageId': '70066592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014467&docid=70066593&x=461',
		'title': '',
		'imageId': '70066593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014467&docid=70066594&x=461',
		'title': '',
		'imageId': '70066594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014467&docid=70066595&x=461',
		'title': '',
		'imageId': '70066595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014467&docid=70066596&x=461',
		'title': '',
		'imageId': '70066596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014467&docid=70066597&x=461',
		'title': '',
		'imageId': '70066597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014467&docid=70066598&x=461',
		'title': '',
		'imageId': '70066598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014467&docid=70066599&x=461',
		'title': '',
		'imageId': '70066599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014467&docid=70066600&x=461',
		'title': '',
		'imageId': '70066600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014467';

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