var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865095&x=714',
		'title': '',
		'imageId': '69865095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865088&x=714',
		'title': '',
		'imageId': '69865088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865082&x=714',
		'title': '',
		'imageId': '69865082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865087&x=714',
		'title': '',
		'imageId': '69865087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865085&x=714',
		'title': '',
		'imageId': '69865085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865091&x=714',
		'title': '',
		'imageId': '69865091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865094&x=714',
		'title': '',
		'imageId': '69865094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865083&x=714',
		'title': '',
		'imageId': '69865083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865092&x=714',
		'title': '',
		'imageId': '69865092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865089&x=714',
		'title': '',
		'imageId': '69865089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865084&x=714',
		'title': '',
		'imageId': '69865084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865086&x=714',
		'title': '',
		'imageId': '69865086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865096&x=714',
		'title': '',
		'imageId': '69865096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865093&x=714',
		'title': '',
		'imageId': '69865093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865097&x=714',
		'title': '',
		'imageId': '69865097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006283&docid=69865090&x=714',
		'title': '',
		'imageId': '69865090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006283';

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