var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69495807&x=2756',
		'title': '',
		'imageId': '69495807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69495809&x=2756',
		'title': '',
		'imageId': '69495809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69495808&x=2756',
		'title': '',
		'imageId': '69495808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69495810&x=2756',
		'title': '',
		'imageId': '69495810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69495812&x=2756',
		'title': '',
		'imageId': '69495812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69495811&x=2756',
		'title': '',
		'imageId': '69495811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69495816&x=2756',
		'title': '',
		'imageId': '69495816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69495813&x=2756',
		'title': '',
		'imageId': '69495813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69495814&x=2756',
		'title': '',
		'imageId': '69495814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69495815&x=2756',
		'title': '',
		'imageId': '69495815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69495817&x=2756',
		'title': '',
		'imageId': '69495817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69499563&x=2756',
		'title': '',
		'imageId': '69499563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69499564&x=2756',
		'title': '',
		'imageId': '69499564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69499562&x=2756',
		'title': '',
		'imageId': '69499562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69499561&x=2756',
		'title': '',
		'imageId': '69499561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69639346&x=2756',
		'title': '',
		'imageId': '69639346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69639345&x=2756',
		'title': '',
		'imageId': '69639345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69639347&x=2756',
		'title': '',
		'imageId': '69639347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69639348&x=2756',
		'title': '',
		'imageId': '69639348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69639349&x=2756',
		'title': '',
		'imageId': '69639349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69639351&x=2756',
		'title': '',
		'imageId': '69639351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016927&docid=69639350&x=2756',
		'title': '',
		'imageId': '69639350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016927';

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