var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124008&x=3935',
		'title': '',
		'imageId': '69124008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124015&x=3935',
		'title': '',
		'imageId': '69124015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124014&x=3935',
		'title': '',
		'imageId': '69124014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124012&x=3935',
		'title': '',
		'imageId': '69124012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124011&x=3935',
		'title': '',
		'imageId': '69124011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124013&x=3935',
		'title': '',
		'imageId': '69124013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124010&x=3935',
		'title': '',
		'imageId': '69124010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124025&x=3935',
		'title': '',
		'imageId': '69124025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124017&x=3935',
		'title': '',
		'imageId': '69124017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124016&x=3935',
		'title': '',
		'imageId': '69124016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124020&x=3935',
		'title': '',
		'imageId': '69124020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124026&x=3935',
		'title': '',
		'imageId': '69124026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124018&x=3935',
		'title': '',
		'imageId': '69124018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124023&x=3935',
		'title': '',
		'imageId': '69124023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124024&x=3935',
		'title': '',
		'imageId': '69124024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124021&x=3935',
		'title': '',
		'imageId': '69124021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124022&x=3935',
		'title': '',
		'imageId': '69124022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124029&x=3935',
		'title': '',
		'imageId': '69124029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124028&x=3935',
		'title': '',
		'imageId': '69124028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124019&x=3935',
		'title': '',
		'imageId': '69124019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124006&x=3935',
		'title': '',
		'imageId': '69124006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124009&x=3935',
		'title': '',
		'imageId': '69124009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124027&x=3935',
		'title': '',
		'imageId': '69124027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969238&docid=69124007&x=3935',
		'title': '',
		'imageId': '69124007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969238';

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