var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081968&x=2449',
		'title': '',
		'imageId': '7081968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081969&x=2449',
		'title': '',
		'imageId': '7081969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081970&x=2449',
		'title': '',
		'imageId': '7081970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081979&x=2449',
		'title': '',
		'imageId': '7081979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081978&x=2449',
		'title': '',
		'imageId': '7081978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081977&x=2449',
		'title': '',
		'imageId': '7081977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081987&x=2449',
		'title': '',
		'imageId': '7081987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081986&x=2449',
		'title': '',
		'imageId': '7081986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081988&x=2449',
		'title': '',
		'imageId': '7081988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081995&x=2449',
		'title': '',
		'imageId': '7081995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081997&x=2449',
		'title': '',
		'imageId': '7081997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7081996&x=2449',
		'title': '',
		'imageId': '7081996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7082004&x=2449',
		'title': '',
		'imageId': '7082004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7082005&x=2449',
		'title': '',
		'imageId': '7082005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7082006&x=2449',
		'title': '',
		'imageId': '7082006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7082013&x=2449',
		'title': '',
		'imageId': '7082013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7082017&x=2449',
		'title': '',
		'imageId': '7082017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7082018&x=2449',
		'title': '',
		'imageId': '7082018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7082016&x=2449',
		'title': '',
		'imageId': '7082016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7082026&x=2449',
		'title': '',
		'imageId': '7082026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7082025&x=2449',
		'title': '',
		'imageId': '7082025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7091958&x=2449',
		'title': '',
		'imageId': '7091958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=897970&docid=7091964&x=2449',
		'title': '',
		'imageId': '7091964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #897970';

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