var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145043&x=853',
		'title': '',
		'imageId': '69145043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145039&x=853',
		'title': '',
		'imageId': '69145039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145053&x=853',
		'title': '',
		'imageId': '69145053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145042&x=853',
		'title': '',
		'imageId': '69145042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145040&x=853',
		'title': '',
		'imageId': '69145040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145041&x=853',
		'title': '',
		'imageId': '69145041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145046&x=853',
		'title': '',
		'imageId': '69145046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145044&x=853',
		'title': '',
		'imageId': '69145044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145047&x=853',
		'title': '',
		'imageId': '69145047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145045&x=853',
		'title': '',
		'imageId': '69145045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145061&x=853',
		'title': '',
		'imageId': '69145061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145048&x=853',
		'title': '',
		'imageId': '69145048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145054&x=853',
		'title': '',
		'imageId': '69145054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145049&x=853',
		'title': '',
		'imageId': '69145049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145050&x=853',
		'title': '',
		'imageId': '69145050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145055&x=853',
		'title': '',
		'imageId': '69145055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145059&x=853',
		'title': '',
		'imageId': '69145059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145052&x=853',
		'title': '',
		'imageId': '69145052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145051&x=853',
		'title': '',
		'imageId': '69145051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145056&x=853',
		'title': '',
		'imageId': '69145056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145060&x=853',
		'title': '',
		'imageId': '69145060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145058&x=853',
		'title': '',
		'imageId': '69145058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974998&docid=69145057&x=853',
		'title': '',
		'imageId': '69145057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974998';

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