var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690231&x=5540',
		'title': '',
		'imageId': '69690231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690224&x=5540',
		'title': '',
		'imageId': '69690224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690218&x=5540',
		'title': '',
		'imageId': '69690218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690234&x=5540',
		'title': '',
		'imageId': '69690234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690239&x=5540',
		'title': '',
		'imageId': '69690239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690243&x=5540',
		'title': '',
		'imageId': '69690243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690242&x=5540',
		'title': '',
		'imageId': '69690242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690247&x=5540',
		'title': '',
		'imageId': '69690247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690184&x=5540',
		'title': '',
		'imageId': '69690184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690188&x=5540',
		'title': '',
		'imageId': '69690188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690185&x=5540',
		'title': '',
		'imageId': '69690185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690186&x=5540',
		'title': '',
		'imageId': '69690186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690187&x=5540',
		'title': '',
		'imageId': '69690187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690189&x=5540',
		'title': '',
		'imageId': '69690189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690192&x=5540',
		'title': '',
		'imageId': '69690192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690196&x=5540',
		'title': '',
		'imageId': '69690196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690213&x=5540',
		'title': '',
		'imageId': '69690213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690205&x=5540',
		'title': '',
		'imageId': '69690205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690207&x=5540',
		'title': '',
		'imageId': '69690207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690210&x=5540',
		'title': '',
		'imageId': '69690210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690199&x=5540',
		'title': '',
		'imageId': '69690199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690209&x=5540',
		'title': '',
		'imageId': '69690209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690228&x=5540',
		'title': '',
		'imageId': '69690228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999214&docid=69690225&x=5540',
		'title': '',
		'imageId': '69690225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999214';

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