var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010032&docid=69963855&x=035',
		'title': '',
		'imageId': '69963855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010032&docid=69963853&x=035',
		'title': '',
		'imageId': '69963853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010032&docid=69963858&x=035',
		'title': '',
		'imageId': '69963858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010032&docid=69963857&x=035',
		'title': '',
		'imageId': '69963857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010032&docid=69963854&x=035',
		'title': '',
		'imageId': '69963854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010032&docid=69963850&x=035',
		'title': '',
		'imageId': '69963850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010032&docid=69963849&x=035',
		'title': '',
		'imageId': '69963849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010032&docid=69963859&x=035',
		'title': '',
		'imageId': '69963859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010032&docid=69963852&x=035',
		'title': '',
		'imageId': '69963852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010032&docid=69963851&x=035',
		'title': '',
		'imageId': '69963851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010032&docid=69963856&x=035',
		'title': '',
		'imageId': '69963856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010032';

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