var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106748&x=3831',
		'title': '',
		'imageId': '70106748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106739&x=3831',
		'title': '',
		'imageId': '70106739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106746&x=3831',
		'title': '',
		'imageId': '70106746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106738&x=3831',
		'title': '',
		'imageId': '70106738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106752&x=3831',
		'title': '',
		'imageId': '70106752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106742&x=3831',
		'title': '',
		'imageId': '70106742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106749&x=3831',
		'title': '',
		'imageId': '70106749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106740&x=3831',
		'title': '',
		'imageId': '70106740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106745&x=3831',
		'title': '',
		'imageId': '70106745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106747&x=3831',
		'title': '',
		'imageId': '70106747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106790&x=3831',
		'title': '',
		'imageId': '70106790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106758&x=3831',
		'title': '',
		'imageId': '70106758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106771&x=3831',
		'title': '',
		'imageId': '70106771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106751&x=3831',
		'title': '',
		'imageId': '70106751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106744&x=3831',
		'title': '',
		'imageId': '70106744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106750&x=3831',
		'title': '',
		'imageId': '70106750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106737&x=3831',
		'title': '',
		'imageId': '70106737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106796&x=3831',
		'title': '',
		'imageId': '70106796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106743&x=3831',
		'title': '',
		'imageId': '70106743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106753&x=3831',
		'title': '',
		'imageId': '70106753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=70106741&x=3831',
		'title': '',
		'imageId': '70106741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=59270692&x=3831',
		'title': '',
		'imageId': '59270692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012403&docid=59270691&x=3831',
		'title': '',
		'imageId': '59270691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012403';

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