var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137515&x=5157',
		'title': '',
		'imageId': '70137515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137526&x=5157',
		'title': '',
		'imageId': '70137526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137518&x=5157',
		'title': '',
		'imageId': '70137518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137522&x=5157',
		'title': '',
		'imageId': '70137522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137521&x=5157',
		'title': '',
		'imageId': '70137521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137542&x=5157',
		'title': '',
		'imageId': '70137542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137538&x=5157',
		'title': '',
		'imageId': '70137538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137541&x=5157',
		'title': '',
		'imageId': '70137541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137530&x=5157',
		'title': '',
		'imageId': '70137530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137533&x=5157',
		'title': '',
		'imageId': '70137533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137537&x=5157',
		'title': '',
		'imageId': '70137537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137534&x=5157',
		'title': '',
		'imageId': '70137534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137514&x=5157',
		'title': '',
		'imageId': '70137514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137532&x=5157',
		'title': '',
		'imageId': '70137532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137535&x=5157',
		'title': '',
		'imageId': '70137535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137523&x=5157',
		'title': '',
		'imageId': '70137523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137540&x=5157',
		'title': '',
		'imageId': '70137540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137536&x=5157',
		'title': '',
		'imageId': '70137536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137539&x=5157',
		'title': '',
		'imageId': '70137539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137524&x=5157',
		'title': '',
		'imageId': '70137524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137525&x=5157',
		'title': '',
		'imageId': '70137525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137529&x=5157',
		'title': '',
		'imageId': '70137529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016606&docid=70137531&x=5157',
		'title': '',
		'imageId': '70137531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016606';

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