var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014485&docid=70065972&x=641',
		'title': '',
		'imageId': '70065972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014485&docid=70066013&x=641',
		'title': '',
		'imageId': '70066013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014485&docid=70066023&x=641',
		'title': '',
		'imageId': '70066023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014485&docid=70066035&x=641',
		'title': '',
		'imageId': '70066035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014485&docid=70066041&x=641',
		'title': '',
		'imageId': '70066041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014485&docid=70066044&x=641',
		'title': '',
		'imageId': '70066044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014485&docid=70066047&x=641',
		'title': '',
		'imageId': '70066047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014485&docid=70066050&x=641',
		'title': '',
		'imageId': '70066050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014485&docid=70066053&x=641',
		'title': '',
		'imageId': '70066053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014485&docid=70066097&x=641',
		'title': '',
		'imageId': '70066097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014485';

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