var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149139&x=5155',
		'title': '',
		'imageId': '70149139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149138&x=5155',
		'title': '',
		'imageId': '70149138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149136&x=5155',
		'title': '',
		'imageId': '70149136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149137&x=5155',
		'title': '',
		'imageId': '70149137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149135&x=5155',
		'title': '',
		'imageId': '70149135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149152&x=5155',
		'title': '',
		'imageId': '70149152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149154&x=5155',
		'title': '',
		'imageId': '70149154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149156&x=5155',
		'title': '',
		'imageId': '70149156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149153&x=5155',
		'title': '',
		'imageId': '70149153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149155&x=5155',
		'title': '',
		'imageId': '70149155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149175&x=5155',
		'title': '',
		'imageId': '70149175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149174&x=5155',
		'title': '',
		'imageId': '70149174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149176&x=5155',
		'title': '',
		'imageId': '70149176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149177&x=5155',
		'title': '',
		'imageId': '70149177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149173&x=5155',
		'title': '',
		'imageId': '70149173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149205&x=5155',
		'title': '',
		'imageId': '70149205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149206&x=5155',
		'title': '',
		'imageId': '70149206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149203&x=5155',
		'title': '',
		'imageId': '70149203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149204&x=5155',
		'title': '',
		'imageId': '70149204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149207&x=5155',
		'title': '',
		'imageId': '70149207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149250&x=5155',
		'title': '',
		'imageId': '70149250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149252&x=5155',
		'title': '',
		'imageId': '70149252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149251&x=5155',
		'title': '',
		'imageId': '70149251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016860&docid=70149249&x=5155',
		'title': '',
		'imageId': '70149249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016860';

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