var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614940&x=2841',
		'title': '',
		'imageId': '69614940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614921&x=2841',
		'title': '',
		'imageId': '69614921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614924&x=2841',
		'title': '',
		'imageId': '69614924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614927&x=2841',
		'title': '',
		'imageId': '69614927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614930&x=2841',
		'title': '',
		'imageId': '69614930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614934&x=2841',
		'title': '',
		'imageId': '69614934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614937&x=2841',
		'title': '',
		'imageId': '69614937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614943&x=2841',
		'title': '',
		'imageId': '69614943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614948&x=2841',
		'title': '',
		'imageId': '69614948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614951&x=2841',
		'title': '',
		'imageId': '69614951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614954&x=2841',
		'title': '',
		'imageId': '69614954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614957&x=2841',
		'title': '',
		'imageId': '69614957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614960&x=2841',
		'title': '',
		'imageId': '69614960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614965&x=2841',
		'title': '',
		'imageId': '69614965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614968&x=2841',
		'title': '',
		'imageId': '69614968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614971&x=2841',
		'title': '',
		'imageId': '69614971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614975&x=2841',
		'title': '',
		'imageId': '69614975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614978&x=2841',
		'title': '',
		'imageId': '69614978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614981&x=2841',
		'title': '',
		'imageId': '69614981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614984&x=2841',
		'title': '',
		'imageId': '69614984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614993&x=2841',
		'title': '',
		'imageId': '69614993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69614998&x=2841',
		'title': '',
		'imageId': '69614998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615001&x=2841',
		'title': '',
		'imageId': '69615001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615004&x=2841',
		'title': '',
		'imageId': '69615004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615007&x=2841',
		'title': '',
		'imageId': '69615007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615012&x=2841',
		'title': '',
		'imageId': '69615012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615015&x=2841',
		'title': '',
		'imageId': '69615015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615018&x=2841',
		'title': '',
		'imageId': '69615018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615021&x=2841',
		'title': '',
		'imageId': '69615021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615024&x=2841',
		'title': '',
		'imageId': '69615024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615027&x=2841',
		'title': '',
		'imageId': '69615027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615030&x=2841',
		'title': '',
		'imageId': '69615030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615033&x=2841',
		'title': '',
		'imageId': '69615033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615037&x=2841',
		'title': '',
		'imageId': '69615037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973558&docid=69615040&x=2841',
		'title': '',
		'imageId': '69615040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973558';

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