var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014234&docid=70060875&x=4543',
		'title': '',
		'imageId': '70060875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014234&docid=70060877&x=4543',
		'title': '',
		'imageId': '70060877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014234&docid=70060883&x=4543',
		'title': '',
		'imageId': '70060883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014234&docid=70060878&x=4543',
		'title': '',
		'imageId': '70060878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014234&docid=70060876&x=4543',
		'title': '',
		'imageId': '70060876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014234&docid=70060880&x=4543',
		'title': '',
		'imageId': '70060880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014234&docid=70060879&x=4543',
		'title': '',
		'imageId': '70060879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014234&docid=70060884&x=4543',
		'title': '',
		'imageId': '70060884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014234&docid=70060882&x=4543',
		'title': '',
		'imageId': '70060882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014234&docid=70060881&x=4543',
		'title': '',
		'imageId': '70060881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014234';

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