var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595215&x=4945',
		'title': '',
		'imageId': '67595215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595216&x=4945',
		'title': '',
		'imageId': '67595216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595217&x=4945',
		'title': '',
		'imageId': '67595217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595218&x=4945',
		'title': '',
		'imageId': '67595218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595219&x=4945',
		'title': '',
		'imageId': '67595219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595220&x=4945',
		'title': '',
		'imageId': '67595220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595221&x=4945',
		'title': '',
		'imageId': '67595221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595222&x=4945',
		'title': '',
		'imageId': '67595222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595223&x=4945',
		'title': '',
		'imageId': '67595223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595224&x=4945',
		'title': '',
		'imageId': '67595224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595225&x=4945',
		'title': '',
		'imageId': '67595225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595226&x=4945',
		'title': '',
		'imageId': '67595226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595227&x=4945',
		'title': '',
		'imageId': '67595227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595228&x=4945',
		'title': '',
		'imageId': '67595228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595229&x=4945',
		'title': '',
		'imageId': '67595229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595230&x=4945',
		'title': '',
		'imageId': '67595230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595231&x=4945',
		'title': '',
		'imageId': '67595231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595232&x=4945',
		'title': '',
		'imageId': '67595232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595233&x=4945',
		'title': '',
		'imageId': '67595233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595234&x=4945',
		'title': '',
		'imageId': '67595234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595235&x=4945',
		'title': '',
		'imageId': '67595235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595236&x=4945',
		'title': '',
		'imageId': '67595236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595237&x=4945',
		'title': '',
		'imageId': '67595237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908291&docid=67595238&x=4945',
		'title': '',
		'imageId': '67595238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3908291';

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