var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504874&x=2036',
		'title': '',
		'imageId': '69504874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504701&x=2036',
		'title': '',
		'imageId': '69504701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504697&x=2036',
		'title': '',
		'imageId': '69504697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504700&x=2036',
		'title': '',
		'imageId': '69504700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504681&x=2036',
		'title': '',
		'imageId': '69504681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504699&x=2036',
		'title': '',
		'imageId': '69504699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504702&x=2036',
		'title': '',
		'imageId': '69504702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504696&x=2036',
		'title': '',
		'imageId': '69504696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504695&x=2036',
		'title': '',
		'imageId': '69504695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504694&x=2036',
		'title': '',
		'imageId': '69504694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504693&x=2036',
		'title': '',
		'imageId': '69504693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504691&x=2036',
		'title': '',
		'imageId': '69504691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504692&x=2036',
		'title': '',
		'imageId': '69504692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504698&x=2036',
		'title': '',
		'imageId': '69504698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504688&x=2036',
		'title': '',
		'imageId': '69504688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504685&x=2036',
		'title': '',
		'imageId': '69504685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504683&x=2036',
		'title': '',
		'imageId': '69504683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504687&x=2036',
		'title': '',
		'imageId': '69504687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504682&x=2036',
		'title': '',
		'imageId': '69504682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504684&x=2036',
		'title': '',
		'imageId': '69504684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504680&x=2036',
		'title': '',
		'imageId': '69504680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971085&docid=69504690&x=2036',
		'title': '',
		'imageId': '69504690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971085';

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