var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664011&x=236',
		'title': '',
		'imageId': '69664011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664019&x=236',
		'title': '',
		'imageId': '69664019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664010&x=236',
		'title': '',
		'imageId': '69664010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664027&x=236',
		'title': '',
		'imageId': '69664027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664026&x=236',
		'title': '',
		'imageId': '69664026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664024&x=236',
		'title': '',
		'imageId': '69664024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664025&x=236',
		'title': '',
		'imageId': '69664025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664031&x=236',
		'title': '',
		'imageId': '69664031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664018&x=236',
		'title': '',
		'imageId': '69664018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664030&x=236',
		'title': '',
		'imageId': '69664030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664012&x=236',
		'title': '',
		'imageId': '69664012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664023&x=236',
		'title': '',
		'imageId': '69664023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664028&x=236',
		'title': '',
		'imageId': '69664028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664015&x=236',
		'title': '',
		'imageId': '69664015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664022&x=236',
		'title': '',
		'imageId': '69664022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664029&x=236',
		'title': '',
		'imageId': '69664029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664013&x=236',
		'title': '',
		'imageId': '69664013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664032&x=236',
		'title': '',
		'imageId': '69664032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664021&x=236',
		'title': '',
		'imageId': '69664021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664016&x=236',
		'title': '',
		'imageId': '69664016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664014&x=236',
		'title': '',
		'imageId': '69664014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664020&x=236',
		'title': '',
		'imageId': '69664020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998353&docid=69664017&x=236',
		'title': '',
		'imageId': '69664017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998353';

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