var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914059&x=66',
		'title': '',
		'imageId': '69914059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914061&x=66',
		'title': '',
		'imageId': '69914061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914060&x=66',
		'title': '',
		'imageId': '69914060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914062&x=66',
		'title': '',
		'imageId': '69914062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914047&x=66',
		'title': '',
		'imageId': '69914047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914048&x=66',
		'title': '',
		'imageId': '69914048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914049&x=66',
		'title': '',
		'imageId': '69914049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914050&x=66',
		'title': '',
		'imageId': '69914050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914051&x=66',
		'title': '',
		'imageId': '69914051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914052&x=66',
		'title': '',
		'imageId': '69914052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914053&x=66',
		'title': '',
		'imageId': '69914053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914054&x=66',
		'title': '',
		'imageId': '69914054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914055&x=66',
		'title': '',
		'imageId': '69914055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914057&x=66',
		'title': '',
		'imageId': '69914057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914065&x=66',
		'title': '',
		'imageId': '69914065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914056&x=66',
		'title': '',
		'imageId': '69914056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914058&x=66',
		'title': '',
		'imageId': '69914058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914063&x=66',
		'title': '',
		'imageId': '69914063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69914064&x=66',
		'title': '',
		'imageId': '69914064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69983114&x=66',
		'title': '',
		'imageId': '69983114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69983117&x=66',
		'title': '',
		'imageId': '69983117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69983120&x=66',
		'title': '',
		'imageId': '69983120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008157&docid=69983123&x=66',
		'title': '',
		'imageId': '69983123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008157';

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