var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013203&x=2221',
		'title': '',
		'imageId': '70013203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013197&x=2221',
		'title': '',
		'imageId': '70013197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013201&x=2221',
		'title': '',
		'imageId': '70013201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013205&x=2221',
		'title': '',
		'imageId': '70013205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013198&x=2221',
		'title': '',
		'imageId': '70013198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013204&x=2221',
		'title': '',
		'imageId': '70013204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013207&x=2221',
		'title': '',
		'imageId': '70013207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013200&x=2221',
		'title': '',
		'imageId': '70013200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013199&x=2221',
		'title': '',
		'imageId': '70013199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013202&x=2221',
		'title': '',
		'imageId': '70013202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013206&x=2221',
		'title': '',
		'imageId': '70013206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012390&docid=70013208&x=2221',
		'title': '',
		'imageId': '70013208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012390';

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