var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103315&x=2938',
		'title': '',
		'imageId': '70103315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103318&x=2938',
		'title': '',
		'imageId': '70103318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103317&x=2938',
		'title': '',
		'imageId': '70103317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103319&x=2938',
		'title': '',
		'imageId': '70103319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103320&x=2938',
		'title': '',
		'imageId': '70103320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103325&x=2938',
		'title': '',
		'imageId': '70103325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103328&x=2938',
		'title': '',
		'imageId': '70103328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103333&x=2938',
		'title': '',
		'imageId': '70103333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103340&x=2938',
		'title': '',
		'imageId': '70103340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103341&x=2938',
		'title': '',
		'imageId': '70103341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103342&x=2938',
		'title': '',
		'imageId': '70103342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103344&x=2938',
		'title': '',
		'imageId': '70103344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103348&x=2938',
		'title': '',
		'imageId': '70103348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103351&x=2938',
		'title': '',
		'imageId': '70103351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103354&x=2938',
		'title': '',
		'imageId': '70103354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103358&x=2938',
		'title': '',
		'imageId': '70103358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103361&x=2938',
		'title': '',
		'imageId': '70103361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103363&x=2938',
		'title': '',
		'imageId': '70103363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103368&x=2938',
		'title': '',
		'imageId': '70103368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103370&x=2938',
		'title': '',
		'imageId': '70103370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103372&x=2938',
		'title': '',
		'imageId': '70103372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103379&x=2938',
		'title': '',
		'imageId': '70103379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010632&docid=70103316&x=2938',
		'title': '',
		'imageId': '70103316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010632';

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