var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421599&x=644',
		'title': '',
		'imageId': '68421599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421600&x=644',
		'title': '',
		'imageId': '68421600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421601&x=644',
		'title': '',
		'imageId': '68421601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421602&x=644',
		'title': '',
		'imageId': '68421602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421603&x=644',
		'title': '',
		'imageId': '68421603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421604&x=644',
		'title': '',
		'imageId': '68421604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421605&x=644',
		'title': '',
		'imageId': '68421605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421606&x=644',
		'title': '',
		'imageId': '68421606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421607&x=644',
		'title': '',
		'imageId': '68421607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421608&x=644',
		'title': '',
		'imageId': '68421608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421609&x=644',
		'title': '',
		'imageId': '68421609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421610&x=644',
		'title': '',
		'imageId': '68421610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421611&x=644',
		'title': '',
		'imageId': '68421611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421612&x=644',
		'title': '',
		'imageId': '68421612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421613&x=644',
		'title': '',
		'imageId': '68421613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421614&x=644',
		'title': '',
		'imageId': '68421614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421615&x=644',
		'title': '',
		'imageId': '68421615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421616&x=644',
		'title': '',
		'imageId': '68421616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421617&x=644',
		'title': '',
		'imageId': '68421617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421623&x=644',
		'title': '',
		'imageId': '68421623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421624&x=644',
		'title': '',
		'imageId': '68421624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421625&x=644',
		'title': '',
		'imageId': '68421625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943307&docid=68421626&x=644',
		'title': '',
		'imageId': '68421626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943307';

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