var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536174&x=4259',
		'title': '',
		'imageId': '69536174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536178&x=4259',
		'title': '',
		'imageId': '69536178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536179&x=4259',
		'title': '',
		'imageId': '69536179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536180&x=4259',
		'title': '',
		'imageId': '69536180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536181&x=4259',
		'title': '',
		'imageId': '69536181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536182&x=4259',
		'title': '',
		'imageId': '69536182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536183&x=4259',
		'title': '',
		'imageId': '69536183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536184&x=4259',
		'title': '',
		'imageId': '69536184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536185&x=4259',
		'title': '',
		'imageId': '69536185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536186&x=4259',
		'title': '',
		'imageId': '69536186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536187&x=4259',
		'title': '',
		'imageId': '69536187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536188&x=4259',
		'title': '',
		'imageId': '69536188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536189&x=4259',
		'title': '',
		'imageId': '69536189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536190&x=4259',
		'title': '',
		'imageId': '69536190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536191&x=4259',
		'title': '',
		'imageId': '69536191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536192&x=4259',
		'title': '',
		'imageId': '69536192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536193&x=4259',
		'title': '',
		'imageId': '69536193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536194&x=4259',
		'title': '',
		'imageId': '69536194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536195&x=4259',
		'title': '',
		'imageId': '69536195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536196&x=4259',
		'title': '',
		'imageId': '69536196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536197&x=4259',
		'title': '',
		'imageId': '69536197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536198&x=4259',
		'title': '',
		'imageId': '69536198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536199&x=4259',
		'title': '',
		'imageId': '69536199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536200&x=4259',
		'title': '',
		'imageId': '69536200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536201&x=4259',
		'title': '',
		'imageId': '69536201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536169&x=4259',
		'title': '',
		'imageId': '69536169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536170&x=4259',
		'title': '',
		'imageId': '69536170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536171&x=4259',
		'title': '',
		'imageId': '69536171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536172&x=4259',
		'title': '',
		'imageId': '69536172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536173&x=4259',
		'title': '',
		'imageId': '69536173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536202&x=4259',
		'title': '',
		'imageId': '69536202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536203&x=4259',
		'title': '',
		'imageId': '69536203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536227&x=4259',
		'title': '',
		'imageId': '69536227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536231&x=4259',
		'title': '',
		'imageId': '69536231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536234&x=4259',
		'title': '',
		'imageId': '69536234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992230&docid=69536235&x=4259',
		'title': '',
		'imageId': '69536235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992230';

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