var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011096&docid=70099142&x=1124',
		'title': '',
		'imageId': '70099142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011096&docid=70099151&x=1124',
		'title': '',
		'imageId': '70099151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011096&docid=70099146&x=1124',
		'title': '',
		'imageId': '70099146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011096&docid=70099147&x=1124',
		'title': '',
		'imageId': '70099147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011096&docid=70099145&x=1124',
		'title': '',
		'imageId': '70099145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011096&docid=70099144&x=1124',
		'title': '',
		'imageId': '70099144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011096&docid=70099149&x=1124',
		'title': '',
		'imageId': '70099149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011096&docid=70099150&x=1124',
		'title': '',
		'imageId': '70099150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011096&docid=70099148&x=1124',
		'title': '',
		'imageId': '70099148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011096&docid=70099143&x=1124',
		'title': '',
		'imageId': '70099143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011096&docid=70099139&x=1124',
		'title': '',
		'imageId': '70099139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011096';

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