var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608024&x=5626',
		'title': '',
		'imageId': '69608024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608021&x=5626',
		'title': '',
		'imageId': '69608021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608027&x=5626',
		'title': '',
		'imageId': '69608027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608028&x=5626',
		'title': '',
		'imageId': '69608028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608037&x=5626',
		'title': '',
		'imageId': '69608037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608033&x=5626',
		'title': '',
		'imageId': '69608033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608022&x=5626',
		'title': '',
		'imageId': '69608022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608039&x=5626',
		'title': '',
		'imageId': '69608039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608036&x=5626',
		'title': '',
		'imageId': '69608036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608035&x=5626',
		'title': '',
		'imageId': '69608035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608029&x=5626',
		'title': '',
		'imageId': '69608029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608025&x=5626',
		'title': '',
		'imageId': '69608025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608026&x=5626',
		'title': '',
		'imageId': '69608026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608023&x=5626',
		'title': '',
		'imageId': '69608023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608032&x=5626',
		'title': '',
		'imageId': '69608032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608034&x=5626',
		'title': '',
		'imageId': '69608034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608031&x=5626',
		'title': '',
		'imageId': '69608031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608030&x=5626',
		'title': '',
		'imageId': '69608030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608042&x=5626',
		'title': '',
		'imageId': '69608042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608040&x=5626',
		'title': '',
		'imageId': '69608040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608020&x=5626',
		'title': '',
		'imageId': '69608020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608038&x=5626',
		'title': '',
		'imageId': '69608038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995080&docid=69608041&x=5626',
		'title': '',
		'imageId': '69608041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3995080';

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