var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001922&x=4843',
		'title': '',
		'imageId': '69001922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001923&x=4843',
		'title': '',
		'imageId': '69001923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001929&x=4843',
		'title': '',
		'imageId': '69001929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001942&x=4843',
		'title': '',
		'imageId': '69001942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001920&x=4843',
		'title': '',
		'imageId': '69001920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001926&x=4843',
		'title': '',
		'imageId': '69001926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001925&x=4843',
		'title': '',
		'imageId': '69001925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001919&x=4843',
		'title': '',
		'imageId': '69001919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001921&x=4843',
		'title': '',
		'imageId': '69001921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001924&x=4843',
		'title': '',
		'imageId': '69001924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001933&x=4843',
		'title': '',
		'imageId': '69001933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001931&x=4843',
		'title': '',
		'imageId': '69001931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001939&x=4843',
		'title': '',
		'imageId': '69001939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001935&x=4843',
		'title': '',
		'imageId': '69001935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001938&x=4843',
		'title': '',
		'imageId': '69001938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001936&x=4843',
		'title': '',
		'imageId': '69001936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001934&x=4843',
		'title': '',
		'imageId': '69001934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001941&x=4843',
		'title': '',
		'imageId': '69001941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001930&x=4843',
		'title': '',
		'imageId': '69001930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001943&x=4843',
		'title': '',
		'imageId': '69001943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001927&x=4843',
		'title': '',
		'imageId': '69001927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001937&x=4843',
		'title': '',
		'imageId': '69001937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001928&x=4843',
		'title': '',
		'imageId': '69001928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966835&docid=69001932&x=4843',
		'title': '',
		'imageId': '69001932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966835';

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