var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691434&x=2032',
		'title': '',
		'imageId': '69691434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691439&x=2032',
		'title': '',
		'imageId': '69691439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691443&x=2032',
		'title': '',
		'imageId': '69691443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691428&x=2032',
		'title': '',
		'imageId': '69691428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691433&x=2032',
		'title': '',
		'imageId': '69691433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691431&x=2032',
		'title': '',
		'imageId': '69691431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691422&x=2032',
		'title': '',
		'imageId': '69691422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691424&x=2032',
		'title': '',
		'imageId': '69691424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691426&x=2032',
		'title': '',
		'imageId': '69691426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691425&x=2032',
		'title': '',
		'imageId': '69691425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691430&x=2032',
		'title': '',
		'imageId': '69691430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691432&x=2032',
		'title': '',
		'imageId': '69691432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691429&x=2032',
		'title': '',
		'imageId': '69691429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691435&x=2032',
		'title': '',
		'imageId': '69691435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691427&x=2032',
		'title': '',
		'imageId': '69691427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691438&x=2032',
		'title': '',
		'imageId': '69691438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691436&x=2032',
		'title': '',
		'imageId': '69691436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691437&x=2032',
		'title': '',
		'imageId': '69691437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691441&x=2032',
		'title': '',
		'imageId': '69691441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691440&x=2032',
		'title': '',
		'imageId': '69691440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691442&x=2032',
		'title': '',
		'imageId': '69691442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999257&docid=69691423&x=2032',
		'title': '',
		'imageId': '69691423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999257';

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