var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484055&x=5929',
		'title': '',
		'imageId': '65484055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484010&x=5929',
		'title': '',
		'imageId': '65484010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484016&x=5929',
		'title': '',
		'imageId': '65484016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484127&x=5929',
		'title': '',
		'imageId': '65484127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484013&x=5929',
		'title': '',
		'imageId': '65484013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484019&x=5929',
		'title': '',
		'imageId': '65484019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484025&x=5929',
		'title': '',
		'imageId': '65484025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484062&x=5929',
		'title': '',
		'imageId': '65484062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484084&x=5929',
		'title': '',
		'imageId': '65484084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484124&x=5929',
		'title': '',
		'imageId': '65484124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484131&x=5929',
		'title': '',
		'imageId': '65484131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484134&x=5929',
		'title': '',
		'imageId': '65484134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484137&x=5929',
		'title': '',
		'imageId': '65484137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484140&x=5929',
		'title': '',
		'imageId': '65484140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484143&x=5929',
		'title': '',
		'imageId': '65484143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484146&x=5929',
		'title': '',
		'imageId': '65484146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484149&x=5929',
		'title': '',
		'imageId': '65484149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484152&x=5929',
		'title': '',
		'imageId': '65484152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484155&x=5929',
		'title': '',
		'imageId': '65484155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484158&x=5929',
		'title': '',
		'imageId': '65484158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484161&x=5929',
		'title': '',
		'imageId': '65484161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484164&x=5929',
		'title': '',
		'imageId': '65484164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484167&x=5929',
		'title': '',
		'imageId': '65484167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484170&x=5929',
		'title': '',
		'imageId': '65484170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484173&x=5929',
		'title': '',
		'imageId': '65484173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484176&x=5929',
		'title': '',
		'imageId': '65484176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484179&x=5929',
		'title': '',
		'imageId': '65484179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484182&x=5929',
		'title': '',
		'imageId': '65484182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484185&x=5929',
		'title': '',
		'imageId': '65484185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484188&x=5929',
		'title': '',
		'imageId': '65484188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484191&x=5929',
		'title': '',
		'imageId': '65484191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484194&x=5929',
		'title': '',
		'imageId': '65484194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484197&x=5929',
		'title': '',
		'imageId': '65484197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484200&x=5929',
		'title': '',
		'imageId': '65484200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484203&x=5929',
		'title': '',
		'imageId': '65484203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948164&docid=65484206&x=5929',
		'title': '',
		'imageId': '65484206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948164';

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