var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878369&x=2436',
		'title': '',
		'imageId': '69878369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878376&x=2436',
		'title': '',
		'imageId': '69878376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878386&x=2436',
		'title': '',
		'imageId': '69878386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878380&x=2436',
		'title': '',
		'imageId': '69878380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878387&x=2436',
		'title': '',
		'imageId': '69878387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878390&x=2436',
		'title': '',
		'imageId': '69878390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878399&x=2436',
		'title': '',
		'imageId': '69878399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878393&x=2436',
		'title': '',
		'imageId': '69878393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878398&x=2436',
		'title': '',
		'imageId': '69878398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878419&x=2436',
		'title': '',
		'imageId': '69878419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878423&x=2436',
		'title': '',
		'imageId': '69878423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878404&x=2436',
		'title': '',
		'imageId': '69878404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878367&x=2436',
		'title': '',
		'imageId': '69878367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878420&x=2436',
		'title': '',
		'imageId': '69878420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878405&x=2436',
		'title': '',
		'imageId': '69878405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878408&x=2436',
		'title': '',
		'imageId': '69878408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878413&x=2436',
		'title': '',
		'imageId': '69878413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878428&x=2436',
		'title': '',
		'imageId': '69878428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878414&x=2436',
		'title': '',
		'imageId': '69878414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878370&x=2436',
		'title': '',
		'imageId': '69878370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878381&x=2436',
		'title': '',
		'imageId': '69878381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878368&x=2436',
		'title': '',
		'imageId': '69878368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878371&x=2436',
		'title': '',
		'imageId': '69878371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006856&docid=69878372&x=2436',
		'title': '',
		'imageId': '69878372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006856';

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