var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163783&x=3017',
		'title': '',
		'imageId': '70163783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163785&x=3017',
		'title': '',
		'imageId': '70163785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163778&x=3017',
		'title': '',
		'imageId': '70163778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163790&x=3017',
		'title': '',
		'imageId': '70163790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163782&x=3017',
		'title': '',
		'imageId': '70163782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163771&x=3017',
		'title': '',
		'imageId': '70163771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163784&x=3017',
		'title': '',
		'imageId': '70163784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163772&x=3017',
		'title': '',
		'imageId': '70163772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163773&x=3017',
		'title': '',
		'imageId': '70163773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163780&x=3017',
		'title': '',
		'imageId': '70163780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163774&x=3017',
		'title': '',
		'imageId': '70163774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163775&x=3017',
		'title': '',
		'imageId': '70163775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163770&x=3017',
		'title': '',
		'imageId': '70163770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163781&x=3017',
		'title': '',
		'imageId': '70163781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163787&x=3017',
		'title': '',
		'imageId': '70163787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163776&x=3017',
		'title': '',
		'imageId': '70163776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163791&x=3017',
		'title': '',
		'imageId': '70163791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163789&x=3017',
		'title': '',
		'imageId': '70163789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163792&x=3017',
		'title': '',
		'imageId': '70163792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163779&x=3017',
		'title': '',
		'imageId': '70163779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163777&x=3017',
		'title': '',
		'imageId': '70163777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163786&x=3017',
		'title': '',
		'imageId': '70163786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017205&docid=70163788&x=3017',
		'title': '',
		'imageId': '70163788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017205';

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