var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855021&x=4451',
		'title': '',
		'imageId': '67855021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855030&x=4451',
		'title': '',
		'imageId': '67855030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855015&x=4451',
		'title': '',
		'imageId': '67855015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855022&x=4451',
		'title': '',
		'imageId': '67855022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855024&x=4451',
		'title': '',
		'imageId': '67855024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855011&x=4451',
		'title': '',
		'imageId': '67855011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855014&x=4451',
		'title': '',
		'imageId': '67855014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855012&x=4451',
		'title': '',
		'imageId': '67855012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855016&x=4451',
		'title': '',
		'imageId': '67855016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855017&x=4451',
		'title': '',
		'imageId': '67855017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855027&x=4451',
		'title': '',
		'imageId': '67855027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855019&x=4451',
		'title': '',
		'imageId': '67855019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855018&x=4451',
		'title': '',
		'imageId': '67855018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855031&x=4451',
		'title': '',
		'imageId': '67855031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855033&x=4451',
		'title': '',
		'imageId': '67855033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855029&x=4451',
		'title': '',
		'imageId': '67855029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855026&x=4451',
		'title': '',
		'imageId': '67855026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855023&x=4451',
		'title': '',
		'imageId': '67855023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855032&x=4451',
		'title': '',
		'imageId': '67855032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855025&x=4451',
		'title': '',
		'imageId': '67855025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855020&x=4451',
		'title': '',
		'imageId': '67855020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855013&x=4451',
		'title': '',
		'imageId': '67855013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909192&docid=67855028&x=4451',
		'title': '',
		'imageId': '67855028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909192';

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