var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060039&x=5340',
		'title': '',
		'imageId': '70060039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060050&x=5340',
		'title': '',
		'imageId': '70060050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060034&x=5340',
		'title': '',
		'imageId': '70060034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060047&x=5340',
		'title': '',
		'imageId': '70060047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060038&x=5340',
		'title': '',
		'imageId': '70060038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060042&x=5340',
		'title': '',
		'imageId': '70060042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060041&x=5340',
		'title': '',
		'imageId': '70060041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060049&x=5340',
		'title': '',
		'imageId': '70060049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060037&x=5340',
		'title': '',
		'imageId': '70060037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060040&x=5340',
		'title': '',
		'imageId': '70060040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060043&x=5340',
		'title': '',
		'imageId': '70060043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060048&x=5340',
		'title': '',
		'imageId': '70060048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060045&x=5340',
		'title': '',
		'imageId': '70060045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060053&x=5340',
		'title': '',
		'imageId': '70060053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060035&x=5340',
		'title': '',
		'imageId': '70060035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060052&x=5340',
		'title': '',
		'imageId': '70060052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060036&x=5340',
		'title': '',
		'imageId': '70060036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060044&x=5340',
		'title': '',
		'imageId': '70060044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060051&x=5340',
		'title': '',
		'imageId': '70060051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060032&x=5340',
		'title': '',
		'imageId': '70060032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060033&x=5340',
		'title': '',
		'imageId': '70060033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014134&docid=70060046&x=5340',
		'title': '',
		'imageId': '70060046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014134';

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