var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60594003&x=2514',
		'title': '',
		'imageId': '60594003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538683&x=2514',
		'title': '',
		'imageId': '60538683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538684&x=2514',
		'title': '',
		'imageId': '60538684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538685&x=2514',
		'title': '',
		'imageId': '60538685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538686&x=2514',
		'title': '',
		'imageId': '60538686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538687&x=2514',
		'title': '',
		'imageId': '60538687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538688&x=2514',
		'title': '',
		'imageId': '60538688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538689&x=2514',
		'title': '',
		'imageId': '60538689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538690&x=2514',
		'title': '',
		'imageId': '60538690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538691&x=2514',
		'title': '',
		'imageId': '60538691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538692&x=2514',
		'title': '',
		'imageId': '60538692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538693&x=2514',
		'title': '',
		'imageId': '60538693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538694&x=2514',
		'title': '',
		'imageId': '60538694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538695&x=2514',
		'title': '',
		'imageId': '60538695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538696&x=2514',
		'title': '',
		'imageId': '60538696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538697&x=2514',
		'title': '',
		'imageId': '60538697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538698&x=2514',
		'title': '',
		'imageId': '60538698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538699&x=2514',
		'title': '',
		'imageId': '60538699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538700&x=2514',
		'title': '',
		'imageId': '60538700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538701&x=2514',
		'title': '',
		'imageId': '60538701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538702&x=2514',
		'title': '',
		'imageId': '60538702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922193&docid=60538703&x=2514',
		'title': '',
		'imageId': '60538703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922193';

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