var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423151&x=1428',
		'title': '',
		'imageId': '68423151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423161&x=1428',
		'title': '',
		'imageId': '68423161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423153&x=1428',
		'title': '',
		'imageId': '68423153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423150&x=1428',
		'title': '',
		'imageId': '68423150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423154&x=1428',
		'title': '',
		'imageId': '68423154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423149&x=1428',
		'title': '',
		'imageId': '68423149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423145&x=1428',
		'title': '',
		'imageId': '68423145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423158&x=1428',
		'title': '',
		'imageId': '68423158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423157&x=1428',
		'title': '',
		'imageId': '68423157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423160&x=1428',
		'title': '',
		'imageId': '68423160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423163&x=1428',
		'title': '',
		'imageId': '68423163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423143&x=1428',
		'title': '',
		'imageId': '68423143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423162&x=1428',
		'title': '',
		'imageId': '68423162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423159&x=1428',
		'title': '',
		'imageId': '68423159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423152&x=1428',
		'title': '',
		'imageId': '68423152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423156&x=1428',
		'title': '',
		'imageId': '68423156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423146&x=1428',
		'title': '',
		'imageId': '68423146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423148&x=1428',
		'title': '',
		'imageId': '68423148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423147&x=1428',
		'title': '',
		'imageId': '68423147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423144&x=1428',
		'title': '',
		'imageId': '68423144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423142&x=1428',
		'title': '',
		'imageId': '68423142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943388&docid=68423155&x=1428',
		'title': '',
		'imageId': '68423155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943388';

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