var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909563&x=110',
		'title': '',
		'imageId': '68909563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909564&x=110',
		'title': '',
		'imageId': '68909564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909578&x=110',
		'title': '',
		'imageId': '68909578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909565&x=110',
		'title': '',
		'imageId': '68909565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909558&x=110',
		'title': '',
		'imageId': '68909558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909556&x=110',
		'title': '',
		'imageId': '68909556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909577&x=110',
		'title': '',
		'imageId': '68909577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909575&x=110',
		'title': '',
		'imageId': '68909575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909571&x=110',
		'title': '',
		'imageId': '68909571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909574&x=110',
		'title': '',
		'imageId': '68909574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909569&x=110',
		'title': '',
		'imageId': '68909569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909566&x=110',
		'title': '',
		'imageId': '68909566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909579&x=110',
		'title': '',
		'imageId': '68909579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909568&x=110',
		'title': '',
		'imageId': '68909568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909570&x=110',
		'title': '',
		'imageId': '68909570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909567&x=110',
		'title': '',
		'imageId': '68909567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909573&x=110',
		'title': '',
		'imageId': '68909573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909572&x=110',
		'title': '',
		'imageId': '68909572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909576&x=110',
		'title': '',
		'imageId': '68909576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909562&x=110',
		'title': '',
		'imageId': '68909562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909559&x=110',
		'title': '',
		'imageId': '68909559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909561&x=110',
		'title': '',
		'imageId': '68909561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909560&x=110',
		'title': '',
		'imageId': '68909560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964044&docid=68909557&x=110',
		'title': '',
		'imageId': '68909557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964044';

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