var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321836&x=579',
		'title': '',
		'imageId': '70321836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321821&x=579',
		'title': '',
		'imageId': '70321821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321843&x=579',
		'title': '',
		'imageId': '70321843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321829&x=579',
		'title': '',
		'imageId': '70321829',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321820&x=579',
		'title': '',
		'imageId': '70321820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321832&x=579',
		'title': '',
		'imageId': '70321832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321838&x=579',
		'title': '',
		'imageId': '70321838',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321822&x=579',
		'title': '',
		'imageId': '70321822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321827&x=579',
		'title': '',
		'imageId': '70321827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321816&x=579',
		'title': '',
		'imageId': '70321816',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321839&x=579',
		'title': '',
		'imageId': '70321839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321830&x=579',
		'title': '',
		'imageId': '70321830',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321844&x=579',
		'title': '',
		'imageId': '70321844',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321825&x=579',
		'title': '',
		'imageId': '70321825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321837&x=579',
		'title': '',
		'imageId': '70321837',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321841&x=579',
		'title': '',
		'imageId': '70321841',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321828&x=579',
		'title': '',
		'imageId': '70321828',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321826&x=579',
		'title': '',
		'imageId': '70321826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321833&x=579',
		'title': '',
		'imageId': '70321833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321834&x=579',
		'title': '',
		'imageId': '70321834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321840&x=579',
		'title': '',
		'imageId': '70321840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321817&x=579',
		'title': '',
		'imageId': '70321817',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321846&x=579',
		'title': '',
		'imageId': '70321846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321819&x=579',
		'title': '',
		'imageId': '70321819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321842&x=579',
		'title': '',
		'imageId': '70321842',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321831&x=579',
		'title': '',
		'imageId': '70321831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024618&docid=70321835&x=579',
		'title': '',
		'imageId': '70321835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4024618';

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