var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978902&x=1756',
		'title': '',
		'imageId': '69978902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978896&x=1756',
		'title': '',
		'imageId': '69978896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978897&x=1756',
		'title': '',
		'imageId': '69978897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978889&x=1756',
		'title': '',
		'imageId': '69978889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978903&x=1756',
		'title': '',
		'imageId': '69978903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978895&x=1756',
		'title': '',
		'imageId': '69978895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978890&x=1756',
		'title': '',
		'imageId': '69978890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978900&x=1756',
		'title': '',
		'imageId': '69978900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978893&x=1756',
		'title': '',
		'imageId': '69978893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978899&x=1756',
		'title': '',
		'imageId': '69978899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978904&x=1756',
		'title': '',
		'imageId': '69978904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978891&x=1756',
		'title': '',
		'imageId': '69978891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978892&x=1756',
		'title': '',
		'imageId': '69978892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978894&x=1756',
		'title': '',
		'imageId': '69978894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978901&x=1756',
		'title': '',
		'imageId': '69978901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978888&x=1756',
		'title': '',
		'imageId': '69978888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010721&docid=69978898&x=1756',
		'title': '',
		'imageId': '69978898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010721';

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