var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010615&docid=69974058&x=1029',
		'title': '',
		'imageId': '69974058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010615&docid=69974059&x=1029',
		'title': '',
		'imageId': '69974059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010615&docid=69974063&x=1029',
		'title': '',
		'imageId': '69974063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010615&docid=69974062&x=1029',
		'title': '',
		'imageId': '69974062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010615&docid=69974060&x=1029',
		'title': '',
		'imageId': '69974060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010615&docid=69974066&x=1029',
		'title': '',
		'imageId': '69974066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010615&docid=69974074&x=1029',
		'title': '',
		'imageId': '69974074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010615&docid=69974073&x=1029',
		'title': '',
		'imageId': '69974073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010615&docid=69974077&x=1029',
		'title': '',
		'imageId': '69974077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010615&docid=69974061&x=1029',
		'title': '',
		'imageId': '69974061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010615';

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