var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69924186&x=357',
		'title': '',
		'imageId': '69924186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69924207&x=357',
		'title': '',
		'imageId': '69924207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69924181&x=357',
		'title': '',
		'imageId': '69924181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69924183&x=357',
		'title': '',
		'imageId': '69924183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69924188&x=357',
		'title': '',
		'imageId': '69924188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69924185&x=357',
		'title': '',
		'imageId': '69924185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69924182&x=357',
		'title': '',
		'imageId': '69924182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957211&x=357',
		'title': '',
		'imageId': '69957211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69924208&x=357',
		'title': '',
		'imageId': '69924208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69924205&x=357',
		'title': '',
		'imageId': '69924205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957222&x=357',
		'title': '',
		'imageId': '69957222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957212&x=357',
		'title': '',
		'imageId': '69957212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957216&x=357',
		'title': '',
		'imageId': '69957216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957205&x=357',
		'title': '',
		'imageId': '69957205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69924206&x=357',
		'title': '',
		'imageId': '69924206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957209&x=357',
		'title': '',
		'imageId': '69957209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957210&x=357',
		'title': '',
		'imageId': '69957210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957208&x=357',
		'title': '',
		'imageId': '69957208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957221&x=357',
		'title': '',
		'imageId': '69957221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957204&x=357',
		'title': '',
		'imageId': '69957204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957206&x=357',
		'title': '',
		'imageId': '69957206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013971&docid=69957218&x=357',
		'title': '',
		'imageId': '69957218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013971';

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