var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019112&docid=70207207&x=113',
		'title': '',
		'imageId': '70207207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019112&docid=70207208&x=113',
		'title': '',
		'imageId': '70207208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019112&docid=70207209&x=113',
		'title': '',
		'imageId': '70207209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019112&docid=70207210&x=113',
		'title': '',
		'imageId': '70207210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019112&docid=70207211&x=113',
		'title': '',
		'imageId': '70207211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019112&docid=70207212&x=113',
		'title': '',
		'imageId': '70207212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019112&docid=70207203&x=113',
		'title': '',
		'imageId': '70207203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019112&docid=70207213&x=113',
		'title': '',
		'imageId': '70207213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019112&docid=70207214&x=113',
		'title': '',
		'imageId': '70207214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019112&docid=70207218&x=113',
		'title': '',
		'imageId': '70207218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019112';

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