var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116792&x=2931',
		'title': '',
		'imageId': '70116792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116808&x=2931',
		'title': '',
		'imageId': '70116808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116814&x=2931',
		'title': '',
		'imageId': '70116814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116802&x=2931',
		'title': '',
		'imageId': '70116802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116805&x=2931',
		'title': '',
		'imageId': '70116805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116795&x=2931',
		'title': '',
		'imageId': '70116795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116793&x=2931',
		'title': '',
		'imageId': '70116793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116794&x=2931',
		'title': '',
		'imageId': '70116794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116804&x=2931',
		'title': '',
		'imageId': '70116804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116810&x=2931',
		'title': '',
		'imageId': '70116810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116807&x=2931',
		'title': '',
		'imageId': '70116807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116803&x=2931',
		'title': '',
		'imageId': '70116803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116809&x=2931',
		'title': '',
		'imageId': '70116809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116806&x=2931',
		'title': '',
		'imageId': '70116806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116815&x=2931',
		'title': '',
		'imageId': '70116815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116812&x=2931',
		'title': '',
		'imageId': '70116812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116813&x=2931',
		'title': '',
		'imageId': '70116813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116799&x=2931',
		'title': '',
		'imageId': '70116799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116801&x=2931',
		'title': '',
		'imageId': '70116801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116798&x=2931',
		'title': '',
		'imageId': '70116798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116811&x=2931',
		'title': '',
		'imageId': '70116811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016097&docid=70116800&x=2931',
		'title': '',
		'imageId': '70116800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016097';

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