var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099280&x=4121',
		'title': '',
		'imageId': '70099280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099264&x=4121',
		'title': '',
		'imageId': '70099264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099271&x=4121',
		'title': '',
		'imageId': '70099271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099268&x=4121',
		'title': '',
		'imageId': '70099268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099262&x=4121',
		'title': '',
		'imageId': '70099262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099269&x=4121',
		'title': '',
		'imageId': '70099269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099276&x=4121',
		'title': '',
		'imageId': '70099276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099277&x=4121',
		'title': '',
		'imageId': '70099277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099273&x=4121',
		'title': '',
		'imageId': '70099273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099267&x=4121',
		'title': '',
		'imageId': '70099267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099270&x=4121',
		'title': '',
		'imageId': '70099270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099281&x=4121',
		'title': '',
		'imageId': '70099281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099265&x=4121',
		'title': '',
		'imageId': '70099265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099275&x=4121',
		'title': '',
		'imageId': '70099275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099278&x=4121',
		'title': '',
		'imageId': '70099278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099274&x=4121',
		'title': '',
		'imageId': '70099274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099279&x=4121',
		'title': '',
		'imageId': '70099279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099266&x=4121',
		'title': '',
		'imageId': '70099266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099263&x=4121',
		'title': '',
		'imageId': '70099263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=70099272&x=4121',
		'title': '',
		'imageId': '70099272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=59270515&x=4121',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012194&docid=59270516&x=4121',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012194';

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